/mycelium:adoptfrom mycelium
Brownfield entry point for the Mycelium framework: reads an existing codebase to draft what it can establish and names the discovery gaps it cannot.
Ships in mycelium. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run find .claude/state/hooks-alive "${TMPDIR:-/tmp}/mycelium-hooks-alive-$(id -u)" -mmin -60 2>/dev/null. If it prints a path (since v0.318.0 the hooks also stamp the temp folder in a project with no Mycelium state yet, where they do nothing else), say nothing
about it and go on. If it prints nothing, Mycelium's hooks did not run in this session: its gates
and the rules it gives the agent at session start are off, and nothing else will say so. Tell the
user in one line before anything else: "Mycelium's hooks are not running in this session, so its
gates are off. On Codex CLI, open /hooks, trust Mycelium's hooks and start a new session; on
Claude Code, check the plugin is enabled in /plugin." Then carry on with this skill.
/mycelium:start assumes a blank page. Most projects are not a blank page. This
skill is the entry point when the code came first.
/mycelium:start.Phase 1 — populate from the codebase. Read the repo and fill in what the code can actually establish, at the right evidence class.
Phase 2 — patch the holes with the user, exactly as a greenfield project
would. The gaps left by phase 1 are not a backlog to hand over. They are the
agenda for the rest of the session, worked with the same discovery discipline
/mycelium:start would apply — the only difference is that the canvas is not
empty when you begin.
Do not stop between the phases and present a list. Ending at a fork is the failure this skill exists to remove: a maintainer offered "run the greenfield brief or skip" has no good option, and "here is your discovery backlog" is the same fork with extra steps.
Why phase 1 cannot be the whole thing. A codebase answers what was built and how it ships. It is nearly silent on why it exists and who decided that. Extraction is asymmetric, and inverted from where discovery value lives:
| scale | what code yields |
|---|---|
| L4 Delivery | STRONG — stack, release cadence, distribution, CI, test posture |
| L3 Solution | STRONG — feature surface, module structure, what shipped when |
| L2 Opportunity | INFERENCE ONLY — you see what was built, not the problem it solved. Real demand signal lives in the ISSUE TRACKER, which a clone does not contain. |
| L5 Market | THIN — category and channels, rarely positioning |
| L1 Strategy | USUALLY EMPTY |
| L0 Purpose | USUALLY NEAR-EMPTY — READMEs state a what and a stack, seldom a why |
So phase 1 reliably fills the layers that never needed discovery and leaves empty the ones that did. That is not a defect in the extraction — it is the map of what phase 2 has to work on. Never present a phase-1 canvas as though discovery happened; it is a starting position, and say so.
Watch for drift. The sharpest thing this skill can surface is a mismatch between what the project says it is and what it has become. A README that describes the original scope while five years of changelog show the product moved somewhere else is a real finding, visible in minutes, and a maintainer recognises it immediately. Look for it explicitly: compare the stated purpose against the feature surface and the most recent changelog entries.
Do not scan and present as a fait accompli. Say what you propose to read and ask.
"This project has code but no Mycelium discovery state. I can read the repo and draft what it can establish — roughly the delivery and solution picture — and then show you what it cannot: purpose, strategy, and any real user evidence. That second list is the useful half. About N minutes. Go ahead?"
If declined, stop. Do not leave partial state. Offer /mycelium:start (blank
page) or nothing.
Cheapest signal first; stop when you have enough rather than reading everything.
README, docs index — stated purpose, category, audienceCHANGELOG, release history — what the product actually became, and how fastpackage.json, pyproject.toml, …) — stack, distribution, scriptsCONTRIBUTING, CI config — delivery posturepython3 "${CLAUDE_PLUGIN_ROOT}/scripts/scale_locks.py" --project-dir . --deploy-sign.
It prints the file that shows this project deploys (a host's config, a workflow that
deploys, a Procfile), or says there is none, or that it could not lookDo not read the whole codebase. You are establishing shape, not comprehension. If the repo is large, breadth beats depth.
Issue tracker: if the host is reachable and the user consents, open issues are the only real L2 signal available. Without them, say L2 is un-evidenced rather than inferring it from code.
Is something already live? (v0.322.0) Item 7 shows the project CAN deploy, not that anything is live, and only the user knows which. So it is a question for Step 4, asked in plain words and never stated as a finding: "Is something from this project already in front of real people?" Ask it too when there is no sign and the README or changelog speaks of users: a service run by hand or a document product deploys nothing from the repository and shows none. Why it is asked: a product put live by hand runs no command Mycelium sees, so nothing checks it until someone records who it reaches. An end-to-end run had one live at two sites, with real people's data, for six sessions.
exposures[] on a
diamond): recorded_at, audience, channel, until, and reconstructed: true
because it was live before it was recorded (/mycelium:diamond-progress). Write
data_class and consent only as they state them, and mark no gate passed: nothing
has checked it yet, and saying so is what the record is for. It is backlog, not a
finding about the code. It is written on the diamond that carries that work once the
user opens one (Step 5), and Security and Privacy are run for it then;
/mycelium:security-review and /mycelium:privacy-check can look at what is live
before that. Keep their answer until the record is written, so session start does not ask
what they have already answered: python3 "${CLAUDE_PLUGIN_ROOT}/scripts/advisory_ledger.py" rule --project-dir . --id already-live --ruling snooze --until asked --note "yes: <who it reaches>; record it when its diamond opens".python3 "${CLAUDE_PLUGIN_ROOT}/scripts/advisory_ledger.py" rule --project-dir . --id already-live --ruling drop --note "<their words>". "Not yet" is
--ruling snooze --until YYYY-MM-DD.Neither answer blocks anything.
Write to canvas ONLY what the code supports, and tag every entry:
provenance:
evidence_type: anecdotal
source_classes:
- internal_desk # derived from artifacts, NOT from anyone
evidence_sources:
- "codebase read <date> @ <commit>: <file> — <what it showed>"
HARD GUARDRAIL. Extracted material is never external_human. Nobody said
it. If code-derived inference gets recorded as user evidence, the framework has
automated the consistency-as-evidence failure it exists to prevent, and a canvas
full of code-derived "evidence" is worse than an empty one. Confidence on
anything extracted starts low and says why.
THREE TIERS, NOT TWO — and phase 2 moves material between them. This is the distinction that keeps the guardrail honest once the user starts talking:
| tier | what it is | when |
|---|---|---|
internal_desk | inferred from artifacts. Nobody said it. | phase 1 |
internal_stakeholder | the maintainer's own testimony about their own product | phase 2 |
external_human | someone who is NOT the maintainer — a user, a customer | neither |
When the user confirms or corrects a phase-1 inference, that entry is upgraded
from internal_desk to internal_stakeholder — it is now testimony rather than
inference. It does NOT become external_human. The maintainer describing their
own product is the person closest to the assumption, not evidence against it,
and a canvas that blurs the two will read as validated when nothing outside the
project has been consulted.
Say so explicitly in the entry when you upgrade, and note what is still missing: if no real user has been asked, the canvas should record that plainly rather than let a well-populated file imply otherwise.
State both halves in a few lines, then keep going. This is a checkpoint, not a handover.
Established from the code — delivery and solution, plainly, flagged as artifact-derived.
Open — and these are the next questions, not a report:
Then say what happens next and start: "Those are the gaps. Same questions a new project would get, except we already know what you built. Shall we work through them?"
Run the normal discovery loop against the gaps. /mycelium:interview's
questioning shape is the right instrument for the L0/L1 holes; /mycelium:jtbd-map
or /mycelium:user-needs-map for L2. Invoke them, or apply their sequence
directly — what matters is that the questions get asked in this session rather
than deferred to one the user may never start.
Two things change versus greenfield, and both help:
Same exit condition as greenfield. The canvas is done when it would pass the same gates a new project's must — real evidence at L0/L2, human sources, honest confidence. Artifact-derived entries do not satisfy those gates; they are scaffolding the human answers replace or confirm. A diamond opens when the user has chosen a scale, exactly as it would otherwise.
external_human, or set confidence above
anecdotal on it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mycelium, brownfield, discovery, product-strategy, codebase-analysis
npx claudepluginhub haabe/mycelium --plugin mycelium63 skills in this plugin
/a11y-checkAccessibility audit, scoped to the surfaces a product actually has. Detects web / rendered_markdown / terminal / native_app / video_audio / document / headless, then applies only the criteria that bind. WCAG 2.1 AA in full for web; not at all for headless./assumption-testDesign the smallest viable test to validate or invalidate a critical assumption. Based on Torres's assumption testing framework, organized by Gilad's AFTER model (Assessment → Fact-Finding → Tests → Experiments → Release Results)./bias-checkUse before any research activity or significant decision. Reviews cognitive biases relevant to the current stage./bvssh-checkUse to evaluate whether current work aligns with Better Value Sooner Safer Happier. Run at diamond completion and periodically./canvas-healthLint canvas files for staleness, missing fields, inconsistent evidence types, and orphaned references. Run periodically or before major transitions./canvas-syncSynchronize canvas state across team sessions via git. Ensures all team members see the same product knowledge.Other plugins' skills for the same job