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 secondskyv3.12.0MITIn 1 marketplace
Chain shell commands, run them in parallel, and avoid Bash tool timeouts, truncated output and hanging prompts. Its PreToolUse guard hook example is set up manually in settings.json.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Status: Production Ready ✅ Last Updated: 2025-11-07 Production Tested: wordpress-auditor, claude-skills, multiple client projects
Comprehensive knowledge for using Claude Code's Bash tool effectively, including CLI orchestration, hooks automation, security configurations, and error prevention. This is a meta-skill that teaches how to work with command-line tools in Claude Code.
✅ CLI Tool Orchestration: Sequential, parallel, and conditional command patterns ✅ Git Workflow Automation: Intelligent commits, PR creation, branch management ✅ Hooks Configuration: PreToolUse, PostToolUse, SessionStart automation ✅ Security Guards: Dangerous command blocking, audit logging, allowlisting ✅ Custom Commands: Create reusable workflows in .claude/commands/ ✅ Multi-CLI Integration: gh, wrangler, npm, docker, terraform, etc. ✅ Error Prevention: 12 documented issues with sources ✅ Session Management: Environment persistence, output handling
| Issue | Why It Happens | Source | How Skill Fixes It |
|---|---|---|---|
| cygpath command not found | MSYS/Git Bash lacks Cygwin tools | Issue #9883 | Use WSL or configure CLAUDE_CODE_GIT_BASH_PATH |
| Pipe command failures | Pipe parsing issues | Issue #774 | Use bash -c wrapper or specialized tools |
| Command timeout | Long operations without timeout config | Bash tool docs | Set explicit timeout parameter (up to 10 min) |
| Output truncation | Output exceeds 30k char limit | Bash tool docs | Limit with head or save to file |
| "No suitable shell" | Windows shell detection | Issue #3461 | Set SHELL env var, use WSL |
| Bash access loss | Session state corruption | Issue #1888 | Restart session or use restart: true |
| Interactive prompt hangs | Command expects input | Bash tool docs | Use --yes flags or provide stdin |
| Permission denied | Script not executable | Common pattern | chmod +x before execution |
| Env vars not persisting | Agent thread CWD reset | Claude Code system | Chain commands or use SessionStart hook |
| Pre-commit hook issues | Hook modifies staged files | Git workflow pattern | Check authorship, amend or new commit |
| Wildcard allowlist fails | Syntax mismatch | Issue #462 | Use correct pattern syntax |
| Dangerous commands | No guardrails | Security best practice | Implement PreToolUse guard hook |
# Install hook script
mkdir -p ~/.claude/hooks
# (Copy dangerous-command-guard.py from this skill's scripts/ directory)
chmod +x ~/.claude/hooks/dangerous-command-guard.py
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 secondsky/claude-skills --plugin claude-code-bash-patternsPlugins from other owners that cover similar ground