What is bash-quoting-rescue?
bash-quoting-rescue is a Claude Code mod by seanrobertwright that before a shell command runs, parses it with the shell's own parser and refuses one that does not parse, such as an unclosed quote or heredoc, so none of it runs. It is listed under Interface and has 3 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | seanrobertwright |
| Repository | seanrobertwright/claude-mods |
| Popularity | 3 GitHub stars |
| Category | Interface |
| Security | Low risk (80/100) |
| Rank | #980 of 5,272 Claude Code mods; #380 in Interface |
| Last commit | 2026-10-12 |
| Stars this week | +2 |
| Hooks | 1 events |
| Sees | /"^(Bash|PowerShell)$"/ calls |
| Draws on | nothing |
Is bash-quoting-rescue safe to install?
bash-quoting-rescue scores 80/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 5 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.process.run | runs processes |
$.session.surfaces |
How do I install bash-quoting-rescue?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/seanrobertwright/claude-mods claude plugin validate ./claude-mods/mods/bash-quoting-rescue
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add seanrobertwright/claude-mods && claude plugin install bash-quoting-rescue@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs bash-quoting-rescue for you:
Install the "bash-quoting-rescue" Claude Code mod from https://github.com/seanrobertwright/claude-mods/tree/main/mods/bash-quoting-rescue. Run claude plugin validate on it first and show me what it can access before you enable it.
More from seanrobertwright/claude-mods
This repository has at least 9 Claude Code mods on MCPMods.
- archon-panel: An Archon pane in the side panel: this project's workflow runs, their graphs and logs, and the approvals that wait on yo (High risk)
- auto-resume: When a turn dies on a rate limit (or an overloaded API), counts down to the reset and sends "continue" for you. (Review before installing)
- branch-guard: Before Claude commits or pushes on the default branch, asks you whether to create a branch first. (Low risk)
- chrome-tab-self-heal: When a Claude in Chrome tool says its tab is gone, tells Claude to fetch the current tab IDs before trying again. (Low risk)
- dev-server-manager: A pane of the project's dev servers: start, restart and watch them, and fill a crash's error into the prompt. (Review before installing)
- env-guard: Asks you before Claude reads a .env or key file, and refuses when no one is there to answer. (Low risk)
- github-panel: A GitHub pane in the side panel: the repo's open pull requests and issues; click one to open it in the browser, or fill (Low risk)
- hud: Two coloured, animated lines under the prompt, every figure named: model, effort, context window, rate limits, turn time (Low risk)