Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add ryanzhao1011/workframe/plugin install coreWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ryanzhao1011/workframe/audit)<a href="https://agentmods.dev/skills/ryanzhao1011/workframe/audit"><img src="https://agentmods.dev/badge/skills/ryanzhao1011/workframe/audit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ryanzhao1011/workframe/audit"><img src="https://agentmods.dev/badge/skills/ryanzhao1011/workframe/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00026 | $0.04046 |
| Opus 5.5 | $0.00010 | $0.01618 |
| Sonnet 5.5 | $0.00005 | $0.00809 |
| Haiku 4.5 | $0.00003 | $0.00405 |
Grade A, and why
audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/core:audit 审计维护活动
后台自迭代另读 workframe-selfiter status --project <项目根> 的采证漏斗、作业的逐主题结论与旧 AUTO 待批记录,按作业编号串起来源、建议、延期/失败与复测;人类可读摘要在状态目录 selfiter/history.md。inconclusive 单列,不算成功或失败;模型建议不计为实际写入。发现恢复中的 journal 要说明,不以存在 result 文件推断整个变更闭环。审计不批准提案、不启动模型、不改待批状态。
用途
用户显式 /core:audit 时执行。Claude 不会自动调用(disable-model-invocation: true)。
回答五类问题:
- 最近 N 天自动发生了什么维护动作?(events.jsonl 聚合)
- 有没有 T3/T4 待处理项?(activity-state.pending_maintenance + proposals/pending/)
- 有没有失败的提案或低成功率的 skill?(skill-metrics.yaml)
- board summary 是否健康?(current drift + 近 30 天修复历史)
- skill-metrics 是否刷新?(
skill_metrics_recomputed事件 + 当前generated_at)
输入
参数格式(自由文本):
- 无参数 → 默认近 14 天
7d/30d→ 指定窗口spotcheck=<n>→ 纪律抽查每扇门抽最近 n 场会话(默认 3)--record→ 报告照常输出,并在末尾追加一条discipline_spotcheck事件(见「纪律抽查」一节最后一步);不带就一个字节都不写
audit 默认只读;带
--record时追加一条抽查事件,其余不写——dismiss 等写操作迁到/core:maintenance-review --dismiss <PM-ID>。这样 audit 与 maintenance-review 的边界清晰:audit 报告状态,maintenance-review 修改状态。
执行步骤
- Read
.workframe/state/activity-state.json— 拿 session_counter / dormant / pending_maintenance / recent_drift_repairs - Read
.workframe/state/skill-metrics.yaml— 最近窗口的 skill/rule 汇总 - 读取
.workframe/state/events.jsonl近 N 天 — 按 type 分组统计(含 summary_drift_repaired / summary_drift_repair_skipped) - Glob
projects/proposals/pending/*.yaml— 列出待审批提案 - Glob
projects/proposals/applied/*.yaml过滤verified: null— 列出待闭环验证 - Board summary drift check(只读不改):
- 调用只读检查命令(插件根取
$WF_PLUGIN_ROOT,即会话开场注入的「本会话插件根」,不依赖 PATH):python "$WF_PLUGIN_ROOT/bin/workframe-audit-board-drift" - 输出文本格式:
actual: total=N, counts={pending:..,...}, unknown=[..] summary: total=M, counts={pending:..,...} drift: <empty | field1=summary→actual, field2=...> - audit 只解析
drift:行决定是否展示 drift 状态;不调用workframe-recompute-board-summary(那个会写文件,违反 audit 默认只读的约束)。修复路径走 SessionStart drift check 自动 /workframe-recompute-board-summary兜底命令 - 调用方式说明:
${CLAUDE_PLUGIN_ROOT}在 agent Bash 上下文不可用,CC 官方的 pluginbin/PATH 注入在部分环境也不生效(Windows + directory 订阅实测未注入),故统一走$WF_PLUGIN_ROOT配方——它是会话开场注入的「本会话插件根」(正在执行的这扇门的那一份,正斜杠绝对路径),执行前换成那个路径。若环境里workframe-audit-board-drift恰好已在 PATH,裸调等价
- 调用只读检查命令(插件根取
- 纪律抽查:按下方「纪律抽查」一节抽样、判定,结果进报告的「纪律抽查」段;只有用户这次带了
--record,才执行该节最后一步的写入
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago Changed 95b6d41f2b68
- 15d ago Changed · +2 lines 70bff08b1c0e
- 1mo ago Changed · +71 lines 416cdaf64441
- 3mo ago First seen · 113 lines · 26 tokens per session scan A d3511a49eee2
audit is a skill published in the GitHub repository ryanzhao1011/workframe (9 stars, last pushed 5d ago), licensed MIT. It adds 26 tokens to every session and 4,046 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| auditryanzhao1011/workframe | Skill | 9 | 5d ago | MIT | A | 26 | Claude Code |
| html-prototypemayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 97 | Claude Code |
| feature-acceptancemayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 192 | Claude Code |
| prdmayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 202 | Claude Code |
| ui-walkthroughmayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 231 | Claude Code |
| gbgcielebak/goal-by-goal | Skill | 1 | 5mo ago | MIT | A | 150 | Claude Code |
| competitor-researchmayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 123 | Claude Code |