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 fubits1v0.11.1MITIn 1 marketplace
Optional Bash-tool and workflow enforcement hooks for the agent plugin: no-bash (route Bash file-read/search to dedicated tools), no-absolute-paths, force-plan-mode, an auto-formatter, no-honest (Stop-event evidence-over-vouching nudge), no-idle-wait (Stop-event nudge to keep working while background tasks run), and no-tmp (blocks scratch files in the temp directory). Install to opt into enforcement. Requires agent@ronin-skills for the skills these hooks reference.
Run automatically on Claude Code events. Claude doesn't decide.
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.
Optional enforcement hooks for the agent plugin. Installing this plugin opts
you into enforcement; installing agent alone gives the skills with no global side effects.
Part of the ronin-skills marketplace.
Global once installed. These hooks fire in every project on the machine (user scope), not just one repo. A bug in a Bash hook affects every project at once. Install only if you want that enforcement everywhere.
All Node, cross-OS. Every hook runs on Node and works on every OS Claude Code supports (native Windows included) — they need only
nodeonPATH, nojq/bash. All but one use only the Node standard library; the auto-formatter (fix-formatting.mjs) shells out tonpx prettier/markdownlint-cli2—npxships with Node and fetches those formatters on demand (they are NOT bundled). A plugin shell hook can't run on native Windows (#18610), which is why none remain.
| Hook | Trigger | What it does |
|---|---|---|
no-bash.mjs | PreToolUse (Bash) | Hard-blocks Bash file-read/search tools (grep/egrep/fgrep/rg/cat/head/tail/find/awk/wc/perl, sed -n reads), cat > file heredocs, and mutating git, plus their shell-out bypass vectors, checking each segment of compound commands so nothing rides along. Also blocks gratuitous command chaining (&&/||/;), forcing one command per call. Routes the agent to dedicated tools (fff MCP, Grep / Read / Glob / Write, jq). Zero-dependency cross-OS Node (Windows included). Rationale + sources: hooks/no-bash.md. |
force-plan-mode.mjs | UserPromptSubmit | Detects /plan, "make a plan", etc. and injects a directive forcing EnterPlanMode as the next tool call. |
no-absolute-paths.mjs | PreToolUse (Bash) | Blocks Bash calls that prepend the project-root absolute path (or ~-form / $HOME-form) to commands. Keeps permissions.allow clean. |
fix-formatting.mjs | PostToolUse (Write|Edit) | Auto-formats edited files via Prettier (non-Markdown) or markdownlint (.md). Silent on success. |
no-honest.mjs | Stop | Non-blocking nudge: if any message this turn says honest or honestly (the agent vouching for its own truthfulness instead of showing proof), injects additionalContext to show evidence next time. Advisory — the enforceable rule lives in agent:discipline; decision:block is avoided (it crashes Opus 4.x thinking sessions → 400). Zero-dependency Node; bounded read, flat ~28 ms; loop-guarded. Rationale + research: hooks/no-honest.md. |
no-idle-wait.mjs | Stop | If the Stop input lists background_tasks with status running, returns additionalContext, which continues the turn once: take the next independent task instead of ending the turn idle (backs the agent:discipline background-work rule). Silent when nothing runs; loop-guarded by stop_hook_active. Zero-dependency Node. |
no-tmp.mjs | PreToolUse (Bash|Write|Edit|NotebookEdit) | Blocks scratch work in the temp directory: Bash commands that name /tmp, /private/tmp, /var/tmp, $TMPDIR, $TEMP, $TMP, %TEMP%, %TMP% or the OS temp dir, and Write/Edit/NotebookEdit paths inside a temp dir. Files there are out of the user's sight; the message tells the agent to use a folder the user can browse, or ask where. The Read tool stays allowed. Also blocks Claude Code's session scratchpad, which lives under the temp dir; set CLAUDE_CODE_TMPDIR to a visible folder to move it out. Zero-dependency Node. |
A SessionStart hook also injects a directive to invoke the agent:discipline skill at the
start of every session.
agent pluginThese hooks reference agent skills: the SessionStart directive invokes agent:discipline,
force-plan-mode.mjs drives the agent:plan flow, and no-honest.mjs's nudge points at
agent:discipline. Install agent first. Without it the hooks still block correctly,
but the directives reference skills you won't have.
/plugin install agent --marketplace fubits1/ronin-skills
/plugin install hooks --marketplace fubits1/ronin-skills
/reload-plugins
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 fubits1/ronin-skills --plugin hooksPlugins from other owners that cover similar ground