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 Singh-APv1.0.0MITIn 1 marketplace
Explains a shell command in one plain-English line, with its risk, right where you approve it, so you know what you're saying yes to.
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Modelmodel
The model that writes explanations. If your organization blocks it, the session's own model is used instead.
stringdefault haiku
Minimum command lengthminLength
Skip commands shorter than this many characters. 0 explains everything except obvious read-only commands.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; calls a model on your account.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Know what you're approving. A plain-English line on what a shell command will do, with its risk, right where Claude asks for permission.
❯ clean up old temp files in the demo folder
Deleting .tmp files older than 30 days in acm-demo
⎿ 🛑 Danger: Permanently deletes every .tmp file under /tmp/acm-demo and its
subdirectories last modified more than 30 days ago, with no confirmation.
────────────────────────────────────────────────────────────────────────────────
Bash command
find /tmp/acm-demo -name '*.tmp' -mtime +30 -delete
Do you want to proceed?
❯ 1. Yes
2. Yes, and switch to auto mode
3. No
Permission prompts show you the command, and the command is often the hard part: find … -exec, git push --force-with-lease, a 300-character awk pipeline. command-explainer asks a small, fast model for one sentence about the command's concrete effect (which files, which remote, what gets deleted) and a risk level: 💡 Safe, ⚠️ Caution or 🛑 Danger.
$.tool.check) first. Commands your rules or mode already allow cost nothing.ls, cat file, git status, git log, …) are never sent to a model. Chains, pipes, redirects and substitutions always are./explain <command> explains any command on demand, including in claude -p./plugin marketplace add Singh-AP/awesome-claude-mods
/plugin install command-explainer@awesome-claude-mods
Requires Claude Code 2.1.287 or later.
Set these in /config, or under pluginConfigs in settings.json.
| Option | Default | What it does |
|---|---|---|
model | haiku | The model that writes the explanation. If it's refused, the session's model is used. |
minLength | 0 | Skip commands shorter than this many characters. |
| Event / API | Why |
|---|---|
tool.call on Bash | Starts the explanation alongside the call, then next(e) immediately |
$.tool.check | Explain only when the decision is ask, meaning a dialog is about to open |
$.model.complete | One short, low-effort completion, 80 tokens at most, with a 15 s timeout |
ui.render on ToolGroup / ToolUse | Draws the line under the call's own row, right above the dialog, until the call resolves |
$.state | Hands the explanation to the drawing, which redraws when it lands |
$.ui.notice | Also offered as the dialog's own notice line, for surfaces that draw one |
command.run | /explain |
claude plugin test mods/safety/command-explainer # 41 tests
$.ui.notice doesn't draw under the terminal's Bash permission dialog.7-day copy clicks
npx claudepluginhub singh-ap/awesome-claude-mods --plugin command-explainerBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.