/chidi-optimal-brain:decision-mappingfrom chidi-optimal-brain
Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time. Use when the user has a fuzzy idea with many unknowns, asks what to figure out first, or wants a research-and-decide plan before committing.
Ships in chidi-optimal-brain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill is invoked when a loose idea requires more than one agent session to turn into a plan. It creates a stateful decision map in a markdown file, and drives the user through a sequence of tickets to resolve the open questions - which may require either prototyping, research or discussion.
Decision maps live at .agent/context/decision-maps/<slug>.md — git-tracked agent config, not repo root. Create .agent/context/decision-maps/ if missing (see /setup-knowledge-vault or /setup-optimal-brain context setup).
The decision map is a single compact Markdown file, one per planning effort. It is the canonical artifact — the whole map is loaded as context into every session, so it must stay compact.
Assets created during tickets should be linked to from the map, not duplicated within it.
Numbered entries ("tickets"), each its own section keyed by its number:
## #1: Relational Or Non-Relational Database?
Blocked by: #<ticket-number>, #<ticket-number>
Type: Research | Prototype | Grilling
### Question
<question-here>
### Answer
<answer-here>
Each ticket must be sized to one 100K token agent session.
There are three types of tickets:
.agent/context/knowledge-vault.md, fallback: docs/agents/knowledge-vault.md), prefer vault sources (PDFs, notes, prior learning records) first; use external research tools only for gaps not covered in the vault. Invoke research-from-vault for synthesis — never leave findings only in chat.The map is deliberately incomplete beyond the frontier. Your job is to investigate the frontier, and to resolve tickets in order to push the frontier forward. Push back the fog of war, one node at a time.
At some point, the fog of war should have been pushed back far enough that the path to the finish line is clear. At that point, no more tickets will be required and the decision map can be considered 'done'.
There are two ways this skill can be invoked: bootstrap and resume.
User invokes with a loose idea.
.agent/context/decision-maps/<slug>.md — mostly fog, frontier identified, trivially-decidable entries resolved inline.User invokes with a path to an existing map (or slug under .agent/context/decision-maps/) and a ticket number.
/grilling and /domain-modeling.blocked_by edges).If the decisions made invalidate other parts of the map, update or delete those nodes.
The user may choose to run tickets in parallel, so expect other agents to make changes to the map.
Many times, the initial grilling will result in no fog of war. No unresolved tickets. Nothing to do, except implement.
In those situations, you should offer the user the chance to skip the decision map - since the decision map is only needed if multi-session decisions need to be made.
If they skip it, you should recommend either implementing directly or using /to-prd to schedule a multi-session implementation.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (chidiokoene/optimal-brain) — no native marketplace selected
npx claudepluginhub p/chidiokoene-mattpocock-skills36 skills in this plugin
/agent-loopAgentic loop discipline. Use when the user wants to loop until done, iterate until tests pass, keep fixing until green, run until verification passes, or mentions red-green-refactor in an iterative fix context./ask-brainRouter for the whole optimal-brain pack: given a task, picks the single best skill or an ordered chain of skills, says why, and says what to skip. Use when the user is unsure which skill to use, asks what to do next or where to start, or describes a task without naming a skill./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.