Know what Claude is about to run, in plain English.
Install ·
What you get ·
Settings ·
Good to know ·
Contribute
Why
You approve commands all day.
Some of them look like this: find . -name "*.tmp" -exec rm {} \;
clear-caption adds one quiet line above each call that says what it does.
Your tool rows stay exactly as they were.
Before
● Bash(find . -name "*.tmp" -exec rm {} \;)
● Bash(git reset --hard HEAD)
● Update(math.js)
After
● clear-caption: Delete all .tmp files
● Bash(find . -name "*.tmp" -exec rm {} \;)
● clear-caption: ⚠ Throw away all local changes
● Bash(git reset --hard HEAD)
● clear-caption: Fix clamp: Math.min should cap at hi, not lo.
● Update(math.js)
Install
Paste this at the Claude Code prompt:
/plugin install clear-caption --marketplace KashifManzer/clear-caption
Answer y to add the marketplace, pick a scope, and you're done.
What you get
- 💬 A caption on every shell command and subagent. It's the call's own description, shown right above its row.
- ✏️ A caption on every file edit. One sentence on why the file changes, right above the diff.
- ⚠️ A warning on risky commands. Recursive deletes,
git reset --hard, force-pushes and more get a ⚠, even when the description sounds harmless.
- 🎨 Works with your skin. Captions are their own lines, so skins and other mods that redraw tool rows can't hide them.
- 🤫 Quiet by design. Subagents' own calls don't get captions, so a busy subagent won't flood your screen.
What counts as risky?
The ⚠ shows when the real command:
- deletes recursively (
rm -r, rm --recursive) outside temp folders
- throws away git work (
git reset --hard, git clean -f, git checkout -- … or git checkout ., git restore without --staged, git branch -D, git stash drop or git stash clear)
- force-pushes
- deletes by search (
find … -delete)
- uses
sudo, pipes curl into a shell, or runs chmod -R
Deleting only under /tmp, /private/tmp, /var/folders, $TMPDIR or a scratchpad folder is not marked.
That includes a $VAR the same command sets to one of those, like S=/tmp/run; rm -rf $S.
It's a short list of common spellings, not a guarantee.
Text inside quotes or heredocs is read as a command too.
Turn it up or down
/caption all every caption (default)
/caption risky only ⚠ captions
/caption off no captions
/caption show the current setting
Your choice is saved for every session.
Turning edit captions back on with /caption all takes effect after /clear or in a new session.
Good to know
- The caption is Claude's own words. It can be vague or wrong, so the real command and diff always stay on screen.
- Edit captions are tested. 57 of 57 edits got their line across Opus, Sonnet and Haiku. On Opus test tasks the average cost was $0.257 with or without them, for about 3% more output tokens.
- Rows show a moment later. A Bash or Agent row waits until Claude finishes writing the call, about 0.4-0.8 seconds for Bash. The call itself doesn't run any later.
- Built on an early-access API. Claude Code's mod hooks may change between releases. Tested on Claude Code 2.1.296.
The fine print