audit-prompt-version

audit-prompt-version is a command for Claude Code from 854771076/oh-my-claude-roles. It costs 21 tokens per session (315 once invoked), scanned A, original, MIT.

A command for reviewing changes to AI prompts against version-control and code-review rules. It checks items such as version numbers, commit messages, tests, sensitive information, file locations, and required approvals.

In plain words
What is it for?
Use it to audit a selected range of prompt files and commits, then produce a report stating whether the changes meet the stated standards.
Why use it?
It helps catch process, security, testing, and release mistakes before prompt changes are merged or deployed.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to audit a selected range of prompt files and commits, then produce a report stating whether the changes meet the stated standards.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/854771076/oh-my-claude-roles/audit-prompt-version
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/854771076/oh-my-claude-roles

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-prompt-version

README.md
[![agentmods](https://agentmods.dev/badge/commands/854771076/oh-my-claude-roles/audit-prompt-version/github.svg)](https://agentmods.dev/commands/854771076/oh-my-claude-roles/audit-prompt-version)
Your own site
<a href="https://agentmods.dev/commands/854771076/oh-my-claude-roles/audit-prompt-version"><img src="https://agentmods.dev/badge/commands/854771076/oh-my-claude-roles/audit-prompt-version/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-prompt-version

Your own site · 80×15
<a href="https://agentmods.dev/commands/854771076/oh-my-claude-roles/audit-prompt-version"><img src="https://agentmods.dev/badge/commands/854771076/oh-my-claude-roles/audit-prompt-version.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 315 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.00021 $0.00315
Opus 5 $0.00010 $0.00158
Sonnet 5 $0.00004 $0.00063
Haiku 4.5 $0.00002 $0.00032

Measured 11d ago against content hash 0de1843d1e8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

audit-prompt-version 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 11d 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.

packages/ai/Prompt/v1.0.0/commands/audit-prompt-version.md · 31 lines

What it actually says

命令内容

对指定范围的提示词版本变更进行合规性审核,确认是否符合企业版本管理规范。

变更范围:$ARGUMENTS

执行步骤:

  1. 使用Git获取指定范围的所有变更文件和提交信息
  2. 检查变更合规性:
    • 版本号是否遵循语义化版本规范
    • 提交信息是否符合Conventional Commits规范
    • 是否附带了对应测试报告,测试是否全部通过
    • 是否存在敏感信息硬编码、违规技术栈使用等问题
    • 文件存储位置是否符合统一仓库、按模块分类规范
  3. 检查Code Review流程是否合规,是否有至少两名审批人
  4. 输出版本变更审核报告,给出是否可以合并上线的结论

检查要点:

  • 必须检查所有变更文件,不能遗漏
  • 必须确认敏感信息没有被提交到代码仓库
  • 必须确认测试流程已经完成且全部通过
  • 必须确认版本号升级符合语义化规范要求
  • 不合规变更必须明确标注问题,给出调整建议
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. 11d ago First seen · 31 lines · 21 tokens per session scan A 0de1843d1e8d

Subscribe to this mod's changes

audit-prompt-version is a command published in the GitHub repository 854771076/oh-my-claude-roles (22 stars, last pushed 5mo ago), licensed MIT. It adds 21 tokens to every session and 315 once invoked, about $0.0001 per session on Opus 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.