harness-audit

Scan ~/.claude/ configuration to flag orphan hooks, missing skills, invalid JSON, and stale agents.

1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/paulingham/.claude --skill harness-audit-paulingham
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: harness-audit
Source: https://github.com/paulingham/.claude/tree/main/skills/harness-audit
Command: npx skills add https://github.com/paulingham/.claude --skill harness-audit-paulingham

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill detects configuration health issues in the Claude harness by scanning the orchestration layer for orphan hooks, missing skills, stale agents, invalid JSON, and non-executable hooks, producing a structured health verdict (HEALTHY / WARNINGS / CRITICAL).

Core Features & Use Cases

  • Hook health: verify registered hooks exist and are executable; flag orphan or missing hooks.
  • Skills health: ensure referenced skills exist, have valid frontmatter, and conform to canonical structure.
  • Knowledge and pipeline health: validate CLAUDE.md references, knowledge library usage, and pipeline-state hygiene.
  • Use Case: run audits after configuration changes to detect drift and prevent broken runs.

Quick Start

Run harness-audit to generate a health report for ~/.claude/ and surface configuration issues across hooks, skills, and knowledge.

Frequently Asked Questions about harness-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Claude harness configuration health for hooks and skills?

To audit Claude harness configuration health, run a scan against your ~/.claude/ setup to verify hooks, skills, and agent definitions. This validates frontmatter, tool catalogs, and pipeline-state hygiene to produce a structured verdict of HEALTHY, WARNINGS, or CRITICAL.

What causes orphan hooks and missing skills in a Claude pipeline?

Orphan hooks and missing skills in a Claude pipeline occur when configuration changes introduce drift, leaving registered hooks pointing to missing files or referencing non-executable scripts. Scanning the orchestration layer detects these issues by validating JSON and checking that referenced skills exist.

Does the harness audit check stale agent definitions and invalid JSON?

Yes, the harness audit checks for stale agent definitions and invalid JSON by scanning the configuration layer. It validates frontmatter, confirms tool catalogs, and verifies knowledge references to flag non-executable hooks and structural configuration drift.

When should I run a configuration health scan on my Claude environment?

You should run a configuration health scan on your Claude environment after making any configuration changes to detect drift and prevent broken runs. The audit validates pipeline-state health and checks knowledge references to ensure the orchestration layer remains stable.

Can I validate CLAUDE.md references and pipeline-state hygiene automatically?

Yes, you can validate CLAUDE.md references and pipeline-state hygiene automatically by running an audit on the ~/.claude/ directory. The scan checks knowledge library usage, confirms frontmatter validity, and surfaces configuration issues across hooks and skills.

What is the difference between HEALTHY, WARNINGS, and CRITICAL harness audit results?

The difference between HEALTHY, WARNINGS, and CRITICAL harness audit results indicates the severity of configuration issues found. HEALTHY means no issues, WARNINGS flags minor drift like stale agents, and CRITICAL identifies blocking problems like orphan hooks or invalid JSON preventing execution.