Event Hooks
Community

byt8

6 events · 6 hooks

Install
1
Install the plugin
$
npx claudepluginhub byteagenten/byteagenten-marketplace --plugin byt8

Want just this hook?

Then install: npx claudepluginhub u/[userId]/[slug]

Risk Indicators
Executes bash commands
Source

Defined in hooks/hooks.json

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/wf_engine.sh"
        }
      ],
      "description": "Workflow Engine - Phase Validation & Auto-Commit"
    }
  ],
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/guard_git_push.sh"
        }
      ],
      "matcher": "Bash",
      "description": "Guard: Block git push/PR during active workflow without user approval"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/session_recovery.sh"
        }
      ],
      "description": "Context Recovery after Context Overflow"
    }
  ],
  "SubagentStop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/subagent_done.sh"
        }
      ],
      "description": "Subagent Output Validation"
    }
  ],
  "SubagentStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/subagent_start.sh"
        }
      ],
      "description": "Subagent Start Notification"
    }
  ],
  "UserPromptSubmit": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/wf_user_prompt.sh"
        }
      ],
      "description": "Workflow Context Injection - injects phase status and rollback rules into Claude's context"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": true,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 6
  },
  "eventStats": {
    "Stop": 1,
    "PreToolUse": 1,
    "SessionStart": 1,
    "SubagentStop": 1,
    "SubagentStart": 1,
    "UserPromptSubmit": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 6,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 6
  }
}
Stats
Stars0
Forks0
Last CommitJan 30, 2026

Similar Hooks