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 AnswerDotAIv1.0.0Apache-2.0In 1 marketplace
Auto-approves bash commands on safecmd's allowlist so only the rest prompt for permission. Needs the safecmd package installed with pip; a broad Bash allow rule in your settings makes the allowlist do nothing.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
bash, permissions, auto-approve, allowlist, command-validation, permission-prompts, python
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Auto-approve safe bash commands in Claude Code using safecmd's allowlist.
Install safecmd:
pip install safecmd
Add the marketplace, then install:
/plugin marketplace add AnswerDotAI/skill-plugins
/plugin install safecmd@answerdotai-skill-plugins
A local clone works as the marketplace too: /plugin marketplace add /path/to/skill-plugins.
For local development, skip installation and symlink the plugin into your skills directory. It loads in place as safecmd@skills-dir, so edits in the repo are live (run /reload-plugins after changing hooks/hooks.json):
ln -s /path/to/skill-plugins/plugins/safecmd ~/.claude/skills/safecmd
Note that installing copies a snapshot into Claude Code's plugin cache: repo edits don't reach an installed copy until you update the plugin, which is why the symlink route is better for development.
This plugin adds a PreToolUse hook for the Bash tool that:
Do not put a broad Bash rule anywhere in your Claude Code permissions settings:
Bash or Bash(*) in allow silently approves every command the moment this plugin defers, so nothing ever prompts and the allowlist does nothing.Bash in deny removes the Bash tool from Claude entirely.ask rule is needed: a command that isn't auto-approved falls through to Claude Code's standard permission prompt on its own, including its "no, and tell Claude what to do differently" text reply.Narrow rules for specific commands (e.g. Bash(git status*) in allow) are fine, and still apply after the hook defers.
The allowlist lives in safecmd's config file at $XDG_CONFIG_HOME/safecmd/config.ini, which is ~/.config/safecmd/config.ini by default, on all platforms.
See safecmd documentation for details on customizing the allowlist.
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 answerdotai/skill-plugins --plugin safecmdPlugins from other owners that cover similar ground