跳到正文
Skillpedia
智能体7.5k · #13217

health

它能做什么

这项技能审核 AI 编码智能体在项目中的设置方式,包括其指令、权限、钩子和工具。适合智能体设置似乎有误或已过时的开发者。

适用场景

  • ✓当项目中的 Claude、Codex 或 Pi 设置看起来不正确的时候。
  • ✓当项目的指令似乎与代码不同步的时候。
  • ✓当你想对代码库对 AI 工具的可维护性进行健康检查的时候。

技能链接

https://github.com/tw93/Waza/blob/main/plugins/waza/skills/health/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/tw93/Waza/blob/main/plugins/waza/skills/health/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的 Claude 设置感觉不对劲。请检查我项目的智能体配置,并告诉我应该先修复什么。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体收集项目的设置文件,并依据分层框架对它们进行检查,然后为每项发现报告其证据和建议的下一步。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Health: Agent-Assisted Engineering Health

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

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.

Outcome Contract

  • Outcome: a budget-aware health report that separates agent configuration risk from AI maintainability risk.
  • Done when: each finding names the misaligned layer, the concrete evidence, and a copy-pasteable action or diagnostic command.
  • Evidence: collected health script output, tracked project instructions, runtime config summaries, verifier logs, hooks/MCP surfaces, and read-only live probes when needed.
  • Output: prioritized findings with status, impact, and next action, or a clear clean bill with residual risk.

Two lanes share one report:

  • Agent config health: Codex/Claude/Pi instruction drift, permissions, hooks, MCP, skills, and memory supply chain.
  • AI maintainability health: non-obvious constraint reachability, risk-backed hotspot ownership, verifier coverage, generated-artifact checks, and stale or misleading durable docs.

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: Start with the summary audit. Escalate automatically when the user asks for a deep, full, complete, thorough, "深入", "完整", "彻底", or "继续跑完" audit, when the user explicitly mentions AI coding code rot, Codex/Claude config drift, unclear context, missing verification, verifier output that points at stale paths, or "代码变烂", when current project instructions or remembered user preference says to run deep health checks by default, or when the summary pass exposes a critical ambiguity that cannot be resolved locally. Inventory counts never trigger escalation on their own. Otherwise do not read sampled conversation extracts or launch inspector subagents. Tell the user before escalating because deep health audits can consume significant token quota.

Conversation scope: When the request names only static material (AGENTS.md, skills, rules, settings, "只审查指令和配置"), pass instructions as the first argument to collect-data.sh and the run skips session history, reporting it as out of scope rather than as a coverage gap. This is chosen from the request, not a switch the user has to know about. Otherwise: Summary scans up to three recent previous sessions for the current project across Claude and Codex from a bounded candidate window when those local histories exist. Deep streams every previous current-project session across both runtimes for signals while printing only bounded extracts and a coverage receipt. 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-root> deep --all-projects --codex-root <codex-sessions-root> (the first argument holds every per-project log folder; the parser rejects other flag combinations), or hand off to a cross-project retro if one is installed. Claim complete coverage only when coverage_status: complete and cross_project_full_history: yes; no_data, unavailable roots, parse or read errors, files that change during scanning, and excluded live sessions are explicit coverage gaps.

Durable Context Preflight

See references/durable-context.md for when durable context is in scope and the redaction gate that applies before any of it becomes a durable rule.

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.

Hard Rules

  • Summary and deep audits are report-only. Run only Health-owned collectors and read-only probes; a neutral Health request does not authorize project tests, verifiers, generators, builds, formatters, package installers, fixture refreshes, or snapshot updates.
  • A bundled debugging or code-review ask uses its own workflow. Complet
常见问题

这是用来检查应用中的漏洞的吗?

不是。该技能用于智能体设置和 AI 可维护性,而不是应用中的漏洞。

每项发现包含什么?

错位的层级、证据以及具体的下一步行动。

它涵盖哪些智能体?

描述中提到的是 Claude、Codex 和 Pi 的设置。

详情

作者的原始描述

Audits agent config, instruction drift, hooks or MCP, and AI maintainability. Use when Claude, Codex, or Pi setup looks wrong. Not for application bugs or PR review.

repo: tw93/Waza

热度

GitHub 星标
7.5k
排名
#13217
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能