pr3m

12 mods across 1 repository, 1 stars between them.

bash-smart-approve

02

pr3m/claude-code-bash-smart-approve

Plugin Claude Code

Auto-approves Claude Code Bash commands via AST-based allowlist. Handles pipes, subshells, compound commands, and env-var prefixes that literal Bash(...) prefix rules can't match.

1 4mo ago A tokens not measured original MIT

PreToolUse

03

pr3m/claude-code-bash-smart-approve

Hook

Runs before the agent uses a tool for Bash tool calls, executing approve.js via node. From pr3m/claude-code-bash-smart-approve.

1 4mo ago A tokens not measured copy · 58% MIT

pr3m/claude-code-bash-smart-approve

Skill Claude CodeCodex

Add a bash command pattern to the bash-smart-approve allowlist. Use when the user says "always allow this", "stop asking me about that", "whitelist this pattern", or similar phrases after a Bash permission prompt.

1 4mo ago A 53 tokens original MIT

pr3m/claude-code-bash-smart-approve

Skill Claude CodeCodex

Parse existing Claude Code Bash(...) allow rules from settings.json files and convert them into bash-smart-approve config. Use when user says "import my existing rules", "migrate my allowlist", "read my settings", or during first-time install.

1 4mo ago D 57 tokens original MIT

pr3m/claude-code-bash-smart-approve

Skill Claude CodeCodex

One-shot installer for bash-smart-approve. Use when the user says "install bash-smart-approve", "set it up", "wire up the hook", "get me started", or after cloning the repo for the first time.

1 4mo ago C 54 tokens original MIT

pr3m/claude-code-bash-smart-approve

Skill Claude CodeCodex

Show the current bash-smart-approve config — merged user + project layers. Use when user says "show my bsa config", "list rules", "what's allowed", "show bash-smart-approve settings".

1 4mo ago A 49 tokens original MIT

pr3m/claude-code-bash-smart-approve

Skill Claude CodeCodex

Remove a binary, domain, or path from the bash-smart-approve allowlist. Use when user says "remove X from allowlist", "stop allowing Y", "drop this rule", "/bash-smart-approve:remove ...".

1 4mo ago A 54 tokens original MIT

pr3m/claude-code-bash-smart-approve

Skill Claude CodeCodex

Health check for bash-smart-approve — is shfmt installed, is the hook wired, is the plugin enabled, what's the recent activity. Use when user says "is bsa working", "bash-smart-approve status", "check the hook", "/bash-smart-approve:status".

1 4mo ago B 65 tokens original MIT

pr3m/claude-code-bash-smart-approve

Skill Claude CodeCodex

Run a self-test — pipe synthetic bash commands through the hook and verify each returns the expected decision. Use when user says "test bash-smart-approve", "is the hook working", "run a smoke test", "/bash-smart-approve:test".

1 4mo ago C 56 tokens original MIT