# Catalog Integrity

> Rebuild and validate Skillz Forge catalog truth, evidence contracts, and provenance without credentials.

- Skill: `okhp3/catalog-integrity` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add okhp3/catalog-integrity`
- Raw SKILL.md: https://api.skillmd.com/api/skills/okhp3/catalog-integrity/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: OKHP3 (https://skillmd.com/u/okhp3)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/okhp3/catalog-integrity

---


# 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 sets the local
development escape hatch for a shallow checkout only; CI still fails closed.

## 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.
