mirror of
https://github.com/anthropics/claude-code.git
synced 2026-05-21 11:02:41 +00:00
Adds a new plugin that transforms plain Slack forwarded message blocks into visually distinctive formatted boxes using Unicode box-drawing characters. Before: [Forwarded Message] From: Felix Klock Message: Here is some text... After: ╔════════════════════════════════════════════════════════════════════╗ ║ FORWARDED MESSAGE ║ ╠════════════════════════════════════════════════════════════════════╣ ║ From: Felix Klock ║ ╟────────────────────────────────────────────────────────────────────╢ ║ Here is some text... ║ ╚════════════════════════════════════════════════════════════════════╝ The plugin uses a UserPromptSubmit hook to intercept prompts containing [Forwarded Message] blocks and reformats them for better visual distinction. https://claude.ai/code/session_01YNRC6p2gAMSQZPX2NGK5F1
15 lines
250 B
JSON
15 lines
250 B
JSON
{
|
|
"UserPromptSubmit": [
|
|
{
|
|
"matcher": ".*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/format_slack_quotes.py",
|
|
"timeout": 5000
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|