right-tool 0.1.0
Stop Claude using cat, grep, find, and sed in Bash when the Read, Grep, and Glob tools fit. Each redirected call saves a permission prompt and keeps raw shell output out of context.
Install
/plugin marketplace add MDmubarak786/claude-mods /plugin install right-tool@modhub
Run both lines inside Claude Code.
Hooks into
- Tool calls
- Slash commands
Also in MDmubarak786/claude-mods
- big-output 0.1.0 Keep huge shell output out of the context window. A Bash result over a threshold is saved to a file and Claude gets its head and tail plus a slice tool to grep or page the rest on demand. 0
- circuit-breaker 0.1.0 Stop Claude from retrying the same failing shell command over and over. After N identical failures the next attempt is held, and you choose: stop, or try once more. 0
- copy-last 0.1.0 Copy Claude's last reply, or its last code block, to the clipboard as clean Markdown with /copy, with no terminal indentation or trailing spaces. 0
- ding 0.1.0 Play a sound and post a desktop notification when Claude finishes a turn or needs you to answer a question or a permission prompt. 0
- fence 0.1.1 Limit which paths Claude may edit in a project with one /fence command. Edits outside the fence are refused with a reason Claude can act on. 0
- mcp-diet 0.1.0 Choose which MCP tools and subagent types Claude sees, per project. A pane lists every server and tool with the size of its description; defer or hide the ones this repo never needs and stop paying for them on every request. 0
- memory-lint 0.1.0 Know whether your auto-memory index loaded whole. Reports the index's size against a limit you set at every session start, names the entries past the cut, and warns when a session pushes it over. 0
- pins 0.1.0 Pin instructions that survive compaction, /clear, and restarts. /pin saves a rule for this project and every prompt carries the pinned list as context Claude reads. 0
- pkg-guard 0.1.1 Hold npm, pnpm, yarn, pip, uv, and cargo installs of packages that don't exist, are brand new, or are barely downloaded, with the registry facts in the question. Catches hallucinated and typosquat packages before they land. 0
- red-green 0.1.1 Run the project's tests after any turn that edited files, print pass or fail under Claude's answer, and send the failure back to Claude with one /fix command. 0
More guardrails mods
- blast-radius 0.1.0 See what a risky command would change before it runs. 245.8k
- agents-md 0.1.0 AGENTS.md as project instructions, by one option. Under claude-md-or-agents-md a project with no instruction files of its own gets its AGENTS.md files instead: a prompt.context hook asks $.fs.ancestors for every AGENTS.md and .claude/AGENTS.md from the filesystem root down to the working director... 149.7k
- ruflo-rvf 0.3.5 mod + skill RVF format for portable agent memory, session persistence, and cross-platform transfer. As a mod (ADR-445): a write guard that keeps secrets out of memory, sessions and transfers, /rvf-mod, and a status file the console shows 74.2k
- openviking-memory 0.7.6 mod + skill Long-term semantic memory for Claude Code, powered by OpenViking. Auto-recall relevant memories at session start and capture important information during conversations. 39.5k
- tool-timing-badge 0.2.0 Times every tool call and wraps the engine's ToolUse rendering with a colored duration badge from the surface's own element table, on the terminal, Desktop and mobile. Hooks tool.call and ui.render using JSX. 32.5k