Claude Code Plugin

Think it
through
yourself.

Most AI tools race to give you the answer. rubber-duck asks the right question instead.

$ /plugin marketplace add https://github.com/mo-inkhan/rubber-duck
$ /plugin install rubber-duck@duck

MIT license · Zero config · Claude Code 1.0.33+

5 slash commands
1 Socratic agent
aha moments
The problem

AI that solves
everything teaches nothing.

When you paste a bug into Claude and it writes the fix, you ship faster today. But you've learned nothing, and the same bug will be back next week wearing a different hat.

"The rubber duck technique works because articulation forces clarity. When you have to explain something to someone — even a silent duck — you expose your own assumptions."

rubber-duck gives the duck a voice. It never tells you the answer. It asks the question that makes you find it.

Live demo

See it in action.

Type a problem below. Watch how it thinks with you, not for you. Hit "reveal" when you've had enough.

rubber-duck session 🦆 Socratic mode
🦆 rubber-duck
I'm in Rubber Duck mode — I'll ask questions instead of writing code for you. Use the "reveal" button whenever you want me to step out of this.

What are you working through today?
Commands

Four tools,
one philosophy.

Every command keeps you in the driver's seat. Claude is the navigator, not the driver.

/duck [problem]
Enter Socratic mode. Describe your problem or just start talking. Claude will ask one question at a time.
/duck:design [topic]
Architecture thinking mode. Surfaces constraints, tradeoffs, and failure modes through questions — never prescribes a solution.
/duck:status
See a structured mirror of your session — what you've figured out, what's still open, and the most productive next question.
/duck:reveal
Break glass. Get the full answer. Claude first acknowledges what you figured out yourself, then fills in the rest.
/duck:sessions
View your past session history — streaks, peek log, and recent activity at a glance.
Streak tracking

Build the habit of thinking.

After every session, rubber-duck logs whether you used /duck:reveal and maintains a streak of sessions where you solved it without peeking.

session end
🦆✅ Rubber Duck session complete.
You solved it without peeking!
No-peek streak: 7 sessions 🔥
All-time: 14/17 solved without peeking
🦆
7
session streak · no peeking
Contribute

Make it better.

Especially looking for:


New question toolkits for specific domains (SQL debugging, regex, async/await confusion, CSS layout)
A /duck:learn mode that teaches the concept after you've reasoned to the answer
Export session logs to markdown for personal knowledge bases
Team mode — shared streak boards for dev teams