audit

audit is a command for Claude Code from Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP. It costs 35 tokens per session (633 once invoked), scanned A, original, MIT.

A command that checks an article for factual errors and unsupported technical claims, then edits the article and reports the changes. It uses web sources for facts and compilation results for claims about C++ behavior.

In plain words
What is it for?
Use it to review an article about people, dates, specifications, citations, code behavior, or performance claims. It can update the article with warnings and details and add verified example code where needed.
Why use it?
It helps distinguish statements supported by evidence from statements that only sound plausible, such as claims about compiler optimizations or speed. It records the verification path and flags important corrections.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to review an article about people, dates, specifications, citations, code behavior, or performance claims. It can update the article with warnings and details and add verified example code where needed.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/awesome-embedded-learning-studio/tutorial_awesomemoderncpp/audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP

Made for: Claude Code.

Wrote 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.

agentmods badge for audit

README.md
[![agentmods](https://agentmods.dev/badge/commands/awesome-embedded-learning-studio/tutorial_awesomemoderncpp/audit/github.svg)](https://agentmods.dev/commands/awesome-embedded-learning-studio/tutorial_awesomemoderncpp/audit)
Your own site
<a href="https://agentmods.dev/commands/awesome-embedded-learning-studio/tutorial_awesomemoderncpp/audit"><img src="https://agentmods.dev/badge/commands/awesome-embedded-learning-studio/tutorial_awesomemoderncpp/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.

agentmods 80×15 button for audit

Your own site · 80×15
<a href="https://agentmods.dev/commands/awesome-embedded-learning-studio/tutorial_awesomemoderncpp/audit"><img src="https://agentmods.dev/badge/commands/awesome-embedded-learning-studio/tutorial_awesomemoderncpp/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 633 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00633
Opus 5.5 $0.00014 $0.00253
Sonnet 5.5 $0.00007 $0.00127
Haiku 4.5 $0.00003 $0.00063

Measured 1mo ago against content hash 7e73766161b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo 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.

.claude/commands/audit.md · 36 lines

What it actually says

/audit — 文章双审查(事实 + 严谨)

你是执行者:对目标文章做两轮审查,直接修改文章并产出报告。

输入

$ARGUMENTS —— 待审查文章路径(必填)。为空则停下问用户要路径。

方法论来源

严格按这两个 prompt 的流程和约束执行,本命令只是把它们串成一次调用。

流程

  1. 读全文,通读目标文章。
  2. 事实轮:标记需验证声明 → web search 查权威源 → 按 P0–P3 分级。
  3. 严谨轮:标记无证据的技术 / 性能断言 → 编译验证(见硬约束)。
  4. 修正:按 factcheck 的三要素(原文摘录 / RefLink / 验证路径)插入 :::warning / :::details;rigor 轮用真实汇编 / 输出替换空口描述。验证代码写入 code/volumn_codes/vol{N}/。
  5. 报告:输出修正汇总表 + 新增引用 + 新增验证代码 + 验证清单。

硬约束(行为纪律)

  • 编译只到 /tmp/:g++ -std=c++XX -O{0,2} -o /tmp/xxx /tmp/xxx.cpp,运行 /tmp/xxx —— 分两次独立 Bash 调用,禁止 && 串联。
  • 禁止在项目目录跑 cmake / make / ninja 或建 build 目录。
  • 禁止把报告 / 日志写到 /tmp/ 或任何位置 —— 报告直接作为返回文本输出。
  • 只修改目标文章 + 对应 code/volumn_codes/ 目录。
  • 写作风格:维护者环境按 .claude/tools/content_forge/writing_style.md(审稿规约)并尽量跑其 tools/humanizer_lint.py;目录不存在(公开 checkout)则遵循 writing-style.md。
Changes

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.

  1. 1mo ago Changed 7e73766161b8
  2. 3mo ago First seen · 36 lines · 35 tokens per session scan A 913324f28e10

Subscribe to this mod's changes

audit is a command published in the GitHub repository Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP (380 stars, last pushed yesterday), licensed MIT. It adds 35 tokens to every session and 633 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-30.

Related

audit compared with commands from other repositories

audit next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auditAwesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPPCommand380yesterdayMITA35Claude Code
designlaborany/laboranyCommand876mo agoMITA0Claude Code
exportlaborany/laboranyCommand876mo agoMITA0Claude Code
validateImL1s/GUI-AnythingCommand52mo agoApache-2.0A0Claude Code
refineImL1s/GUI-AnythingCommand52mo agoApache-2.0A0Claude Code
listImL1s/GUI-AnythingCommand52mo agoApache-2.0A0Claude Code
design-qt-quick-uithecompez/ai-for-modern-cppCommand282d agononeA0Claude Code