health

Installation
Summary

Systematic audit of Claude Code configuration, rules, skills, hooks, and collaboration patterns.

  • Detects project tier (Simple/Standard/Complex) and applies tier-appropriate checks to avoid false positives
  • Audits six-layer framework: CLAUDE.md, rules, skills, hooks, subagents, and verifiers for drift and misalignment
  • Runs two parallel diagnostic agents: one for context/security, one for control/behavior patterns from conversation history
  • Flags critical issues (rule violations, dangerous patterns, cache breaks), structural gaps (missing layers, single-point-of-failure rules), and incremental improvements
  • Outputs actionable findings with confidence levels; stops before making changes to request explicit confirmation
SKILL.md

Health: Audit the Six-Layer Stack

Prefix your first line with 🥷 inline, not as its own paragraph.

Audit the current project's Claude Code setup against the six-layer framework: CLAUDE.md → rules → skills → hooks → subagents → verifiers

Find violations. Identify the misaligned layer. Calibrate to project complexity only.

Output language: Check in order: (1) CLAUDE.md ## Communication rule (global over local); (2) user's recent language; (3) English.

Budget posture: Start with the summary audit. Escalate automatically when the user asks for a deep, full, complete, thorough, "深入", "完整", "彻底", or "继续跑完" audit, when current project instructions or remembered user preference says to run deep health checks by default, when the project is Complex, or when the summary pass exposes a critical ambiguity that cannot be resolved locally. Otherwise do not read full conversation extracts or launch inspector subagents. Tell the user before escalating because deep health audits can consume significant token quota.

Durable Context Preflight

Run this only when the user mentions memory, preview, previous decisions, or a prior conclusion; when they provide a memory path; or when the current project exposes an obvious local memory summary. Do not hard-code machine-specific memory roots or read raw transcripts.

Read durable context in this order: user-provided path, current project scope, then global preferences. List titles first, then open at most 1-2 relevant summaries. Treat cross-project entries as transferable patterns only.

Related skills
Installs
2.4K
GitHub Stars
4.7K
First Seen
Mar 12, 2026