Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Catalog Integrity?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/okhp3-catalog-integrity)
---
name: catalog-integrity
description: Rebuild and validate Skillz Forge catalog truth, evidence contracts, and provenance without credentials.
---
# Catalog integrity
## Use when
Run after changing a skill contract, family metadata, evidence artifacts,
catalog derivation, or generated catalog assets.
## Callable command
```bash
node .agents/skills/catalog-integrity/run.mjs
```
The command runs the existing `artifacts/forge/scripts/build-catalog.js` and
`test-catalog.mjs` from their migrated workspace locations. It builds the
catalog and project summary in a temporary validation directory, and checks an
unchanged copy of the source manifest before generation can conceal inventory
drift. A local check does not rewrite tracked release metadata. If it reports
stale inventory, run `node artifacts/forge/scripts/build-catalog.js` and include
the refreshed manifest in the source change. The validator allows a shallow
checkout for local inspection. CI retains strict history checks and uses the
same `--check-manifest` guard. Publishing still regenerates release metadata.
## Inputs and outputs
- Input: the current checkout's root distribution families and generated
`artifacts/forge/public/data/` assets.
- Output: concise pass/fail lines and a non-zero exit on invalid counts,
metadata, evidence vocabulary, payload split, or provenance.
Never paste credentials into the command. A local shallow-history warning is
not a release pass; a CI shallow-history failure blocks publishing.