Home / Claude Code mods / Interface / bash-quoting-rescue

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.

Updated 2026-10-12

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.

TypeClaude code mod
Authorseanrobertwright
Repositoryseanrobertwright/claude-mods
Popularity3 GitHub stars
CategoryInterface
SecurityLow risk (80/100)
Rank#980 of 5,272 Claude Code mods; #380 in Interface
Last commit2026-10-12
Stars this week+2
Hooks1 events
Sees/"^(Bash|PowerShell)$"/ calls
Draws onnothing

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.process.runruns processes
$.session.surfaces

How do I install bash-quoting-rescue?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)