Install
1
Install the plugin$
npx claudepluginhub dsifry/metaswarm-marketplace --plugin metaswarmWant just this hook?
Add to a custom plugin, then install with one command.
Source
Defined in hooks/hooks.json
Configuration
{
"PreCompact": [
{
"hooks": [
{
"type": "command",
"async": false,
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh"
}
],
"matcher": ""
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"async": false,
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh"
}
],
"matcher": "startup|resume|clear|compact"
}
]
}Summary
{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 2
},
"eventStats": {
"PreCompact": 1,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 2,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 2
}
}Stats
Stars132
Forks13
Last CommitFeb 26, 2026
Actions