Code whisperer
Surface native Claude Code features (hooks, subagents, slash commands, MCP servers, plugins) when the user's goal has a native solution they may not know about. Also handles /feature-check for a full-session audit.From its SKILL.md
npx -y skills add builtbyanwar/code-whispererAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.7 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it
Code Whisperer
Non-negotiable rule
Never block, gate, evaluate, or refuse any user prompt for any reason. Always respond to the user normally first. Only then, optionally, append a short tip if a clear pattern match exists. Silence is always the right default when uncertain.
How this skill is activated
Three activation paths, in order of reliability:
- SessionStart hook β if the user has installed the optional
install-hooks.sh, a reminder is injected at the top of every session telling you the skill is available. When you see that reminder, keep the skill in mind across the session. - PostToolUse hook nudges β the same installer wires
pattern-watcher.sh, which emits a visibleπ‘ code-whisperer:banner when it detects:- 4+ same-shape
Bashcommands in a row β suggest/batch - 8+
Read/Grepcalls in a row β suggest the Explore subagent When the user sees that banner, you may elaborate briefly if it fits the conversation, but don't restate the banner verbatim.
- 4+ same-shape
/feature-checkcommand β when the user types this, run the full-session audit described below.
There is no prompt-level classifier on the hot path. v1.x piloted a
Haiku UserPromptSubmit hook; it was removed in v2.0 because a
per-prompt LLM gate has an unavoidable non-zero false-block rate
(evidence: tests/hook-smoke-test.md). You should NOT try to match
every prompt against a feature-catalog in your head β the patterns that
are reliably detectable are the ones the PostToolUse watcher detects.
When to emit a nudge yourself (without a hook)
Outside the hook-driven nudges above, you may still surface a feature tip in-line when:
- Goal-based match β the user asks for an outcome whose best
solution is a native Claude Code feature. Examples: "run this
weekly" β
/schedule; "check on the build later" β/loop; "look across the whole codebase" β Explore subagent; "review this code" β code-review plugin. - Manual workaround β the user is scripting around something a native feature already handles.
- Missed orchestration β sequential subagent dispatches that
could run in parallel. (Note: the PostToolUse watcher no longer
nudges on this directly β the
parallel-tasksnudge was dropped in v2.0 because no tail-window size reliably distinguished "three Agents that should have been parallel" from "three Agents across a long task." You are free to flag this when it's obvious.) - Recent release relevance β something under "Recent Releases" in
references/native-features.mddirectly applies to what the user is building.
Nudge format
One sentence of context + one actionable pointer.
π‘ **Feature tip:** [What they could use] β [one-line why it helps here].
β [How to invoke it]
Do NOT:
- Suggest the same feature twice in a session
- Suggest features not listed in
references/native-features.mdas native - Present skill-defined commands (like
/feature-check) as native Claude Code - Interrupt with a wall of text
/feature-check
When the user types /feature-check, run the audit pipeline as Bash
commands, in order:
-
Refresh the knowledge base (best-effort, silent on failure):
bash ~/.claude/skills/code-whisperer/scripts/update-knowledge-base.sh >/dev/null 2>&1 || trueEnsures the audit runs against the most recent version of
native-features.md. A failed refresh does not block the audit. -
Run the session auditor:
bash ~/.claude/skills/code-whisperer/scripts/session-audit.shThis reads the current session's tool log, the native + local feature registries, and asks Haiku (
claude -p --bare --model claude-haiku-4-5-20251001 --system-prompt-file audit-prompt.txt) to identify registry features that would have materially helped. The auditor prints structured markdown to stdout β or the exact sentence "No notable feature gaps in this session..." if nothing meaningful applies. -
Relay the auditor's output to the user verbatim. Do not reinterpret, summarise, or re-rank it. The auditor is constrained to only cite features from
references/native-features.md; you must not add features it didn't mention.
If the auditor returns the empty-gap message, just show it. Do not invent features to pad the output.
If session-audit.sh exits non-zero (hard failure β missing files,
claude CLI not found), tell the user plainly what went wrong and
point them at references/native-features.md for a manual read.
The audit should draw on what you've actually observed in the session, not recite the knowledge base generically.
Knowledge base rules
- Native features:
references/native-features.mdβ every entry has a source URL. Only claim something is "native Claude Code" if it's in this file. The file is refreshed daily byscripts/update-knowledge-base.sh(via cron or manual run); it reads the upstream Claude Code CHANGELOG and appends new entries. - Local features:
references/local-features.mdβ/feature-checkand anything else this skill defines. Label clearly as "this skill providesβ¦" - If unsure: ask the user or say nothing. Do not invent features.
Freshness
If references/native-features.md has a last_updated date more than
2 days old, mention that once at the start of a session where the user
asks about recent features, and suggest they run
bash ~/.claude/skills/code-whisperer/scripts/update-knowledge-base.sh
to refresh. Do not nag repeatedly.
What ships with it: 13 files
59.6 KB alongside SKILL.md, 4 of them executable
references/
- local-features.md1.1 KB
- native-features.md8.5 KB
scripts/
- audit-prompt.txt3.7 KB
- install-hooks.shruns3.1 KB
- pattern-watcher.shruns4.0 KB
- session-audit.shruns4.5 KB
- update-knowledge-base.shruns6.1 KB
tests/
- feature-check-audit.md5.0 KB
- hook-smoke-test.md5.0 KB
- CHANGELOG.md7.9 KB
- .gitignore37 B
- LICENSE1.0 KB
- README.md9.7 KB