distributions/claude/skills/ecosystem-autopsy/SKILL.md
Orchestrate a full directory-graph autopsy across an ORGANVM workspace, then emit migration signals that unite repositories under canonical governance. Thin wrapper over organvm ecosystem + organvm irf + promotion-readiness-checklist. Triggers on auto-autopsy, map all directories, governance migration, ecosystem discovery, or "send the signal to unite" requests.
npx skillsauth add organvm-iv-taxis/a-i--skills ecosystem-autopsyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Open the ecosystem on the table, map every directory, classify every repository, and emit the signals that bring drifting work back under canonical governance.
This skill orchestrates the canonical surfaces already shipped in the ORGANVM substrate. It does not re-implement them.
promotion-readiness-checklist. Do not restate. Invoke.organvm irf {list,status,stats}. Do not fabricate a parallel registry.organvm ecosystem {audit,list,actions,lifecycle,staleness,coverage}. Do not duplicate.qa-audit. Do not execute remediation; stop at the signal.If an autopsy step appears to require new state-machine definitions, IRF schema, or inventory logic, the substrate already has it. Search before authoring. See references/integration-map.md for the surface-by-surface mapping.
Run the canonical inventory:
organvm ecosystem --workspace ~/Workspace --workspace ~/Code audit
organvm ecosystem --workspace ~/Workspace --workspace ~/Code list
These cover repositories already known to the eight-organ registry.
For paths outside the registry (transient skill caches, ~/Documents, scratch dirs, ad-hoc clones), supplement with:
bash scripts/discover_unregistered.sh ~/Workspace ~/Code ~/Documents
The helper lists git repos found on disk that are absent from organvm ecosystem list output. These are the autopsy's primary finds — directories the canonical inventory doesn't yet know about.
Get the canonical prioritized next-action list:
organvm ecosystem --workspace ~/Workspace --workspace ~/Code actions --json
For each high-priority repo, cross-reference open IRF items by owner/domain:
organvm irf list --status open --owner <organ-or-substring> --json
organvm irf list --domain <domain-code> --status open --json
A repo is truly drifting when it appears in ecosystem actions AND has no open IRF row tracking the drift. That gap is the signal worth emitting.
For each repo flagged in Phase 2, invoke promotion-readiness-checklist to assess current governance state and the evidence required to advance. Do NOT classify states from this skill. The state machine (LOCAL → CANDIDATE → PUBLIC_PROCESS → GRADUATED) and its evidence requirements (seed.yaml schema fields, LICENSE, README, CI, branch protection, etc.) live there.
organvm ecosystem --workspace ~/Workspace --workspace ~/Code lifecycle <repo>
organvm ecosystem lifecycle reports the current lifecycle stage as the ecosystem module sees it. Use it to confirm before invoking the checklist skill.
For each repo with a confirmed state and a clear next-state target, emit a signal record (JSON, written to autopsy/signals/<timestamp>.json in the user-chosen working directory):
{
"signal_type": "migration",
"repo": "<repo-name>",
"current_state": "LOCAL",
"target_state": "CANDIDATE",
"evidence_gaps": ["seed.yaml missing", "no LICENSE", "no remote"],
"invoke": "repo-onboarding-flow",
"irf_gap": true,
"emitted_at": "<ISO-8601>"
}
Signals route to the right downstream skill:
repo-onboarding-flowpromotion-readiness-checklistThis skill stops at signal emission. Execution belongs to the downstream skill the signal names.
After downstream skills execute (in a separate session or under explicit user go), invoke qa-audit to verify that the claimed transitions match disk reality. The autopsy's signal file is the verification target.
organvm ecosystem + discover_unregistered.sh)repo-onboarding-flowqa-audit's jobscripts/discover_unregistered.sh — list git repos on disk that are absent from organvm ecosystem listreferences/integration-map.md — phase-by-phase mapping to canonical surfacesgovernance-states.md reference in this skill (the source of truth is promotion-readiness-checklist)development
Dry-run audit + targeted cleanup for shell command history. Currently wraps atuin (stats today, prune, dedup with dated preview artifacts); extensible to zsh/bash/mcfly backends. Always previews before applying — apply commands are echoed for the human to run, never auto-executed. Triggers on "/shell-history-hygiene", "audit atuin", "audit shell history", "clean shell history", "atuin prune", "atuin dedup", "shell history hygiene", "history cleanup". Replaces ad-hoc one-liners (e.g. `... | tee cmd > file.txt` which wrote two files, swallowed dedup output, and left a junk `cmd` file).
tools
Guided Cowork setup — install role-matched plugins, connect your tools, try a skill.
development
Manage AI agent session lifecycles with structured phases (FRAME, SHAPE, BUILD, PROVE), context preservation across sessions, handoff protocols, and session metadata tracking. Triggers on session management, agent lifecycle, or multi-session workflow requests.
tools
Parse a session transcript into a structured Session Governance Index — an annotated bibliography of every file modified and commit made, internal-energy accounting (tool uses, estimated tokens), shipped-vs-tasked atom tally, and classification of missing items as Gaps or Vacuums. Triggers on "visibility-schema-substrate-sweep", "session cascade audit", "session governance audit", or any request to summarize what a session actually produced versus what it was asked to produce.