From agentops
Audits SKILL.md files against unified AgentOps template with 15 checks: 7 structural via heal-skill and 8 content checks. Use for quality reviews before skill deployment.
npx claudepluginhub boshu2/agentops --plugin agentopsThis skill uses the workspace's default tool permissions.
Validates a skill's SKILL.md against the unified AgentOps template. Pass 1 wraps `heal-skill` for structural hygiene; Pass 2 adds 8 NEW content-discipline checks not covered by heal.
Validates SKILL.md files against agentskills specification and Anthropic best practices. Catches structural, semantic, naming, and quality issues before publishing or debugging triggers.
Validates skills using automated lint script and checklists for frontmatter, routing cues, structure, output definitions, and cross-references. Outputs health reports with per-skill ratings and gating.
Audits Claude Code skills for quality, compliance, delegation patterns, and maintainability. Run after creating skills, before releases, or for periodic checks.
Share bugs, ideas, or general feedback.
Validates a skill's SKILL.md against the unified AgentOps template. Pass 1 wraps heal-skill for structural hygiene; Pass 2 adds 8 NEW content-discipline checks not covered by heal.
heal-skill --fix for Pass-1 issues, hand-edit for Pass-2 issues./heal-skill --check <target> and parses its output. Why: PR-006 (cross-layer consistency) — heal-skill's checks are the source of truth for structural hygiene; reimplementation creates drift.description-has-triggers accepts THREE valid forms (YAML | block scalar OR Triggers:/Use when: markers OR metadata.triggers array with 3+ items). Why: finding f-2026-05-06-auditor-checks-must-fit-host-conventions — auditor checks must validate against the host substrate's existing valid artifacts before promotion to required gate.fail → FAIL; otherwise any returns warn → WARN; otherwise PASS. Why: prevents silent severity downgrade.| heal.sh code | Check |
|---|---|
| MISSING_NAME | frontmatter name present |
| MISSING_DESC | frontmatter description present |
| NAME_MISMATCH | frontmatter name matches directory |
| UNLINKED_REF | references/*.md linked from SKILL.md |
| DEAD_REF | linked references actually exist |
| SCRIPT_REF_MISSING | scripts referenced exist |
| CATALOG_MISSING | user-invocable skills in using-agentops/ catalog |
| # | Check id | Severity |
|---|---|---|
| 1 | description-has-triggers | WARN (downgraded from FAIL after pilot) |
| 2 | constraints-frontloaded | WARN |
| 3 | rationale-present | WARN |
| 4 | verification-checkpoints | WARN |
| 5 | output-spec-explicit | FAIL |
| 6 | quality-rubric | WARN |
| 7 | references-modularization | WARN (conditional, only if SKILL.md > 400 lines) |
| 8 | trigger-clarity | WARN (downgraded from FAIL after pilot) |
Full check definitions and accepted forms in references/audit-checks.md.
bash skills/heal-skill/scripts/heal.sh --check <target>
Capture stdout. Each line [CODE] <path>: <msg> becomes one Pass-1 finding.
For each check_* function in scripts/audit.sh, run against <target>/SKILL.md. Each emits pass, warn, or fail to stdout.
Checkpoint: Pass 2 must run independently of Pass 1 (no shared state); a heal.sh failure does NOT short-circuit Pass 2.
fails > 0 → FAIL
warns > 0 → WARN
otherwise → PASS
JSON conforming to schemas/audit-report.json to stdout (or to file with --json <path>); markdown summary to stderr.
Format: JSON conforming to schemas/audit-report.json (default) plus markdown text summary.
Filename: typically .agents/audits/<skill-name>-audit.json when --json <path> is supplied; otherwise stdout.
Exit code: 0 for PASS or WARN; 1 for FAIL; 2 for usage error or missing target.
--check (NOT --fix)pass, warn, fail, n/adescription-has-triggers accepts all three valid forms (verified by running auditor against AgentOps' existing single-line-description skills like forge, heal-skill, council)schemas/audit-report.jsonAudit a single skill:
/skill-auditor skills/forge
# stdout: VERDICT: WARN (3 Pass-2 warns)
# exit: 0
Audit a candidate before promotion:
bash skills/skill-auditor/scripts/audit.sh skills/my-new-skill --json /tmp/audit.json
# JSON report at /tmp/audit.json
Strict mode (any finding → FAIL):
bash skills/skill-auditor/scripts/audit.sh --strict skills/my-skill
# exits 1 on any WARN-level finding
| Problem | Cause | Solution |
|---|---|---|
| All AgentOps skills fail check #1 | Auditor using old description-multiline logic | Verify check fn is check_description_has_triggers; should accept single-line + Triggers/Use-when markers + metadata.triggers array (per pre-mortem F1) |
heal.sh exits 1 even with --check | heal.sh has its own --strict mode | The auditor calls heal.sh WITHOUT --strict; if heal.sh exits non-zero, capture findings but continue Pass 2 |
references-modularization fails on a 200-line skill | Check applies only when SKILL.md > 400 lines | Verify line count; status should be n/a for short skills |