Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By lasswelltv0.2.0MITIn 1 marketplace
Optional Claude Mod for blitz: keeps blitz agents off haiku and out of agent teams, keeps blitz critics read-only by agent id, and shows plan progress in the status line. An add-on to blitz's bash hooks, never a replacement.
Code that runs inside Claude Code on every session, as you, unsandboxed.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it decides whether tool calls may run; sees, changes or blocks tool calls; writes files; reads files.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Optional Claude Mod for the blitz plugin. It adds checks that a shell hook cannot make, on top of blitz's bash hooks, which stay the baseline.
| Event | What it does |
|---|---|
agent.spawn | Refuses a blitz:* agent that would start as an agent-team teammate (it would lose its skills preload and could not be resumed). Moves a blitz:* agent named on haiku to its routing default (agents.reference.md §11); a workflow agent, whose spawn cannot be rewritten, is refused and the skill falls back to its Agent() path. |
tool.check | Inside a blitz:critic, blitz:research-critic or blitz:design-critic loop (matched by agentId), refuses Write/Edit/MultiEdit/NotebookEdit and shell that writes: git writes, rm/mv/cp, in-place edits, package installs, redirection outside /tmp and /dev/null, `tasks.sh init |
tool.call on Agent | Raises a blitz:dev, blitz:test-writer or blitz:critic call made below medium effort to medium (the Agent tool's effort is rewritable here; agent.spawn has no effort field). An absent effort is left to the agent file's effort:. Workflow agents do not pass through this hook. |
turn.complete | Appends each subagent run's final token counts to .cc-sessions/agent-usage.mod.jsonl. blitz's SubagentStop hook prices runs from their transcripts, whose output counts are streaming snapshots; the dashboard uses these final counts where they exist. |
| status line | blitz <slug> 3/7 · T-004 running · 1 blocked from the newest unfinished docs/plans/*/tasks.json, refreshed after each scripts/tasks.sh call. |
/plugin install blitz-guard@blitz
Requires Claude Code 2.1.287 or later (mods); blitz itself requires 2.1.296.
--bare, --safe-mode and disableAllHooks switch it off. The shell checks match command text: they unwrap sh -c and refuse eval and variable-led commands, and refuse running files from temp directories, but the commands a plan itself declares (a task's verify[] through tasks.sh, npm run build) can still write, by design. blitz's bash hooks, the permission rules, auto mode and the sandbox remain the layers that hold.agent() options cannot be rewritten), and the floor relies on Claude Code honouring a rewritten effort, which the plugin test confirms reaches the engine but no live run has confirmed takes effect.claude plugin validate mods/blitz-guard
claude plugin test mods/blitz-guard
claude --plugin-dir ./mods/blitz-guard # one session, hot-reloads on save
hooks/policy.ts holds every rule as a pure function; hooks/register.ts wires them to events.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub lasswellt/blitz-cc --plugin blitz-guard