# Rubber duck

> Rubber duck is an open-source agent skill for developer tools. Guides you through a six-question rubber duck session to solve your own bug. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/oneafrikan/the-grid/tree/main/plugins/grid-core/skills/rubber-duck
- **Repository:** https://github.com/oneafrikan/the-grid
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** rubber-duck
- **Collection:** https://github.com/oneafrikan/the-grid
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/oneafrikan/the-grid/tree/HEAD/plugins/grid-core/skills/rubber-duck)
- [License: MIT](https://github.com/oneafrikan/the-grid/tree/HEAD/plugins/grid-core/skills/rubber-duck)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Diagnostic reasoning](https://ai-powered.com/skills/diagnostic-reasoning): Diagnostic reasoning is an open-source agent skill for developer tools.
- [Principle fix root causes](https://ai-powered.com/skills/principle-fix-root-causes): Principle fix root causes is an open-source agent skill for developer tools.
- [Diagnosing bugs](https://ai-powered.com/skills/diagnosing-bugs): Diagnosing bugs is an open-source agent skill for developer tools.
- [Bug fix](https://ai-powered.com/skills/bug-fix): Bug fix is an open-source agent skill for developer tools.
- [TDD](https://ai-powered.com/skills/tdd-michael-denyer): TDD is an open-source agent skill for developer tools.
- [TDD](https://ai-powered.com/skills/tdd): TDD is an open-source agent skill for developer tools.
- [Debug](https://ai-powered.com/skills/debug-jasgujral): Debug is an open-source agent skill for developer tools.
- [Bug](https://ai-powered.com/skills/bug-jasgujral): Bug is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/rubber-duck-oneafrikan
