mirror of
https://github.com/nodnarbnitram/claude-code-extensions.git
synced 2026-09-14 18:36:21 +08:00
8269ca9110
Materialize self-contained agent, skill, command, and hook directories under each plugin so marketplace installs no longer depend on the repo root. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
107 lines
2.1 KiB
JSON
107 lines
2.1 KiB
JSON
{
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/pre_tool_use.py"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/post_tool_use.py"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Edit|MultiEdit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/lint/check.py"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Notification": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/notification.py --notify"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/discord_notification.py"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/stop.py --chat"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/discord_notification.py --emoji \u2705"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SubagentStop": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/subagent_stop.py"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"UserPromptSubmit": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/user_prompt_submit.py --log-only"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreCompact": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/pre_compact.py"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/session_start.py"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|