npx claudepluginhub gebl/anvil-skill-marketplace --plugin claude-visDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/scripts/stop.py",
"timeout": 5
}
]
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/scripts/session_end.py",
"timeout": 30
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/scripts/post_tool_use.py",
"timeout": 5
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/scripts/session_start.py",
"timeout": 10
}
]
}
]
}"Runs Python scripts on SessionStart, PostToolUse, Stop, and SessionEnd events to automate session lifecycle tasks. Uses command hooks with timeouts, no bash or file writes."