npx claudepluginhub manmartgarc/negent --plugin negentDefined in hooks/hooks.json
{
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/sync.sh push --quiet"
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/sync.sh push && ${CLAUDE_PLUGIN_ROOT}/scripts/sync.sh pull",
"statusMessage": "Syncing negent..."
}
]
}
]
}"Runs a Node.js script on SessionStart and SessionEnd to handle session lifecycle events. Uses command type hooks with 5s timeout, no bash or file writes."