health-agentic-audit
БесплатноБез исполняемых скриптовНе проверенAudit skills, commands, and agents for bare CLI commands lacking compact, fail-fast, or JSON flags, and stale reviews. Use when batch-checking skill…
от laurigates★ 61 звезда на GitHubОб этом скилле
health-agentic-audit
The user-facing entry point is /health:check --scope=agentic, with --fix to apply changes; this skill is model-invoked only (user-invocable: false).
Scan all plugin skills, commands, and agents for CLI commands that would flood an agent's context: commands documented without compact, fail-fast, or machine-readable flags. Also reports skills whose reviewed date is stale.
Standards reference: .claude/rules/agentic-optimization.md, .claude/rules/skill-quality.md, and .claude/rules/context-engineering.md § Supersedes. The "Agentic Optimizations" table is optional under those rules: keep it only where the commands are the payload (CLI-wrapper skills). This audit never asks for one elsewhere and never inserts one.
When to Use This Skill
| Use this skill when... | Use another approach when... |
|---|---|
| Finding bare CLI commands in skill docs | Plugin relevance to the project stack (/health:check --scope=stack) |
Finding skills whose reviewed date is stale |
Comprehensive environment check (use /health:check) |
| Quality-checking skill documentation in batch | Plugin registry issues (/health:check --scope=registry) |
Skill overlap or split pressure (use /health:skill-audit) |
Context
- Plugin root: !
pwd - Skill files: !
find . -path ./.claude/worktrees -prune -o \( -name 'SKILL.md' -o -name 'skill.md' \) -print - Agent files: !
find . -path ./.claude/worktrees -prune -o -path '*/agents/*.md' -not -name 'README.md' -print
Parameters
| Parameter | Description |
|---|---|
--fix |
Apply the single replacement flag that REFERENCE.md names for a bare CLI command, after confirmation, and update modified on each edited file. Never inserts tables or placeholder rows |
--verbose |
Show all scanned files and detailed pattern matching results |
Execution
Execute this agentic output audit:
Step 1: Discover all plugin content files
Use the Context file lists (worktrees are pruned; each agent worktree is a full repo clone). Classify each file by type (skill, command, agent) for the report.
Step 2: Scan for bare CLI commands missing compact flags
This is the audit's primary finding. Read the execution and context sections of every file and match the commands against the Bare CLI Command Patterns table in REFERENCE.md. A command is a finding when it lacks the compact, fail-fast, or machine-readable flag its row names.
Match only commands the reader is told to run: fenced shell blocks and !`…` context commands. Prose that quotes a command as an anti-pattern is not a finding. Context commands that read a whole file (cat <file>) go in the Context Section Issues list.
Step 3: Note CLI-wrapper skills without an Agentic Optimizations table (INFO)
A missing table is at most an INFO note, and only for a CLI-wrapper skill: one whose commands are the payload, meaning at least half of its fenced shell commands start with the same tool and that tool is named in the skill's name or description. Every other skill without a table passes this step silently. INFO notes never count towards the issue total and --fix never acts on them.
Step 4: Check reviewed dates for staleness
For each skill, read the reviewed field from the YAML frontmatter, using the extraction pattern in REFERENCE.md. reviewed records when the content was last verified against current docs; modified records the last edit and says nothing about review.
- Flag
reviewedolder than 90 days as a stale review - Flag a missing
reviewedfield as never reviewed - Leave
modifiedout of this check
Step 5: Generate the audit report
Output the report template from REFERENCE.md:
- Bare CLI Commands: file, line, command, and suggested fix
- Context Section Issues: context commands using
cator verbose output - Stale Reviews (>90 days): files with an old or missing
revieweddate - CLI-Wrapper Skills Without an Agentic Optimizations Table (INFO): Step 3's notes, if any
- Summary: counts of skills/commands/agents scanned and issues found (INFO notes listed separately)
If --verbose: also list all scanned files with their status (pass/fail per check).
Step 6: Apply fixes (if --fix)
When --fix is passed:
- Collect the Bare CLI Commands findings whose REFERENCE.md row gives a replacement in its
--fix appliescolumn and whose command is the last stage of its pipeline (no|after it, so a downstream parser still gets the format it expects). Every other finding stays report-only. - Show the planned edits (file, line, old command, new command) and confirm them with
AskUserQuestionbefore writing. - Apply the confirmed edits and set
modifiedto today's date in each edited file. Leavereviewedunchanged: a flag edit is not a review. - Report which files changed a
Установить health-agentic-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(find *)Bash(head *)ReadGrepGlobTodoWriteВложенные файлы
FAQ
Что делает скилл health-agentic-audit?
Audit skills, commands, and agents for bare CLI commands lacking compact, fail-fast, or JSON flags, and stale reviews. Use when batch-checking skill documentation quality.
Как установить скилл health-agentic-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл health-agentic-audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic