跳到主要内容
知仓学习社ZHICANG

audit-agent-onboarding

Use to lint a repo's agent onboarding files (AGENTS.md, CLAUDE.md, .claude/rules/*.md) for bloat, contradictions, duplication, stale or vague comman…

不碰外部(只输出文字)无严重或高危命中hashgraph-online/awesome-codex-plugins

它会碰到什么

扫了多少1 个文本文件,4 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Auditing agent onboarding files

Static + cross-reference linter for instruction-file smells. Read-only: this

skill never writes files. It produces a findings report; applying fixes is

update-agent-onboarding's job (content) or the user's (structure).

Announce at start: "Using audit-agent-onboarding to lint the onboarding files."

Usage: audit-agent-onboarding [--stats]

--stats: compression receipts

Read .aiboarding/state.json:receipts and render a table: file, level, bytes and

lines before/after, percent saved, measured-at. Label token figures approximate

when the receipt does (they are byte/4 estimates unless a real tokenizer produced

them). Since instruction files load every session, per-session savings compound -

present "per-session saved × sessions" only as a clearly labeled estimate. For each

receipt, render optional high_consequence_regions evidence as location, category,

outcome (preserved or rewritten), and explicit opt-in status, without instruction

text. Render an empty array as none; when field is absent, render not recorded.

Keep existing level, byte, line, date, and token output unchanged. Then stop.

Evidence-aware audit

Run .aiboarding/tools/audit-onboarding-evidence <repo-root> first (fallback:

the plugin's templates/tools/audit-onboarding-evidence). Capture its lines and

exit status. Exit 0 means no computed FAIL; 1 means computed validation FAIL;

2 is an operational error: stop and report tooling failure, never render it as an

audit finding. Do not write onboarding files in either case.

Each finding has independent severity (FAIL, WARN, INFO) and provenance

(computed, inferred). Preserve validator provenance and render one report

ordered FAIL, WARN, INFO. Never upgrade model judgment to computed.

| Category | Evidence |

| --- | --- |

| Local size budget; Codex project-chain budget; wrapper integrity | Computed |

| Stale commands | Mixed: validator only for explicit paths, package scripts, Make/Just targets; infer unresolved context-dependent cases |

| Duplication; contradictions; vague commands; missing sections; skill leakage; lint leakage; rules extraction candidates; unsafe content | Inferred |

Then review inferred categories and unresolved command references across AGENTS.md,

CLAUDE.md, and .claude/rules/*.md:

  1. Duplication - imported or README content restated meaningfully.
  2. Contradictions - instructions whose scope or intent conflicts.
  3. Stale commands - only commands validator cannot prove absent.
  4. Vague commands - imperative guidance lacking usable invocation.
  5. Missing sections - absent guardrail or verification guidance, not headings alone.
  6. Skill/lint leakage and rules extraction candidates - ownership and scope need judgment.
  7. Unsafe content - secrets and destructive-command framing need context; do not quote secrets.

Report

Output findings ordered FAIL → WARN → INFO, each with provenance, file, location,

one-line rationale, and concrete fix. Example:

FAIL [computed] wrapper-integrity CLAUDE.md:1 — missing @AGENTS.md import; add it.
WARN [computed] size-budget AGENTS.md:1 — 24001 bytes > budget 24000; compress it.
WARN [inferred] vague-commands AGENTS.md:8 — "run tests" lacks invocation; name command.

End with one-line verdict and handoff: content fixes → offer

update-agent-onboarding (approval gate applies); compression fixes →

compress-onboarding. Suggestions are never auto-applied.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 1,027
本站分层T1
该仓技能数1910
原文件路径plugins/gustavo-meilus/aiboarding/skills/audit-agent-onboarding/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 1910 个技能