Blocks your Claude Code agent's wrong moves before they land.
Chock policies as installable Claude Code plugins — each says whether it enforces in your client or advises.
An agent you're running can already touch your shell, your git history, and your CI config.
You want it to move fast without being the reason a stray rm -rf or a force-push actually
happens. Telling it to be careful in a prompt is not a guarantee; a plugin that can refuse
the command is closer to one — and it should be honest about which of those two it is.
This marketplace: no chock on the machine. Each policy is its own plugin, republished with every chock release. You need Python 3.11+, git and a bash (Git for Windows includes one).
# Claude Code
/plugin marketplace add open-coder-ai/chock-claude-plugins
/plugin install block-destructive-commands@chockThe Claude plugin format is also read natively by GitHub Copilot CLI, VS Code, and Grok Build, so this repository works there too.
The builder: one plugin, needs chock. Pick the policies you want and the client you run
at https://chock.sh/coding/builder/; it gives you one command that builds them into a
single plugin on your machine. That command needs pip install chock:
pip install chock
chock install --selection <code> --apply<code> is the selection the builder shows you.
Use one route for a given policy, never both. Every copy of a plugin runs its own hook,
so a policy installed from both places runs twice. To switch a policy from one route to the
other, uninstall it first (claude plugin uninstall <id>@chock; to drop the marketplace
too, claude plugin marketplace remove chock).
Each link opens the builder with that one policy preselected for Claude Code. The links pin
chock-catalog at commit e885f918a335e20dfddb4fad0331d4d5b4c5eb43; the builder lets you add
more policies and shows the catalog version it builds from.
Every file here is compiled from policy sources in chock-catalog by chock. Pull requests against this repository are closed automatically — open them against the catalog instead.
- Generated only: CI regenerates from the pinned catalog and fails on any difference.
- Byte-identical guards: each guard script is a verbatim copy of its policy's source in the catalog, and the hook adapter a verbatim copy of its framework source.
- Best-effort, not a boundary: guards are pattern-based filters; see SECURITY.md.
- This README is hand-written, as are
SECURITY.mdand the workflows under.github/, so they sit outside the generated-only guarantee.
| agentseam | the primitives — one handler API and a verified capability matrix across 16 agents |
| chock | the compiler — one policy into git hooks, CI gates and native pre-tool hooks |
| chock-catalog | the policies — 42, each labelled enforced or advisory, with replayed evals |
| context-report | the evidence — a signed report of whether an agent artifact actually works |
| chock-threat-intel | the threat ledger the catalog's policies answer to |
| chock-{claude,cursor,copilot,codex}-plugins | the catalog, packaged for each agent's plugin format (generated) |
| chock-quickstart · chock-example | template repos: what chock init leaves behind, and a full adoption |
Apache-2.0, same as the framework and the catalog.
