/dyc:healthfrom dyc
Runs a budget-aware agent-assisted engineering health audit for instruction/config drift, hooks/MCP, verifier surfaces, and AI maintainability. Use when users ask to audit Claude, Codex, Pi, agent instructions, MCP or hooks, verifier coverage, or AI-maintainability drift. Not for debugging application code or reviewing PRs.
Ships in dyc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Audit the current project's agent setup and AI coding maintainability against this framework:
agent config → instruction surfaces → tools/runtime → verifiers → maintainability
Find violations. Identify the misaligned layer. Calibrate to evidence and risk, not repository size.
Health runs a budget-aware agent-assisted engineering health audit across two lanes: agent configuration risk (instruction drift, hooks/MCP, permissions) and AI maintainability risk (verifier coverage, constraint reachability, durable docs). Findings are evidence-based, not inventory-based.
check for code quality review; route to hunt for application-logic debugging; route to think for architecture decisions.references/audit-workflow.md (Step 1)references/audit-workflow.md (Step 1c)references/audit-workflow.md (Step 2)references/audit-workflow.md (Step 3)references/context-engineering.md; for maintainability checks, load references/maintainability-findings.md; for safety baseline, load references/safety-baseline.md; for long-running agent stop conditions, load references/long-running-agents.md.Output language: Follow the user's current language or explicit language request. Use applicable project and global defaults only when the request does not establish a language.
Budget posture: Summary first; escalate to full audit on explicit deep/full request or unresolved critical ambiguity. Tell the user before escalating because deep health audits can consume significant token quota.
Conversation scope: Collector-implementation detail (session window, live-file exclusion, coverage reporting) lives in scripts/conversation_audit.py. Other projects remain out of scope by default; only when the user explicitly asks for all conversations or cross-project capability distillation, run python3 <skill-base-dir>/scripts/conversation_audit.py <claude-projects-dir> deep --all-projects --codex-root <codex-sessions-dir> (the collector resolves both roots; the script rejects other flag combinations), or hand off to an installed full-history retrospective workflow such as ai-retro. Claim complete coverage only when the audit output reports coverage_status: complete and cross_project_full_history: yes; anything else is an explicit coverage gap.
Apply the durable-context rules as defined in the check skill's Durable Context Preflight: current state wins, memory is never authorization, redaction gate applies.
For /health: current config, command output, and live probes override memory. Also flag durable memory problems when they affect behavior: oversized injected summaries, stale or contradictory entries, missing project entrypoint references, or private paths copied into public instructions. Keep these as context findings, not code-review findings.
coverage_status: complete[REDACTED]A report-only request never authorizes fixes; an explicit optimization or repair request continues into its authorized repair phase without another confirmation. The audit is not a heavy lint, typecheck, duplication, or architecture-rewrite substitute; /health reports maintainability guardrails and concrete next actions only.
| What happened | Rule |
|---|---|
| Missed the local override | Always read the runtime's local override file too (settings.local.json or equivalent); it shadows the committed file |
| Subagent timeout reported as MCP failure | MCP failures come from the live probe, not data collection |
| Flagged intentionally noisy hook as broken | Ask before calling a hook "broken" |
| Hook seemed not to fire, but it did -- a later UI element rendered above it | Hook firing order is not visual order. Before re-editing the hook config: (a) confirm with --debug or by piping output, (b) check whether a diff dialog, permission prompt, or other UI element rendered on top and pushed the hook output offscreen, (c) only then suspect the hook itself. |
| Treated missing specs/docs as a failure | Decision artifacts are optional by default. Escalate missing docs/specs only when active handoff risk, failure evidence, or the user request makes them necessary. |
| Treated an ignored AGENTS/CLAUDE file as durable project truth | Report whether the rule is tracked and distributed. Local overlays can inform the audit, but durable fixes belong in public repo docs or shipped skill/rule files. |
| Treated a review scorecard as maintainability documentation | Scorecards are snapshots. Extract the invariant and verification path, then remove or archive the report instead of calling the score itself a durable rule. |
evals/cases/audit-agent-config.yaml (opens in a new tab)evals/cases/audit-mcp-config.yaml (opens in a new tab)evals/eval.yaml (opens in a new tab)references/audit-workflow.md (opens in a new tab)references/context-engineering.md (opens in a new tab)references/long-running-agents.md (opens in a new tab)references/maintainability-findings.md (opens in a new tab)references/safety-baseline.md (opens in a new tab)scripts/block-pipe-to-shell.py (opens in a new tab)scripts/check-agent-context.sh (opens in a new tab)scripts/check-doc-refs.sh (opens in a new tab)scripts/check-maintainability.sh (opens in a new tab)scripts/check-verifier-output.sh (opens in a new tab)scripts/check_agent_context.py (opens in a new tab)scripts/check_doc_refs.py (opens in a new tab)scripts/check_maintainability.py (opens in a new tab)scripts/check_verifier_output.py (opens in a new tab)scripts/collect-data.sh (opens in a new tab)scripts/conversation_audit.py (opens in a new tab)scripts/read_skill_description.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
检查claude, 检查codex, 检查pi, Codex 配置, Pi 配置, AGENTS.md, config.toml, agent instructions, 健康度, 配置检查, 配置对不对, AI coding 腐化, 代码变烂, 维护性, 上下文混乱, 验证缺失, 验证命令失真, Claude ignoring instructions, Pi coding agent, check config, settings not working, audit config
Other plugins' skills for the same job
npx claudepluginhub mymx2/m2-plugins --plugin dyc12 skills in this plugin
/checkReviews code diffs, PRs, release readiness, and project or document audits, then reports evidence-grounded findings. Use when users ask for code review, issue or PR triage, release gates, project scorecards, security/performance/coverage review, or doc proofreading. Not for debugging root causes (hunt) or drafting prose (write)./chromeDrives a real Chrome browser through the chrome-devtools-mcp MCP server for page automation, network and console analysis, emulation, and extension testing. Use when a task needs operating a live browser: navigating, snapshotting the accessibility tree, interacting by element uid, capture a screenshot or full-page capture, console errors, traces, or heap snapshots, or fixing the MCP server setup. Not for diagnosing application logic root causes (use hunt) or judging visual quality (use ui)./forge插件与技能的全生命周期管理:基于 Agent Plugins Spec 创建标准插件、通过 extensions + init 模式适配多厂商(Claude Code / Qoder / Codex / CodeBuddy),以及发现、安装、编写、校验技能。Use when creating a plugin, scaffolding a multi-vendor plugin, writing plugin.json, generating init.ts, finding/installing skills, or authoring/validating SKILL.md. Not for runtime debugging of deployed skills (route to hunt) or reviewing plugin code quality (route to check)./huntFinds the actual root cause of a failing test, error, crash, regression, a page rendered blank or wrong, or a request that throws, before applying fixes, proven against a known-good reference (prior version, release artifact, or "good" screenshot). Use when users report errors, crashes, broken behavior, blank rendering, failing tests, or a used-to-work state that now fails. Not for code review (route to check) or a first-impression visual complaint with no working baseline (route to ui)./learnRuns a six-phase research workflow that turns unfamiliar domains, real docs, source bundles, or collected material into a publish-ready comparison or reference. Use when users ask for multi-source research: deep-dives, comparing tradeoffs, compiling sources, synthesizing unfamiliar material, or turning a source bundle into a coherent reference. Not for quick lookups or single-URL fetches (route to read)./pmProduces PM deliverables and decision frameworks: PRD, user stories, Epic breakdown, backlog prioritization (RICE, MoSCoW), feedback analysis, competitive comparison, metrics reviews (DAU, funnel, retention), roadmaps, GTM (pricing, channels, positioning). Use when users ask to write a PRD, split stories, rank a backlog, analyze feedback or competitors, review metrics, or plan GTM. Not for engineering planning (think), open research (learn), prose polishing (write), or code review (check).