Agent skill

Plan

by poteto in poteto/brainmaxxing

Break down medium-to-large tasks into phased plans in brain/plans/.

MITAuto-check passedAgent Workflows

Install Plan

skills CLI
$ npx skills add poteto/brainmaxxing --skill plan -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install poteto/brainmaxxing plan --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/poteto/brainmaxxing.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/plan .claude/skills/plan && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
plan
GitHub stars
320
Token cost
~1.7k tokens
SKILL.md length
891 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Break down medium-to-large tasks into phased plans in brain/plans/.

  • Works in 9 steps: Triage Complexity → Load Principles → Define Scope and Constraints → …
  • Multi-file refactors
  • SKILL.md covers Step 0 — Triage Complexity, Step 1 — Load Principles, Step 2 — Define Scope and… and Step 3 — Explore Context with…, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Plan is an agent skill from poteto/brainmaxxing. Break down medium-to-large tasks into phased plans in brain/plans/. Planning only — does not implement. Use for new features, multi-file refactors, or architectural changes — not small fixes. Triggers: "plan this", "break this down".

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Refactoring. The repository describes itself as: stupid simple persistent memory and skill improvement. The licence is MIT.

When your agent uses it

  • Multi-file refactors
  • Architectural changes — not small fixes

Example prompts

  • “plan this”
  • “break this down”
  • “/plan”

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Triage Complexity
  2. Load Principles
  3. Define Scope and Constraints
  4. Explore Context with Subagents
  5. Gather Domain Skills
  6. Write the Plan
  7. Verification Strategy
  8. Update Plans Index
  9. Present to User

What it can do on your machine

Read from SKILL.md and the folder at commit ec4d8e4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Plan loads about 1.7k tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 891 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from poteto/brainmaxxing at commit ec4d8e4, republished under its MIT licence (© poteto). 891 words, ~1,690 tokens.

Download SKILL.mdSave it as .claude/skills/plan/SKILL.md (or your agent's skills folder).
name
plan
description
Break down medium-to-large tasks into phased plans in brain/plans/. Planning only — does not implement. Use for new features, multi-file refactors, or architectural changes — not small fixes. Triggers: "plan this", "break this down".

Plan

Produce implementation plans grounded in project principles. Write plans to brain/plans/. Do NOT implement anything — the plan is the deliverable.

Use Tasks to track progress. Create a task for each step (TaskCreate), mark each in_progress when starting and completed when done (TaskUpdate). Check TaskList after completing each step.

Step 0 — Triage Complexity

Before running the full planning workflow, assess whether this task actually needs a plan:

Trivially small (1–2 files, obvious approach): Tell the user this task doesn't need a plan and suggest implementing directly without the plan skill. Stop here — do not implement.

Needs planning (proceed to Step 1):

  • The change spans 3+ files or introduces new architecture
  • There are multiple valid approaches and the user should weigh in
  • The task has unclear scope or cross-cutting concerns
  • The user explicitly asks for a plan

Step 1 — Load Principles

Read brain/principles.md. Follow every [[wikilink]] and read each linked principle file. These principles govern all plan decisions — refer back to them throughout.

Do NOT skip this. Do NOT use memorized principle content — always read fresh.

Step 2 — Define Scope and Constraints

Use AskUserQuestion to resolve ambiguity before exploring the codebase:

  • What is in scope vs explicitly out of scope?
  • Are there constraints (dependencies, platform requirements, existing patterns to preserve)?
  • What does "done" look like?

Frame questions with concrete options. If the request is already clear, confirm scope boundaries briefly and move on.

Step 3 — Explore Context with Subagents

Always delegate exploration to subagents via the Task tool. Never do large-scale codebase exploration in the main context.

Spawn exploration agents (subagent_type: Explore) to:

  • Read existing code in affected areas
  • Identify patterns, conventions, and dependencies
  • Map architecture relevant to the change
  • Find tests, types, and related infrastructure

Run multiple agents in parallel when investigating independent areas.

Step 4 — Gather Domain Skills

Check installed skills (.agents/skills/, .claude/skills/) for any that match the plan's domain. Invoke matched skills — read their output and incorporate domain guidance into the plan.

If the plan touches a domain not covered by installed skills, use find-skills to search for a relevant skill. If one is found, install it (project-local) and incorporate its guidance. Note what was installed so the user can see it. After the plan is written, delete any one-off skills that won't be needed again.

Step 5 — Write the Plan

Create the plan directory and files manually:

  1. Create brain/plans/NN-slug-name/overview.md (or a single file for simple plans)
  2. Create phase files as needed
  3. Update brain/plans/index.md with a link to the new plan
Phase sizing
  • 1 function/type + tests per phase, or 1 bug fix — not "one file" or "one component" (too variable)
  • Max 2-3 files touched per phase when possible
  • Prefer 8-10 small phases over 3-4 large ones — small phases keep future options open
  • If a phase lists >5 test cases or >3 functions, split it

For small plans, a single file at brain/plans/NN-plan-name.md is fine.

For plans with 3+ phases, create a directory:

brain/plans/42-mvp/
├── overview.md
├── phase-1-scaffold.md
├── phase-2-layout.md
├── phase-3-drawing.md
└── testing.md

Non-phase files (like testing.md) are fine alongside phases.

Overview file

Must include:

  • Context — what problem this solves and why
  • Scope — what's included, what's explicitly excluded
  • Constraints — technical, platform, dependency, or pattern constraints
  • Applicable skills — domain skills from Step 4 (list by name so implementers invoke them)
  • Phases — ordered links to phase files: [[plans/42-mvp/phase-1-scaffold]]
  • Verification — project-level verification commands
Show full SKILL.md (347 more words)Show less
Phase files

Each phase file must include:

  • Back-link: Back to [[plans/42-mvp/overview]]
  • Goal — what this phase accomplishes
  • Changes — which files are affected and what changes, described at a high level
  • Data structures — name the key types/schemas before logic, but a one-line sketch is enough — don't write full definitions
  • Verification — static and runtime checks for this phase (see Step 6)

Keep plans high-level. Describe what and why, not how at the code level. A phase should read like a brief to a senior engineer: goals, boundaries, key types, and verification — not code snippets or pseudocode.

Order phases per the sequencing principle: infrastructure and shared types first, features after. Each phase should be independently shippable.

Skill changes: If a phase involves creating or updating a skill (any file in .claude/skills/ or .agents/skills/), the phase must instruct the implementer to use the skill-creator skill during that phase.

Redesign check

For changes touching existing code, apply redesign-from-first-principles:

"If we were building this from scratch with this requirement, what would we build?"

Don't bolt changes onto existing designs — redesign holistically.

Alternatives check

For architectural decisions, briefly sketch 2-3 approaches in the overview's Constraints section. State which was chosen and why. This prevents premature commitment and documents the design space explored.

Step 6 — Verification Strategy

Every phase must have a verification section with both:

Static
  • Type checking passes
  • Linting passes
  • Code follows project conventions
  • Tests written and passing
Runtime
  • What to test manually (launch the app, exercise the feature path)
  • What automated tests to write (unit, integration, e2e)
  • Edge cases to cover
  • For UI: visual verification via screenshot

Per prove-it-works: "it compiles" is not verification. Every phase must describe how to prove the change works.

Step 7 — Update Plans Index

Update brain/plans/index.md with a wikilink to the new plan's overview.

Do NOT edit brain/index.md — the auto-index hook maintains it automatically.

Step 8 — Present to User

Summarize the plan: list the phases, scope boundaries, applicable skills, and verification approach. Ask the user to review the plan files in brain/plans/.

Stop here. Do not begin implementation. The user decides when and how to execute the plan.

© poteto, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/plan of poteto/brainmaxxing.

Open the folder on GitHubat commit ec4d8e4

Compare with similar skills

Plan next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Plan compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Plan this skillpoteto/brainmaxxing320—~1.7kAutomated safety check: PassMIT
Improvefossasia/eventyay-interpretation1.6k10 repos~3.7kAutomated safety check: WarnMIT
Plate Plugin Creatorudecode/plate17k—~2.3kAutomated safety check: PassCustom licence
Build Cs Skillcodestable/CodeStable1.1k—~3kAutomated safety check: PassNone
OctomindMuvon/octomind151—~1.6kAutomated safety check: PassApache-2.0
Antigravity Agentsmarkfulton/claude-antigravity-agents130—~2.1kAutomated safety check: PassMIT

Similar skills

  • Improve

    fossasia/eventyay-interpretation

    Survey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute.

    1.6k GitHub starsUsed in 10 repos~3.7k tokens
    Agent WorkflowsAuto-check: warnings
  • Build new Plate plugins with Slate-first architecture, sane typing, and explicit React/Plate wrapper boundaries.

    17k GitHub stars~2.3k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Build Cs Skill

    codestable/CodeStable

    CodeStable skill authoring and evolution protocol. An agent skill from codestable/CodeStable.

    1.1k GitHub stars~3k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Octomind

    Muvon/octomind

    Delegate coding to the Octomind CLI — a token-efficient, model-agnostic coding agent.

    151 GitHub stars~1.6k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Antigravity Agents

    markfulton/claude-antigravity-agents

    Delegate coding, code review, analysis, and research jobs to Google Antigravity CLI (agy) sub-agents that run alongside your own work.

    130 GitHub stars~2.1k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Harness Engineering Lifecycle

    Arenukvern/mcp_flutter

    Design, implement, and integrate generalized validation harnesses across a producer-consumer boundary after a local harness contract exists.

    386 GitHub stars~1.6k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed

More from poteto/brainmaxxing

  • Meditate

    poteto/brainmaxxing

    Audit and evolve the brain vault — prune outdated content, discover cross-cutting principles, review skills for structural encoding opportunities.

    320 GitHub stars~858 tokensUpdated 7 mo ago
    Auto-check passed
  • Ruminate

    poteto/brainmaxxing

    Mine past Claude Code conversations for uncaptured patterns, corrections, and knowledge.

    320 GitHub stars~1.1k tokensUpdated 7 mo ago
    Auto-check passed
  • Brain

    poteto/brainmaxxing

    Read/write brain files (Obsidian vault at brain/). An agent skill from poteto/brainmaxxing.

    320 GitHub stars~635 tokensUpdated 7 mo ago
    Auto-check passed
  • Review

    poteto/brainmaxxing

    Principle-grounded review of code changes, PRs, or plans. An agent skill from poteto/brainmaxxing.

    320 GitHub stars~1.3k tokensUpdated 7 mo ago
    Auto-check passed

Questions about Plan

What does Plan do?

Break down medium-to-large tasks into phased plans in brain/plans/. Plan is an agent skill from poteto/brainmaxxing. Break down medium-to-large tasks into phased plans in brain/plans/.

When should I use Plan?

Plan fits situations like: multi-file refactors; architectural changes — not small fixes.

How do I install Plan in Claude Code?

Run `npx skills add poteto/brainmaxxing --skill plan -a claude-code`. Or copy the skill folder (.agents/skills/plan in poteto/brainmaxxing) into .claude/skills/plan in your project. Claude Code loads it when a task matches its description.

How do I install Plan in Codex?

Run `npx skills add poteto/brainmaxxing --skill plan -a codex`. Or copy the skill folder (.agents/skills/plan in poteto/brainmaxxing) into .agents/skills/plan in your project. Codex loads it when a task matches its description.

Can I use Plan in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add poteto/brainmaxxing --skill plan -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/plan, .gemini/skills/plan, .github/skills/plan and .opencode/skills/plan in your project.

What does Plan need to run?

SKILL.md names no scripts, command-line tools or credentials: Plan is instructions for the agent only.

Does Plan access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Plan safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Plan use?

Plan is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Plan use?

About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Plan?

Skills that share tags, products or a category with Plan: Improve (fossasia/eventyay-interpretation, 1.6k stars), Plate Plugin Creator (udecode/plate, 17k stars), Build Cs Skill (codestable/CodeStable, 1.1k stars) and Octomind (Muvon/octomind, 151 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Plan?

poteto (a GitHub user) maintains it in poteto/brainmaxxing, which has 320 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on February 27, 2026.

Source: poteto/brainmaxxing on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.