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 draylinev6.2.0Apache-2.0In 1 marketplace
Designs Claude Code environments and remediates repository setup problems. Opt-in hooks, off until a repo adds .claude/rootnode-gates.json, can block edits under migrations/ and, in enforce mode, hold a stop until tests pass.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits 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.
rootnode-code designs and maintains Claude Code environments. It is part of root.node, distributed through the rootnode marketplace in drayline/rootnode-skills.
cc-designrepo-hygieneIn Claude Code these list as /rootnode-code:<skill>.
The plugin carries a migration guard and a test-evidence Stop gate, plus a SessionStart hook that records where the Stop gate starts from. They work best with jq on your PATH. Plugin hooks run wherever the plugin loads, chat sessions that open a repository included, so both gates are off until a repository asks for them.
Opt in per repository. A gate acts only in a git repository whose root holds .claude/rootnode-gates.json with that gate's section. Without the file or the section, the hook exits 0 and writes nothing. cc-design adds the file when it designs an environment that wants a gate.
{
"version": 1,
"verify": {
"mode": "watch",
"command": "npm test",
"surfaces": ["local"],
"max_blocks_chain": 2,
"max_blocks_session": 4
},
"migrations_guard": { "enabled": true }
}
verify). When the session starts, the plugin records a fingerprint of the repository: HEAD, git status, git diff HEAD, and the contents of untracked files. When Claude tries to stop, the gate does nothing if the fingerprint is unchanged, so a turn that only answers passes. If the tree changed, including by a commit or a push, it looks for passing test evidence recorded for the tree as it now stands. Its block message names the repository, the reason, and the command to run: bash "<plugin>/scripts/record-test-evidence.sh" "<repo root>" "<evidence file>". That script runs verify.command at the repository root and records the result with the fingerprint. Evidence goes stale when the tree changes again; there is no clock.mode defaults to watch: the gate logs each stop it would have blocked and never blocks. Set "mode": "enforce" once the log shows it acting on the right turns. In enforce mode it sends Claude back at most max_blocks_chain times in one stop chain (default 2, never above CLAUDE_CODE_STOP_HOOK_BLOCK_CAP, default 8) and max_blocks_session times in a session (default 4), then releases the stop and logs the release.surfaces defaults to ["local"]. Add "remote" to gate cloud sessions (CLAUDE_CODE_REMOTE=true) too, for a repository whose tests can run there."evidence": {"path": ".claude/state/last-verify.json", "pass_field": "pass"}; command is then optional. The file passes only when it carries a fingerprint field for the current tree, which record-test-evidence.sh writes.migrations_guard). With "enabled": true and jq, it blocks Claude's file edits under any migrations/ folder, and shell delete or move commands that name one. It also blocks find commands that delete or run a command over one, find . -delete and similar with no name filter, and any delete, move, or find command with a wildcard that could match one, including rm * and a read-only find . -name '*'. Without jq it does no parsing: it blocks any call to the five tools it gates — Edit, Write, NotebookEdit, Bash, and PowerShell — whose hook input contains migrations in any case, and tells you to install jq.jq, a cp or shell redirect into migrations/, a piped delete such as ls migrations | xargs rm, and a script that deletes all pass; without jq these are blocked, but wildcards and quote-split names such as mig''rations pass. A script that deletes passes either way. A repository that needs a guarantee should add the Edit deny rule "permissions": { "deny": ["Edit(migrations/**)"] } and sandbox.filesystem.denyWrite.CLAUDE_PLUGIN_DATA), never in your repository. One log, gates/gate.log there, records every block, would-be block, release, and guard block. bash "<plugin>/scripts/gate-status.sh" --state "<plugin data folder>" [repo root] prints the counts per gate and the last five log lines.git does nothing. Without jq the Stop gate is inactive and says so on stderr. The baseline is taken when the session starts, or at the first stop in a repository the session entered later, so edits made there before that stop are not gated.7-day copy clicks
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.
Plugins from other owners that cover similar ground
npx claudepluginhub drayline/rootnode-skills --plugin rootnode-code