Skip to content
Skill

Rubber duck

Guides you through a six-question rubber duck session to solve your own bug

Rubber duck is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About Rubber duck

This skill turns the agent into a structured rubber duck debugging partner. Instead of proposing fixes, it asks one question at a time: the goal, the expected result, the exact observed behaviour, what has already been tried, what is ruled out, and the simplest explanation. Once all questions are answered, it reflects the problem back in a short paragraph and checks whether that summary is accurate.

The agent is instructed to hold back suggestions until the user has finished all six answers and explicitly asks for its opinion. Even then, it offers a single hypothesis framed as a question rather than a fix. It also asks for more precise answers when a response is vague and keeps its questions short.

The skill is a single SKILL.md file with no scripts or bundled reference files, so it needs nothing beyond a conversation with the agent. It is published in a Claude Code plugin marketplace as part of a plugin called grid-core.

When your agent uses it

Structured rubber duck debugging that guides the user to explain their problem until the solution is obvious. Use when the user says "rubber duck", "talk me through this" or "I'm stuck".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (1 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the grid-core plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add oneafrikan/the-grid
/plugin install grid-core@the-grid

Or copy only this skill to ~/.claude/skills/rubber-duck:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/rubber-duck &&
cp -R "$tmp/plugins/grid-core/skills/rubber-duck" ~/.claude/skills/rubber-duck &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/rubber-duck inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/rubber-duck to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/rubber-duck &&
cp -R "$tmp/plugins/grid-core/skills/rubber-duck" ~/.agents/skills/rubber-duck &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/rubber-duck inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/rubber-duck to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/rubber-duck &&
cp -R "$tmp/plugins/grid-core/skills/rubber-duck" ~/.cursor/skills/rubber-duck &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/rubber-duck inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/oneafrikan/the-grid.git --path plugins/grid-core/skills/rubber-duck

Or copy the folder to ~/.gemini/skills/rubber-duck yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/rubber-duck:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/rubber-duck &&
cp -R "$tmp/plugins/grid-core/skills/rubber-duck" ~/.copilot/skills/rubber-duck &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/rubber-duck inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/oneafrikan/the-grid.git

Then copy the-grid/plugins/grid-core/skills/rubber-duck into your agent's skills folder as rubber-duck. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Six-step questioning
Asks the user goal, expectation, actual outcome, attempts, exclusions and simplest cause in fixed order.
No premature fixes
Withholds suggestions until all questions are answered and the user asks for a hypothesis.
Reflection summary
Restates the problem in one paragraph and asks the user to confirm it is accurate.
Vague answer follow-up
Pushes for more specific answers before moving to the next question.
Single hypothesis format
When asked, offers one possible cause phrased as a question.

Good for

  • Talk me through this bug before I change anything
  • I'm stuck on a failing test, help me work out what's going on
  • Use rubber duck debugging on this error
  • Help me explain my problem so I can find the answer myself

Rubber duck FAQ

What triggers Rubber duck?

It is meant to load when the user says "rubber duck", "talk me through this" or "I'm stuck".

Will Rubber duck fix my code?

No. The skill tells the agent not to suggest fixes and to ask questions until the user works out the solution. A hypothesis is only offered after all six questions are answered and the user explicitly asks for one.

Does Rubber duck need any scripts or tools?

No scripts are included and no allowed tools are set. It consists of a single SKILL.md file.

How do I install Rubber duck in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/rubber-duck to use it in all your projects, or to .claude/skills/rubber-duck in one project. Or install the grid-core plugin, which includes it: /plugin marketplace add oneafrikan/the-grid, then /plugin install grid-core@the-grid.

Does Rubber duck run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Rubber duck?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Rubber duck?

The closest alternatives to Rubber duck are Diagnostic reasoning, Principle fix root causes, Diagnosing bugs, Bug fix and TDD.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from oneafrikan/the-grid

  1. Turns a business goal into funded bets, budgets, kill conditions and release gates

    • Open source
    • 5 GitHub stars
    • Productivity
  2. Runs hypothesis-driven funnel experiments to move a growth metric, one variable at a time

    • Open source
    • 5 GitHub stars
    • Marketing and SEO
  3. Coordinates a multi-step dev team: writes PRDs, makes architecture calls, reviews output

    • Open source
    • 5 GitHub stars
    • Developer tools
  4. Splits small fixes across specialist agents, merges them, then runs independent QA

    • Open source
    • 5 GitHub stars
    • Developer tools
  5. Lists open GitHub issues grouped by the repo's own severity labels, highest first

    • Open source
    • 5 GitHub stars
    • Developer tools
  6. Guides you through using the-grid: which commands, agents and factories to reach for

    • Open source
    • 5 GitHub stars
    • Developer tools