Skill Inventory
Invoke as $skill-inventory.
Use this skill from a control repository that manages downstream repositories and needs to know whether copied local skill roots are current, stale, pinned, unmanaged, or missing their canonical source.
V1 Contract
Report-only — do not modify tracked files.
- Do not run
scripts/pack.sh refresh.
- Do not run delete, cleanup, remove, prune, or reinstall commands.
- Do not edit
.claude/skills/**, .codex/skills/**, .agents/project.json, or any file inside downstream repositories.
- Do not add an apply route in v1. Suggest exact follow-up commands only after the inventory report shows what is needed.
- Only write control-repo artifacts:
tasks/skill-inventory.md, alignment/skill-inventory-{topic}.html, task notes, prompt history, and normal shipping docs.
Process
Read repo instructions first: AGENTS.md, CLAUDE.md, or the local equivalent.
Capture the visible $skill-inventory invocation under prompts/skill-inventory/ before substantive work, following the repo prompt-history convention.
Resolve downstream repos from a manifest before scanning. Default manifest search order:
tasks/downstream-repos.md
tasks/fleet-queue.md
tasks/repo-seeding.md
Require a Markdown table column named Local Path or Path for local checkout paths. Remote-only owner/repo cells are not scannable; ask for a local path instead of guessing.
Run the bundled scanner from this skill directory. Default output is the durable Markdown report:
bash scripts/skill-inventory.sh --out tasks/skill-inventory.md --format markdown
Useful variants:
bash scripts/skill-inventory.sh --manifest tasks/downstream-repos.md --out tasks/skill-inventory.md
bash scripts/skill-inventory.sh --repo ../downstream-app --out -
bash scripts/skill-inventory.sh --format json --out -
The scanner sources the control repo's canonical scripts/skill-links.sh and uses skill_install_status for status classification. Do not reimplement the drift semantics manually.
Review the report and build alignment/skill-inventory-{topic}.html using ALIGNMENT-PAGE.md when producing a durable report. The page must render the report, evidence, assumptions, action hints, and approval gates without context loss.
End with:
- Next work: the most specific inventory follow-up, usually adding missing local paths or reviewing stale rows.
- Recommended next command: usually
$skill-inventory --manifest <path> to rerun after manifest fixes, or $project-fleet --status when no inventory remediation is needed.
Status Categories
Use the exact categories emitted by skill_install_status:
ok: managed copy matches the canonical source content.
stale: canonical source content changed since the managed copy was installed.
unknown: marker exists but lacks source_sha; refresh is needed later to enable deterministic tracking.
missing-source: marker points to a source directory that no longer exists.
pinned: symlinked install, usually to archive/<version>, intentionally frozen.
not-managed: skill directory is not an agentic-skills managed install.
Report Expectations
tasks/skill-inventory.md should include:
- control repo, manifest path, generated timestamp, and report-only notice;
- repo-level totals across Claude and Codex skill roots;
- per-agent rows for
.claude/skills/* and .codex/skills/*;
- installed and canonical version fields when available;
- source path evidence for managed or pinned installs;
- action hints for
stale, unknown, and missing-source, including exact suggested follow-ups such as scripts/pack.sh refresh;
- a clear statement that the scan did not run refresh, delete, cleanup, install, or other mutation commands.
If no local paths are found, the scanner must fail non-destructively and print a manifest template with a Local Path column.
Alignment Page
When this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page following ALIGNMENT-PAGE.md in this skill's directory. Output: alignment/skill-inventory-{topic}.html.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.
1---2name: skill-inventory-23description: Inventory downstream repository Claude and Codex skill installs from a control-repo manifest, classify managed local skill-copy drift against canonical agentic-skills sources, and produce report-only Markdown or JSON guidance without refreshing, deleting, or mutating downstream repos.4type: ops5version: v0.06argument-hint: "[--manifest <path>] [--repo <path>] [--format markdown|json]"7metadata:8 source: https://skillmd.com/skills/georgeqle/skill-inventory-29---1011# Skill Inventory1213Invoke as `$skill-inventory`.1415Use this skill from a control repository that manages downstream repositories and needs to know whether copied local skill roots are current, stale, pinned, unmanaged, or missing their canonical source.1617## V1 Contract1819Report-only — do not modify tracked files.2021- Do not run `scripts/pack.sh refresh`.22- Do not run delete, cleanup, remove, prune, or reinstall commands.23- Do not edit `.claude/skills/**`, `.codex/skills/**`, `.agents/project.json`, or any file inside downstream repositories.24- Do not add an apply route in v1. Suggest exact follow-up commands only after the inventory report shows what is needed.25- Only write control-repo artifacts: `tasks/skill-inventory.md`, `alignment/skill-inventory-{topic}.html`, task notes, prompt history, and normal shipping docs.2627## Process28291. Read repo instructions first: `AGENTS.md`, `CLAUDE.md`, or the local equivalent.302. Capture the visible `$skill-inventory` invocation under `prompts/skill-inventory/` before substantive work, following the repo prompt-history convention.313. Resolve downstream repos from a manifest before scanning. Default manifest search order:32 - `tasks/downstream-repos.md`33 - `tasks/fleet-queue.md`34 - `tasks/repo-seeding.md`354. Require a Markdown table column named `Local Path` or `Path` for local checkout paths. Remote-only `owner/repo` cells are not scannable; ask for a local path instead of guessing.365. Run the bundled scanner from this skill directory. Default output is the durable Markdown report:3738 ```bash39 bash scripts/skill-inventory.sh --out tasks/skill-inventory.md --format markdown40 ```4142 Useful variants:4344 ```bash45 bash scripts/skill-inventory.sh --manifest tasks/downstream-repos.md --out tasks/skill-inventory.md46 bash scripts/skill-inventory.sh --repo ../downstream-app --out -47 bash scripts/skill-inventory.sh --format json --out -48 ```49506. The scanner sources the control repo's canonical `scripts/skill-links.sh` and uses `skill_install_status` for status classification. Do not reimplement the drift semantics manually.517. Review the report and build `alignment/skill-inventory-{topic}.html` using `ALIGNMENT-PAGE.md` when producing a durable report. The page must render the report, evidence, assumptions, action hints, and approval gates without context loss.528. End with:53 - **Next work:** the most specific inventory follow-up, usually adding missing local paths or reviewing stale rows.54 - **Recommended next command:** usually `$skill-inventory --manifest <path>` to rerun after manifest fixes, or `$project-fleet --status` when no inventory remediation is needed.5556## Status Categories5758Use the exact categories emitted by `skill_install_status`:5960- `ok`: managed copy matches the canonical source content.61- `stale`: canonical source content changed since the managed copy was installed.62- `unknown`: marker exists but lacks `source_sha`; refresh is needed later to enable deterministic tracking.63- `missing-source`: marker points to a source directory that no longer exists.64- `pinned`: symlinked install, usually to `archive/<version>`, intentionally frozen.65- `not-managed`: skill directory is not an agentic-skills managed install.6667## Report Expectations6869`tasks/skill-inventory.md` should include:7071- control repo, manifest path, generated timestamp, and report-only notice;72- repo-level totals across Claude and Codex skill roots;73- per-agent rows for `.claude/skills/*` and `.codex/skills/*`;74- installed and canonical version fields when available;75- source path evidence for managed or pinned installs;76- action hints for `stale`, `unknown`, and `missing-source`, including exact suggested follow-ups such as `scripts/pack.sh refresh`;77- a clear statement that the scan did not run refresh, delete, cleanup, install, or other mutation commands.7879If no local paths are found, the scanner must fail non-destructively and print a manifest template with a `Local Path` column.8081## Alignment Page8283When this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page following `ALIGNMENT-PAGE.md` in this skill's directory. Output: `alignment/skill-inventory-{topic}.html`.8485## Default Shipping Contract8687Follow the shared shipping contract convention in CLAUDE.md.