# Brainstorm

> Brainstorm is an open-source agent skill for developer tools. Guides an agent through Socratic exploration of an approach before any spec or code. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/JasGujral/mokata-oss/tree/main/src/mokata/skills/brainstorm
- **Repository:** https://github.com/jasgujral/mokata-oss
- **GitHub stars:** 19
- **License:** Apache-2.0
- **Skill name:** brainstorm
- **Collection:** https://github.com/JasGujral/mokata-oss
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill has the agent explore a new problem or feature with the user before implementation begins. It asks one clarifying question per turn, looks up facts in the codebase where it can, and lays out two or three candidate approaches with their tradeoffs before the user picks one.

The workflow adds structure around that conversation. Before an approach can be approved, the agent is asked to estimate the blast radius of each option using mokata's query tooling, assess how each fits the existing architecture, check for prior implementations to reuse, and note likely edge cases and risks. The chosen approach and its supporting notes are saved as a plan file, and the skill keeps a running summary of the original goal so long discussions stay on topic.

The skill is written for mokata's Claude Code workflow and relies on its MCP tools and CLI commands for state, progress and plan export. It has no scripts of its own and does not write code.

## When your agent uses it

> mokata · Socratic pre-spec exploration — explore approaches WITH the user, one question at a time, and HARD-GATE the spec behind explicit approval. Runs standalone or as the front of mokata's pipeline.

## What it can access

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

- [Instructions only, no scripts](https://github.com/JasGujral/mokata-oss/tree/HEAD/src/mokata/skills/brainstorm)
- [License: Apache-2.0](https://github.com/JasGujral/mokata-oss/tree/HEAD/src/mokata/skills/brainstorm)

## Features

- **One question at a time:** Asks a single clarifying question per turn, each with a recommended answer the user can accept.
- **Competing approaches:** Presents two or three grounded options with the costs and risks of each for the user to compare.
- **Blast radius review:** Estimates which symbols, files, docs and prior decisions each approach would affect before approval.
- **Architectural fit check:** Rates each approach as fitting, risky or a misfit against module boundaries and ownership.
- **Prior art lookup:** Searches the codebase for existing implementations to extend instead of duplicating.
- **Approval-gated plan:** Blocks any spec or code until the user explicitly approves one approach, then saves it as a plan file.

## Good for

- Explore how to add a caching layer before writing any code
- Compare two approaches to restructuring an authentication module
- Work through the trade-offs of a new feature with the agent before a spec exists
- Check how a proposed change would affect existing callers and decisions

## Install

### Claude Code

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

```sh
/plugin marketplace add JasGujral/mokata-oss
/plugin install mokata@mostack
```

Or copy only this skill to `~/.claude/skills/brainstorm`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/brainstorm &&
cp -R "$tmp/src/mokata/skills/brainstorm" ~/.claude/skills/brainstorm &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/brainstorm` inside it instead.

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/brainstorm &&
cp -R "$tmp/src/mokata/skills/brainstorm" ~/.agents/skills/brainstorm &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/brainstorm` inside it instead.

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/brainstorm &&
cp -R "$tmp/src/mokata/skills/brainstorm" ~/.cursor/skills/brainstorm &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/brainstorm` 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/JasGujral/mokata-oss.git --path src/mokata/skills/brainstorm
```

Or copy the folder to `~/.gemini/skills/brainstorm` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/brainstorm &&
cp -R "$tmp/src/mokata/skills/brainstorm" ~/.copilot/skills/brainstorm &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/brainstorm` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git
```

Then copy `mokata-oss/src/mokata/skills/brainstorm` into your agent's skills folder as `brainstorm`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Brainstorm write or edit code?

No. The skill's contract forbids writing or editing code and drafting a spec until an approach is explicitly approved.

### What does Brainstorm need to run?

It works standalone with the mokata CLI and its MCP server. A code graph and memory store are optional; without them the agent reads and greps the code and states its assumptions.

### Where is the approved plan saved?

On approval it writes a plan file under .mokata/temp_local/plans, and mokata plan export can copy an editable version into the repository's plans folder.

### How do I install Brainstorm in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/brainstorm to use it in all your projects, or to .claude/skills/brainstorm in one project. Or install the mokata plugin, which includes it: /plugin marketplace add JasGujral/mokata-oss, then /plugin install mokata@mostack.

### Does Brainstorm 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 Brainstorm?

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 Brainstorm?

The closest alternatives to Brainstorm are Brainstorming, Architect, Architecture reasoning, Gap analysis and Structured autonomy plan.

## Where this comes from

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

## Alternatives

- [Brainstorming](https://ai-powered.com/skills/brainstorming): Brainstorming is an open-source agent skill for developer tools.
- [Architect](https://ai-powered.com/skills/architect-michael-denyer): Architect is an open-source agent skill for developer tools.
- [Architecture reasoning](https://ai-powered.com/skills/architecture-reasoning): Architecture reasoning is an open-source agent skill for developer tools.
- [Gap analysis](https://ai-powered.com/skills/gap-analysis): Gap analysis is an open-source agent skill for developer tools.
- [Structured autonomy plan](https://ai-powered.com/skills/structured-autonomy-plan): Structured autonomy plan is an open-source agent skill for developer tools.
- [Vision elicitation](https://ai-powered.com/skills/vision-elicitation): Vision elicitation is an open-source agent skill for developer tools.
- [Blueprint](https://ai-powered.com/skills/blueprint): Blueprint is an open-source agent skill for developer tools.
- [Onboard](https://ai-powered.com/skills/onboard-jasgujral): Onboard is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/brainstorm
