About heal-skill
heal-skill is a command-line skill hygiene checker for maintainers of skill packages. It reports structural issues and can regenerate owned metadata and Codex projections without changing unrelated files.
Key features
- 01Read-only structural checks
- 02Strict mode returns failure on findings
- 03Repairs owned projections through generators
- 04Optional content audit with JSON output
- 05Idempotent repeated fixes
Use cases
- 01Check SKILL.md metadata before release
- 02Repair generated Codex twins
- 03Audit skill authoring quality
- 04Inspect findings in machine-readable form
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ boshu2/ agentops --skill heal-skillAfter installing, type/heal-skillin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/audit-checks.mdcodex-parity.mdcontext-density-checks.mdheal-skill.featureskill-auditor.featureschemas/audit-report.jsonscripts/audit.shheal.shscore_agentops_skill.pytest-mutation-boundaries.shvalidate.shDetails
From the project README/heal-skill — Check one or more skill packages
heal-skill is a specialist hygiene tool. It reports structural defects in
canonical source skills and generated Codex twins. With --fix, it repairs only
owned projections through their generators. It does not schedule work, operate
Git, validate a software candidate, or decide what happens after a failure.
Inputs
bash skills/heal-skill/scripts/heal.sh --check [skills/<slug> ...]
bash skills/heal-skill/scripts/heal.sh --check --strict [skills/<slug> ...]
bash skills/heal-skill/scripts/heal.sh --fix [skills/<slug> ...]
Every explicit target must be a real, direct child of skills/ or
skills-codex/. Missing paths, traversal, and symlink spellings are rejected.
Procedure
- Resolve and contain all requested target directories.
- Parse each
SKILL.mdfrontmatter. - Check the path/name match, description, API version, disposition metadata, and linked local references.
- Print every finding once.
- In
--fixmode only, regenerate metadata-owned projections and scoped Codex twins, then stop.
--check is read-only. --strict makes any finding produce exit 1. A failed
fix is returned to the caller; the skill does not retry or select another
action.
Deep content audit
The optional read-only content audit is:
bash skills/heal-skill/scripts/audit.sh [--strict] [--json <path>] skills/<slug>
It combines the structural result with deterministic authoring checks and an
advisory quality score. It is not the core Validate phase, does not write a
verdict.v2, and has no delivery authority. Check definitions live in
audit-checks.md; density scoring is described in
context-density-checks.md.
Output
Structural findings are printed as:
[FINDING_CODE] skills/example: concrete explanation
Deep audit JSON conforms to audit-report.json. The caller owns any subsequent edit or invocation.
Checks
- Check mode never mutates files.
- Fix mode changes only an explicit source target and its owned projections.
- A second identical fix is idempotent.
- Generated Codex parity follows codex-parity.md.
- Remaining non-fixable findings stay explicit.