/mycelium-extra:analysis-mapfrom mycelium-extra
Chart a research program too big for one session as a map of decision tickets, then resolve them one at a time. Plans decisions; runs no analysis.
Ships in mycelium-extra. 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.
Read when SKILL.md points to them; scripts run unread.
Chart the way to a big goal as decision tickets in local markdown, then resolve them one per session until the route is clear. Adapted from Matt Pocock's wayfinder and chief-of-staff skills (MIT).
The map plans decisions. It runs no analysis and writes no plan rows. When the route is clear, /mycelium-extra:grill turns the decisions into plan rows, and gate approval stays the only way to run.
For analysis analysis/<name>/, both are Extra's own, written only by this skill:
plans/MAP.md: the index. Sections: Destination, Notes, Decisions so far, Not yet specified, Out of scope. Template: <skill-dir>/templates/MAP.md.plans/map/NN-<slug>.md: one ticket each. Template: <skill-dir>/templates/ticket.md.Never write todo/ or .living/. A decision that must bind later goes through decision-status after the user confirms.
The map holds a one-line gist and a link per decision. The detail lives once, in the ticket. In text for the user, name a ticket by its title, never by its number.
| Type | Who | How it resolves |
|---|---|---|
| research | AFK | research-note writes a cited note. The ticket links the note. |
| prototype | HITL | prototype-analysis makes a throwaway artifact. Resolves when the user reacts to it. |
| grilling | HITL | grill interviews the user, with glossary when present. |
| task | HITL or AFK | Manual work that unblocks a decision: request data access, transfer files, build a reference, ask the collaborator. |
A HITL ticket resolves only through the user's own answers. Never answer for them. A task records what was done and the facts later tickets need (paths, row counts).
Use when the user states a goal too big for one session. Done when plans/MAP.md and its first tickets exist and map_status.py exits 0.
references/destinations.md for the three.plans/MAP.md from the template: Destination and Notes filled, the fog under Not yet specified.Blocked by (separate several blockers with ;).map_status.py (below). Stop. Charting resolves no ticket.Fog or ticket: write a ticket when you can state the question precisely now, even if you cannot answer it. Write fog when you cannot yet phrase it that sharply. Do not slice fog into ticket-sized pieces.
Use when the user names a map or a ticket. Resolve one ticket per session; research tickets may run in parallel.
map_status.py. The frontier is the open, unblocked, unclaimed tickets. Take the user's ticket, else the first on the frontier.Claimed: <date> <session> in the ticket. Done when the file shows it.Status: closed, clear Claimed, add one line to Decisions so far. Cite saved figures by path only if you inspected them; otherwise write unsupported: no inspected figure.map_status.py again.An impactful choice (one that would change a headline estimate, ranking, selected feature or conclusion) is the user's. A ticket may record it as the user's answer. It never closes on a default.
After each close, ask what in the environment would make the next ticket cheaper. Write the answer as a Strategic: line in Notes, or as a new task ticket when it needs work. Examples and triggers: references/strategic.md. Done when the line or ticket exists, or you wrote Strategic: none.
Read-only, stdlib only. It prints the frontier, blocked, claimed and fog counts. It flags cycles, tickets that name a missing ticket, and closed tickets without a Resolution. Exit 0 sound, 1 problems.
<skill-dir>/../../hooks/mxpy - analysis/<name> < <skill-dir>/scripts/map_status.py
The route is clear when no ticket is open and no fog remains. Say so, list Decisions so far, and offer /mycelium-extra:grill with the decisions as input. Done when the user has the offer.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mdmanurung/mycelium-extra --plugin mycelium-extra35 skills in this plugin
/analysis-reportFill the Quarto report new-analysis scaffolds in reports/ after a run. Narrative, quoted script excerpts, a step diagram and inspected figures in Overview, Methods, Results and Reproducibility tabs./ask-extraAsk which Mycelium Extra skill fits your situation. Names one to three skills to type and why; starts none of them./check-firstWrite the check that would catch a wrong result before the analysis code, one step at a time. Use when a step will decide something; not for exploratory looks or figure polishing./data-contract-checkCheck a plan's data assumptions (columns, cohort counts, replication unit, pairing, batch nesting) against the sample table or h5ad obs, read-only. Use when a plan rests on table properties nobody has verified; not for Seurat objects or code./decision-statusWork out which past entry in .living/decisions.md still binds a choice when several cover it, and record the resolution after the user confirms. Use when a decision is contested or grill finds two entries on one choice; not for logging a new decision./diagnose-resultFind why an analysis result looks wrong, unstable or slow, or why a step fails, with a feedback loop, ranked hypotheses and one probe each.