Plays a revolver sound effect whenever Claude says 'smoking gun' in a response
A Claude Code plugin that plays a revolver cylinder spin followed by a gunshot whenever Claude says "smoking gun" in a response.
That's it. That's the plugin.
afplay. Linux/Windows would need a different
player (PRs welcome).claude plugin marketplace add anthonymadhvani-lf/smoking-gun
claude plugin install smoking-gun@smoking-gun
Restart Claude Code, then ask Claude to find a smoking gun.
There is no "assistant said X" event in Claude Code, so the plugin uses a
Stop hook — it fires after every response and receives the session
transcript path:
hooks/hooks.json registers the hook, pointing at scripts/run-hook.sh.run-hook.sh resolves Bun by absolute path (hooks can run with a minimal
PATH) and execs the detector.scripts/smoking-gun-hook.ts walks the transcript backwards, collecting
only the assistant's text from the final turn (tool results also appear as
user-type lines and are skipped, so the sound never triggers on something
you said). If /smoking\s+gun/i matches, it plays the spin → shot
sequence detached, so your next prompt is never delayed.Each run writes a one-line breadcrumb to /tmp/smoking-gun-last.log
(match=true attempt=2) for easy debugging.
claude plugin uninstall smoking-gun@smoking-gun
claude plugin marketplace remove smoking-gun
Sound effects by freesound_community via Pixabay (revolver spin, single pistol gunshot). Code is MIT licensed; the sounds remain under the Pixabay Content License.
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub anthonymadhvani-lf/smoking-gun --plugin smoking-gunUltra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Memory compression system for Claude Code - persist context across sessions
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses