/mycelium-extra:plan-reviewfrom mycelium-extra
Read-only, pre-approval challenge of a grill plan by independent Codex and Biomni reviewers. Use after grill, before approval, when the user asks for independent review; the packet script sends nothing without the user's typed `send packet <digest>`; not for reviewing finished code or results (use Mycelium's review).
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Challenge a proposed plan before approval. This skill is consultation only: do not run project analysis, edit repository files or .living/, create gate receipts, approve a plan, or apply recommendations. A review is not an execution authorization.
Find the current grill brief and its complete plan table in the conversation or a path the user names. If several candidates exist, ask which draft to review. Do not silently review an older approved plan.
Read only the relevant repository instructions, applicable .living/ decisions and findings, manifests, data-contract results, and code paths. Distinguish proposed steps from observed implementation. Cite paths and headings/lines.
Check the reason on each default. Run, with the plan table as it stands:
<skill-dir>/../../hooks/mxpy - --plan <(cat <<'EOF'
<the plan>
EOF
) < <skill-dir>/scripts/default_reasons.py
It names each plan row whose default: has no reason, a reason under three words, or only an empty phrase (the list is EMPTY_PHRASES at the top of the script). It is advisory: it never blocks the review or approval, and it does not judge whether a reason is correct. Put its output in the packet's unknowns: and in the report, and propose a reason or a user source for each flagged row as an amendment. Exit 3 (no plan table found) or a failed run means the check did not run; say so, never report it as clean. Exit 1 with mycelium-extra needs Python 3.12 or later on stderr is mxpy finding no suitable Python (set MYCELIUM_EXTRA_PYTHON), and the check did not run either.
Use review-contract.md to build one canonical packet for both reviewers. Include the objective, estimand, unit of inference, design, input/data summary, constraints, sourced decisions and findings, exact proposed plan, assumptions, and validation. Mark unknown fields unknown. Exclude raw data, participant identifiers, credentials, unpublished full tables, and irrelevant history (the full list and the redactions: entry shape are in the contract). If a necessary fact cannot be shared, say so and stop that external review.
Check the packet before anything leaves the machine. Run, with the packet as it stands and the repository root:
<skill-dir>/../../hooks/mxpy - --packet <(cat <<'EOF'
<the packet>
EOF
) --repo <repository-root> < <skill-dir>/scripts/presend_check.py
It flags likely secrets, contact details, home paths, and the participant identifiers found in the tables the plan names under Inputs:. Exit 3 means flags with an empty or malformed redactions:, no single redactions: line (even with nothing flagged; write redactions: [] when nothing was removed), or missing/truncated input coverage: do not send until the flags and coverage gaps are disclosed and resolved, or the user explicitly consents to the stated gap. Redaction entries require nonempty kind and field strings; replaced_with is optional. Known short IDs use exact token boundaries. Exit 2 means flags with redactions: filled in: show them to the user. Exit 0 is not a clearance: the check is pattern-based and says so. Exit 1 or a failed run means it did not run; say so, never report it as clean. Exit 1 with mycelium-extra needs Python 3.12 or later on stderr is mxpy finding no suitable Python (set MYCELIUM_EXTRA_PYTHON).
Quote or backtick an input path containing spaces. Missing, unreadable, or truncated input tables are reported as unchecked identifier coverage; carry those gaps into the packet and report.
presend_check.py --json (same arguments) prints the result as JSON: the packet's SHA-256, each flag as line, kind and masked value, and each unread or unsupported input as a masked name and reason. A flag never carries its value in full.
The packet leaves the machine (Codex to OpenAI, Biomni to Phylo, which also bills credits). Show the user the packet, the check's output, and which reviewers will receive it, and send only after the user agrees. The agreement is bound to the exact bytes, in this order:
review_packet.py is the one script here that runs by path, not from stdin (it loads its sibling presend_check.py from its own folder), so each step below is <skill-dir>/../../hooks/mxpy <skill-dir>/scripts/review_packet.py <step> ....
<skill-dir>/../../hooks/mxpy <skill-dir>/scripts/review_packet.py prepare --packet <file> --attach <repo-relative code or doc file> ... from the project root. It re-runs the scan and refuses what the scan says not to send. When the only reason is an input coverage gap (no flags, a valid redactions: line) and the user has explicitly accepted that stated gap, add --consent-unread-inputs: the packet is prepared and the manifest records the consent. It writes an immutable copy of the packet and of each explicitly selected attachment under .mycelium-extra/review-packets/<digest>/ with a manifest of their sizes and SHA-256 hashes. The digest is the SHA-256 of that manifest, so it covers the packet's hash. Attach only code and documents the reviewer needs: never data/, tables, raw or participant-level files, credentials, or .env. The script refuses only .env files and types outside its code-and-document list; it does not look inside an allowed type, so a table saved as .txt or a .yaml holding a token is accepted, and what the scan flags in an attachment is listed, not refused. Read that list before going on.<skill-dir>/../../hooks/mxpy <skill-dir>/scripts/review_packet.py preview --digest <digest> and show the user its output: the digest, the attachment list, the scan counts, and the line the user must type.send packet <first 12 or more hex characters of the digest> as a prompt of their own. Do not type it, paraphrase it, or write a consent file: consent is the user's observed prompt. The approval gate records it as .mycelium-extra/review-consent/<digest>.json and replies with the digest and the next step. Only that exact prompt counts (nothing around it, a prefix of 12 to 64 hex characters that names one prepared packet); a prompt embedded in longer text, an ambiguous prefix or an unknown digest records nothing. Never create the record yourself to get past verify.<skill-dir>/../../hooks/mxpy <skill-dir>/scripts/review_packet.py verify --digest <digest>. It recomputes the hashes, refuses if any byte differs, if the folder holds a file the manifest does not list, if an attachment changed since prepare, or if the consent record does not name this digest or is not newer than the packet. On success it prints the one list of files to send. Send exactly those files by the route in the reviewer reference, nothing else. Any change to the packet or an attachment means a new prepare and a new send packet from the user.
The mechanism is cooperative, not a sandbox: it sends nothing, and it cannot stop an agent with unrestricted shell access from sending other bytes. It shows that what you send is what the user approved.unavailable; say which reviewers actually ran and never claim the missing half ran.verify is unavailable; one whose output is malformed is invalid; one still running (for example Biomni after its bounded polling) is pending. None of these is a clean review, and none is an empty completed review: only status: complete with an empty issues list means the reviewer found nothing. Never fabricate a missing review or claim that two independent reviewers agreed when only one responded.substantiated | refuted | unresolved | out_of_scope) in review-contract.md, then lead the synthesis with the single strongest undecided crux. Classification is a judgment from evidence: a concern is not substantiated because a reviewer asserted it, and not refuted because the plan's author disagrees..living/ during this skill. If the user later requests a revised plan, source accepted reviewer choices as user (accepted review: codex) or user (accepted review: biomni; PMID ...) with the underlying evidence, then present the entire revised plan for normal approval. A prior approval does not cover a changed plan.State which reviewers actually ran, what evidence each saw (the digest and the attachment list they received), any redactions or missing context, the pre-send check's result, and whether each result was complete, unavailable, or invalid. Provide the synthesis and one concrete next action. Keep raw reviewer transcripts ephemeral locally (a Biomni task persists in the user's Phylo project until they delete it); do not write .mycelium-extra/reviews/ or durable provenance in this first version.
When the user asks for a second reader of a finished run, use the same route, packet checks and consent as sections 1 to 4 on the run's records instead of the plan: the decision log (<analysis>/logs/decisions.tsv), the verify report text and the approved plan. Idea from pstack's show-me-your-work. Build the packet per review-contract.md, with the log and report in place of the draft plan, and send nothing without prepare, preview and the user's send packet prompt.
Ask the reviewer one thing: what deserves the user's scrutiny. The reply is an Attention list, each item naming the log row or report line it comes from and why it matters. It applies nothing and rewrites nothing. A reviewer that did not run is unavailable, never an empty list. Keep it advice: the user decides.
Stop here. Execution remains with Mycelium's analyze skill after the normal Mycelium Extra approval; verification remains with Mycelium Extra verify.
agents/openai.yaml (opens in a new tab)references/biomni-review.md (opens in a new tab)references/codex-review.md (opens in a new tab)references/review-contract.md (opens in a new tab)references/synthesis.md (opens in a new tab)scripts/default_reasons.py (opens in a new tab)scripts/presend_check.py (opens in a new tab)scripts/review_packet.py (opens in a new tab)tests/test_default_reasons.py (opens in a new tab)tests/test_plan_review.py (opens in a new tab)tests/test_presend_check.py (opens in a new tab)tests/test_presend_fixes.py (opens in a new tab)tests/test_review_packet.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mdmanurung/mycelium-extra --plugin mycelium-extra35 skills in this plugin
/analysis-mapChart 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./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.Other plugins' skills for the same job