health
Skill này làm gì
Skill này rà soát cách một agent lập trình AI được thiết lập trong dự án, gồm chỉ dẫn, quyền, hook và công cụ. Dành cho lập trình viên thấy thiết lập agent có vẻ sai hoặc đã lỗi thời.
Khi nào nên dùng
- ✓Khi thiết lập Claude, Codex hoặc Pi trong dự án có vẻ sai.
- ✓Khi chỉ dẫn của dự án có vẻ đã lỗi thời so với mã.
- ✓Khi bạn muốn kiểm tra sức khỏe xem codebase có dễ để công cụ AI bảo trì không.
Liên kết skill
https://github.com/tw93/Waza/blob/main/plugins/waza/skills/health/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thiết lập Claude của tôi có vẻ không ổn. Hãy kiểm tra cấu hình agent của dự án và cho tôi biết cần sửa gì trước.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent thu thập các file thiết lập của dự án và đối chiếu chúng với một khung nhiều tầng, rồi báo cáo từng phát hiện kèm bằng chứng và bước tiếp theo được đề xuất.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Đây có phải kiểm tra lỗi ứng dụng không?
Không. Skill dành cho thiết lập agent và khả năng bảo trì AI, không dành cho lỗi trong ứng dụng.
Mỗi phát hiện gồm những gì?
Tầng nào bị lệch, bằng chứng và một hành động cụ thể tiếp theo.
Nó bao phủ những agent nào?
Mô tả nêu tên các thiết lập Claude, Codex và Pi.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 7.5k
- Vị trí xếp hạng
- #13217
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
check
7.5kGiúp agent của bạn rà soát các thay đổi mã trước khi phát hành, kiểm tra diff, pull request và các bước phát hành để tìm vấn đề thực sự.
hunt
7.5kGiúp agent của bạn tìm nguyên nhân gốc của lỗi, sự cố hoặc hồi quy trước khi thay đổi bất kỳ mã nào, để bản sửa giải quyết đúng vấn đề thật.
learn
7.5kHướng dẫn agent của bạn qua một quy trình nghiên cứu có cấu trúc, từ thu thập nguồn đến một tài liệu tham khảo hoàn chỉnh, để học một chủ đề chưa quen.
read
7.5kGiúp agent của bạn lấy một trang web hoặc PDF và trả về bản tóm tắt, văn bản sạch, trích dẫn hoặc bản đã lưu, tùy theo yêu cầu của bạn.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.