Skip to content
Skill

Brainstorm

Guides an agent through Socratic exploration of an approach before any spec or code

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

Scripts
None
Platforms
Claude Code
GitHub stars
19
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Brainstorm

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.

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 (23 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 mokata plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

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/JasGujral/mokata-oss.git --path src/mokata/skills/brainstorm

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

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

More from JasGujral/mokata-oss

  1. Makes the agent design API contracts first and check callers before changing them

    • Open source
    • 19 GitHub stars
    • Developer tools
  2. Gives an agent NestJS rules for guards, DTO validation, modules and tests

    • Open source
    • 19 GitHub stars
    • Developer tools
  3. Guides an agent to capture live browser console, network and page state for tests

    • Open source
    • 19 GitHub stars
    • Developer tools
  4. Guides the agent to reproduce a reported bug with a failing test before fixing it

    • Open source
    • 19 GitHub stars
    • Developer tools
  5. Guides an agent on CI/CD pipelines, release builds and pinned supply-chain posture

    • Open source
    • 19 GitHub stars
    • Developer tools
  6. Reproduces a failure, captures it in a failing test, then applies a minimal fix

    • Open source
    • 19 GitHub stars
    • Developer tools