/mycelium:developfrom mycelium
Develops, refactors, or reviews the Mycelium plugin itself across Claude Code and Codex. Use for shared skills, plugin manifests, lifecycle hooks, installers, migrations, session accounting, shell execution detection, data lineage, or cross-host compatibility changes.
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.
Read when SKILL.md points to them.
Resolve paths in this skill relative to the Mycelium plugin root, two
directories above this SKILL.md. Resolve project paths relative to the source
checkout being changed.
Use this workflow to keep changes correct as a system on both supported hosts.
Before editing, read references/regression-patterns.md and
../../docs/cross-host-review-checklist.md completely. The checklist is the
release gate; the regression patterns explain why its most important checks
exist.
base...head, not only the newest commit.If a focused test cannot run because the environment lacks a dependency, bootstrap it outside the repository or report the constraint. Do not claim a red/green TDD cycle without observing both states.
Name the underlying mistake in one sentence. Search every branch-touched module for the pattern, then search unchanged code if the pattern may be systemic. Reason about each match; do not rewrite false positives. Fix all in-scope instances in the same pass and record the search coverage.
If the finding exposes a new review category, add it to the cross-host checklist
and its adversarial matrix. A repeated error pattern belongs in
references/regression-patterns.md as well.
.living content.Avoid opportunistic cleanup that expands the branch beyond the named defect pattern.
Run from narrowest to broadest:
skills/core/scripts, excluding the
separately provisioned knowledge-map tests when required.test_stop_hook.sh, test_hooks_stress.sh, and
test_integration_stress.sh for lifecycle changes.validate_structure.py in a temporary repository.Run git diff --check and inspect the final diff after tests. A command sequence
whose last command passes does not prove earlier commands passed; retain each
exit status or use a fail-fast runner.
Use $mycelium:lifecycle-audit when changes touch plugin installation,
discovery, dispatch, lifecycle hooks, lineage, or host payloads. Unit tests that
invoke hook scripts directly do not prove automatic host dispatch.
Verify the installed artifact is the exact candidate under test, and do it
before launching the host process. The Claude plugin cache is keyed on the
version string, so any content change under an unchanged version is served
stale and claude plugin marketplace update does not fix it — see
references/regression-patterns.md patterns 1 and 34 for the mechanism and the
refresh. Codex local development requires a cachebuster and reinstall into a new
task. Source and installed files must hash identically; report the file count
compared, not the version label. Run a Claude Code CLI smoke for shared or
Claude-facing changes. Keep environmental failures distinct from Mycelium
failures.
Do not commit, push, post review replies, or retrigger external review unless the user authorized those outward actions.
docs/release-process.md documents the gate. The ordering below is what makes
its results mean anything, and every step has been got wrong at least once:
$mycelium:lifecycle-audit on both
hosts. The gate requires evidence for Claude and Codex, or
--waive-host-audits REASON for both — it rejects one-sided evidence.Version bumps live in their own release/X.Y.Z change: three-way agreement
across .claude-plugin/plugin.json, .claude-plugin/marketplace.json
(metadata.version), and the base of .codex-plugin/plugin.json, plus a fresh
+codex.<timestamp> cachebuster and a dated changelog section. Fold any
## [Unreleased] entries into that section — the gate only checks the dated
section exists, so entries left under Unreleased ship as missing release notes.
Operational gotchas, all of which have cost a full cycle:
release_gate.py runs the ladder via sys.executable. Invoke it with the
interpreter that actually has pytest, or the ladder fails on an import.codex exec blocks reading stdin; redirect < /dev/null for a
non-interactive audit.git status inside an installed bundle that carries .git (it rewrites
.git/index) invalidates it. A codex exec against untrusted hooks shows
zero dispatch, which is an environment result, not a hook defect./hooks
wrote only trusted_hash to ~/.codex/config.toml, with no
trusted_content_hash; /hooks then showed every hook as active while
Codex skipped them all. The complete entries were written while the Codex
desktop app was running, so approve from the desktop app (Settings → Hooks →
From Plugins → Trust all, or the composer chip with only the
mycelium@mycelium hooks selected → Allow selected; never approve other
pending hooks along with them). With a local marketplace source, launching the desktop app
re-copies the plugin from that marketplace source, so any change in that
folder since the approval replaces the installed candidate and needs
approval again—verify the installed hash after launching it.[marketplaces.mycelium] on the GitHub source
(codex plugin marketplace add arjunrajlaboratory/mycelium), never the
working checkout: a local source copies uncommitted files into the install
on every desktop-app launch. To audit a candidate:
~/.codex/config.toml.git archive export of the exact candidate commit and bump the
+codex.<timestamp> cachebuster in its .codex-plugin/plugin.json (the
cachebuster above still applies; the reinstall below does not replace
it). Then run codex plugin marketplace remove mycelium and
codex plugin marketplace add <absolute-export-path>.codex plugin add mycelium@mycelium and hash the installed copy
against the export before launching anything. Launch the desktop app and
hash again before approving (the launch may refresh the install). Trust
only the mycelium@mycelium hooks, then quit and relaunch it, and hash a
third time. Then confirm that hooks/list for the audit project contains
all eight mycelium@mycelium hooks, each trusted.codex plugin marketplace remove mycelium
and codex plugin marketplace add arjunrajlaboratory/mycelium, run
codex plugin add mycelium@mycelium again, and follow the README's four
approval steps. Confirm with codex plugin list --json and hooks/list.
Don't restore the whole config backup, which would drop trust entries
and other changes the desktop app made during the audit. Use it only to
compare..git/, and on 0.169.0 (2026-11-22) the first app-server or desktop-app
start added .codex-marketplace-install.json (source, ref, revision). That
first start voided any approval given before it, so trust only after it.
When hashing such an install against a git archive of the tag, ignore
both on the install side, and drop the root SKILL.md from the archive
side, since Codex does not copy it./hooks: run
codex app-server, send initialize, the initialized notification, then
hooks/list with {"cwds": [<project>]}. Every mycelium@mycelium hook's
trustStatus must be trusted; modified means a stale or incomplete
approval. The request is read-only.timeout does not exist on macOS. A wrapper that silently fails to run makes
"no output" look like "no dispatch".Report findings by severity with file and line evidence. When no actionable findings remain, say so explicitly and list residual risks or unexercised host boundaries. For fixes, include the red test, generalized pattern sweep, final test evidence, real-host evidence, and compatibility impact.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mycelium, plugin-development, cross-host, tdd, regression-testing
npx claudepluginhub arjunrajlaboratory/mycelium --plugin mycelium11 skills in this plugin
/analyzeRun computational analysis using the repository's registered datasets, conventions, and validation requirements. Use for clustering, PCA/UMAP, differential expression, survival or time-series models, statistical tests, sensitivity analysis, continuing prior analyses, or debugging unexpected analytical results. Do not use for merely previewing data, ingesting files, writing reports, brainstorming, repository setup, or unrelated code fixes.
/codex-reviewAddress Codex review comments on a pull request. Use when the user asks to respond to Codex, fix what Codex flagged, handle an @codex comment, or supplies a Codex review link. Generalize each comment into an error pattern, audit the whole branch for other instances, fix and test them, then draft a reply. Confirm before posting or re-triggering review. Do not use for a general code or scientific review without Codex feedback.
/coreInitialize and maintain Mycelium living repositories. Use when the user mentions Mycelium, living repos, crystallizing learnings or findings, recording decisions or settling which past decision still binds, installing conventions, tracking todo ideas, migrating an older Mycelium project, or managing the .living knowledge layer. Do not use for report writing, generic refactoring, brainstorming, git initialization, or ordinary folder organization.
/hardenShip one learning's structural_mitigation_candidate as a real test, then mark the learning's mitigation_type structural. Picks a learning in .living/learnings.md that is still ambient-awareness but names a concrete check, writes the test in the repository's own test setup, proves it fails when the learning's problem is present and passes on the current code, and updates only that entry after the user confirms. Use when the user asks to harden, enforce, or turn a learning, gotcha, or lesson into a test or structural mitigation. Do not use for recording a new learning, promoting learnings to conventions, adding checks inside analysis code, or changing Mycelium itself.
/ideasBrainstorm research ideas using installed persona and ideation conventions. Use for fresh perspectives, creative angles, new analysis directions, expert viewpoints, "what are we missing?", or other open-ended exploration. Do not use for a defined analysis, code fix, project setup, or data ingestion task.
/ingestAdd or import files and datasets into a Mycelium project with metadata, provenance, validation, and DATA_MANIFEST updates. Use for collaborator or facility outputs and formats such as CSV, FASTQ, XLSX, TIFF, JSON, FCS, TSV, or images. Do not use for analyzing existing data, listing datasets, deleting data, downloading URLs, or editing code.
Other plugins' skills for the same job