Skip to content
Skill

Lifecycle audit

Runs a black-box lifecycle smoke test of Mycelium hooks in Claude Code, Codex

Lifecycle audit is an open-source agent skill for developer tools. It is available on Claude Code and Codex.

Scripts
None
Platforms
Claude Code, Codex
GitHub stars
73
Last commit
License
MIT
Listing updated

Similar skills

About Lifecycle audit

This skill drives a fresh host task through the Mycelium lifecycle to check whether its session hooks fire and behave as intended. It covers session start context injection, subagent start and stop handling, known-positive and near-miss negative command probes, a disposable file edit with cleanup, and a natural Stop that should be blocked until the living layer is updated and then produce a five-section handoff.

The workflow is staged to keep evidence clean: the agent records the installed plugin identity and a pre-run baseline, launches one task from the target root, and only inspects state after the natural Stop. Failures are sorted into categories such as artifact identity, host dispatch, hook logic, environment, agent compliance and inconclusive, so environment or compliance problems are not mislabeled as hook passes. Reference files supply the probe prompt, the audit protocol and host-specific notes for Antigravity IDE, App and CLI.

It expects a Mycelium plugin install, a host CLI such as Claude Code or Codex that can be inspected for flags, and python3 for any scripted steps. Scientific code and data in an analytical project are protected by a baseline and a prohibition on edits.

When your agent uses it

Run a black-box Mycelium lifecycle smoke test through a real Claude Code or Codex CLI task, or an Antigravity IDE, App, or CLI (agy) conversation. Use after plugin installation, hook, SessionStart, PostToolUse, Stop, activity tracking, handoff, or data-lineage changes; when automatic hooks appear not to fire; or before merging cross-host lifecycle work. Verify installed-build identity, natural dispatch, state transitions, positive and negative probes, and scientific-tree isolation. Do not use as a substitute for unit tests or for ordinary scientific analysis.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 7 files (44 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the mycelium plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add arjunrajlaboratory/mycelium
/plugin install mycelium@mycelium

Or copy only this skill to ~/.claude/skills/lifecycle-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/arjunrajlaboratory/mycelium.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/lifecycle-audit &&
cp -R "$tmp/skills/lifecycle-audit" ~/.claude/skills/lifecycle-audit &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/lifecycle-audit inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/lifecycle-audit to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/arjunrajlaboratory/mycelium.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/lifecycle-audit &&
cp -R "$tmp/skills/lifecycle-audit" ~/.agents/skills/lifecycle-audit &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/lifecycle-audit inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/lifecycle-audit to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/arjunrajlaboratory/mycelium.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/lifecycle-audit &&
cp -R "$tmp/skills/lifecycle-audit" ~/.cursor/skills/lifecycle-audit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/lifecycle-audit inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/arjunrajlaboratory/mycelium.git --path skills/lifecycle-audit

Or copy the folder to ~/.gemini/skills/lifecycle-audit yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/lifecycle-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/arjunrajlaboratory/mycelium.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/lifecycle-audit &&
cp -R "$tmp/skills/lifecycle-audit" ~/.copilot/skills/lifecycle-audit &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/lifecycle-audit inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/arjunrajlaboratory/mycelium.git

Then copy mycelium/skills/lifecycle-audit into your agent's skills folder as lifecycle-audit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Installed build verification
Checks that the plugin files loaded by the host match the source candidate before the run.
Natural dispatch probes
Triggers SessionStart, subagent and Stop hooks through a real host task rather than manual invocation.
Positive and negative probes
Confirms a known command is caught while a near-neighbor command stays silent.
Stop enforcement check
Verifies the first Stop is blocked until the living layer is updated and a compliant retry finalizes once.
Handoff structure check
Validates the five-section handoff headings and nonblank bodies in order.
Scientific-tree isolation
Diffs post-run state against a baseline to separate lifecycle changes from agent edits.

Good for

  • Test whether Mycelium hooks fire after installing or changing the plugin
  • Diagnose why automatic hooks seem not to run in a Claude Code session
  • Check lifecycle behavior in a Codex CLI task before merging hook changes
  • Verify handoff and data-lineage state after a natural agent Stop
  • Run the audit against an Antigravity IDE, App or agy conversation

Lifecycle audit FAQ

When should Lifecycle audit be used?

After plugin installation, changes to hooks, SessionStart, PostToolUse, Stop, activity tracking, handoff or data-lineage, when automatic hooks appear not to fire, or before merging cross-host lifecycle work.

Can Lifecycle audit replace unit tests or ordinary analysis?

No. The skill is a black-box integration audit and is explicitly not a substitute for unit tests or for ordinary scientific analysis.

Does Lifecycle audit repair failures it finds?

No. The audit diagnoses first without repairing, so the observed state is not contaminated. A fix is handled afterward through a separate development skill with a regression test.

Which hosts does Lifecycle audit cover?

Claude Code, Codex CLI, and Antigravity IDE, App and CLI (agy), each with its own reference notes for native events and evidence.

How do I install Lifecycle audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/lifecycle-audit to use it in all your projects, or to .claude/skills/lifecycle-audit in one project. Or install the mycelium plugin, which includes it: /plugin marketplace add arjunrajlaboratory/mycelium, then /plugin install mycelium@mycelium.

Does Lifecycle audit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Lifecycle audit?

Claude Code and Codex. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Lifecycle audit?

The closest alternatives to Lifecycle audit are Develop, Maintain verification skill, Core, Automation audit ops and Agent runtime gateway smoke test.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from arjunrajlaboratory/mycelium

  1. Sets up and maintains a living repo layer where an agent records decisions, learnings

    • Open source
    • 73 GitHub stars
    • Developer tools
  2. Guides an agent through repository-aware computational analysis with validation checks

    • Open source
    • 73 GitHub stars
    • Knowledge and memory
  3. Fixes Codex review comments on a PR and audits the branch for the same mistakes

    • Open source
    • 73 GitHub stars
    • Developer tools
  4. Guides changes to the Mycelium plugin itself across Claude Code and Codex hosts

    • Open source
    • 73 GitHub stars
    • Developer tools
  5. Turns a project learning into a passing test that guards it from regressing

    • Open source
    • 73 GitHub stars
    • Developer tools
  6. Brainstorms research ideas and new analysis angles through persona-based subagents

    • Open source
    • 73 GitHub stars
    • Knowledge and memory