Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add pr3m/claude-code-bash-smart-approve/plugin install bash-smart-approveWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pr3m/claude-code-bash-smart-approve/list)<a href="https://agentmods.dev/skills/pr3m/claude-code-bash-smart-approve/list"><img src="https://agentmods.dev/badge/skills/pr3m/claude-code-bash-smart-approve/list/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pr3m/claude-code-bash-smart-approve/list"><img src="https://agentmods.dev/badge/skills/pr3m/claude-code-bash-smart-approve/list.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.00481 |
| Opus 5.5 | $0.00020 | $0.00192 |
| Sonnet 5.5 | $0.00010 | $0.00096 |
| Haiku 4.5 | $0.00005 | $0.00048 |
Grade A, and why
bash-smart-approve:list scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Allowed curl domains: What it actually says
List Config
Display the effective bash-smart-approve configuration.
Step 1 — Load config
Read and merge (later overrides earlier for scalars; arrays union):
- Plugin defaults (from
hooks/approve.jsDEFAULT_CONFIG) - User config:
$CLAUDE_PLUGIN_DATA/config.jsonOR~/.claude/bash-smart-approve.json - Project config:
<cwd>/.claude/bash-smart-approve.json
Also check BASH_SMART_APPROVE_DISABLE env var.
Step 2 — Render
Show a readable grouped summary:
bash-smart-approve — effective config
Status: enabled (kill-switch off)
Scope: everywhere (or: <list of scopeDirectories>)
Config files: ~/.claude/bash-smart-approve.json
/Users/.../project/.claude/bash-smart-approve.json
Allowed binaries (from defaults + user + project):
defaults: ls, cat, grep, sed, awk, jq, git, node, npm, ...
+ user: aws-vault, jira, wunda-deploy
+ project: wunda-ecs
Allowed curl domains:
*.atlassian.net, api.github.com
Allowed rm paths:
/tmp/**
Denied patterns:
(none)
Log file: ~/.claude/bash-smart-approve.log (last modified: 5 min ago)
Log decisions: allow, ask
Step 3 — Hint
At the bottom, point the user at:
/bash-smart-approve:allow <cmd>to add/bash-smart-approve:remove <item>to remove/bash-smart-approve:statusfor health check/bash-smart-approve:review-logfor recent activity
Notes
- Distinguish defaults from user additions in the output — helps users see what they've customized.
- If no config file exists, show defaults only and note: "No user config yet. Run
/bash-smart-approve:installto create one."
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 61 lines · 49 tokens per session scan A 78c14380ddee
bash-smart-approve:list is a skill published in the GitHub repository pr3m/claude-code-bash-smart-approve (1 stars, last pushed 7mo ago), licensed MIT. It adds 49 tokens to every session and 481 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
bash-smart-approve:list compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bash-smart-approve:listpr3m/claude-code-bash-smart-approve | Skill | 1 | 7mo ago | MIT | A | 49 | Claude Code |
| explain-last-decisionfatmo666/Caushell | Skill | 5 | yesterday | Apache-2.0 | A | 22 | Claude Code |
| session-summaryfatmo666/Caushell | Skill | 5 | yesterday | Apache-2.0 | A | 19 | Claude Code |
| bash-defensive-patternsmartineserios/thebrana | Skill | 3 | 10d ago | MIT | A | 36 | Claude Code |
| time-awarenessAraneaDev/claude-timestamp | Skill | 3 | 1mo ago | MIT | A | 79 | Claude Code |
| timestampsAraneaDev/claude-timestamp | Skill | 3 | 1mo ago | MIT | A | 39 | Claude Code |
| emoji-git-workflownirholas/gitpretty | Skill | 23 | 20d ago | none | A | 48 | Claude Code |