guardrails-reviewer

guardrails-reviewer is a skill for Claude Code, Codex from TestAny-io/testany-agent-skills. It costs 61 tokens per session (2,778 once invoked), scanned A, original, MIT.

A review process for project guardrails, meaning shared engineering rules that govern how work is done in a repository.

In plain words
What is it for?
It is for reviewing new or changed guardrails, their evidence, their creation or update mode, and the follow-up reviews required by other workflows.
Why use it?
It checks whether the rules are justified, enforceable, correctly triggered, and usable by later workflows.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: names the TodoWrite tool.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **语言规则**:默认跟随用户输入语言;用户显式指定时以用户指定为准;不要因为本 `SKILL.md` 是中文而强制输出中文;`TRACEABILITY-METADATA` 的字段名、枚举值、ID、comment markers 始终保持英文。若本 skill 使用模板或派发子任务,继续传递同一个 `output_la.

Part of the testany-eng plugin — 21 skills, 21 commands shipped together

Good fit It is for reviewing new or changed guardrails, their evidence, their creation or update mode, and the follow-up reviews required by other workflows.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/TestAny-io/testany-agent-skills
agentmods
npx agentmods add skills/testany-io/testany-agent-skills/guardrails-reviewer

Made for: Claude Code, Codex.

Or install testany-eng, the plugin that ships this one along with the rest of its 21 skills, 21 commands.

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 guardrails-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/testany-io/testany-agent-skills/guardrails-reviewer/github.svg)](https://agentmods.dev/skills/testany-io/testany-agent-skills/guardrails-reviewer)
Your own site
<a href="https://agentmods.dev/skills/testany-io/testany-agent-skills/guardrails-reviewer"><img src="https://agentmods.dev/badge/skills/testany-io/testany-agent-skills/guardrails-reviewer/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 guardrails-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/testany-io/testany-agent-skills/guardrails-reviewer"><img src="https://agentmods.dev/badge/skills/testany-io/testany-agent-skills/guardrails-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,778 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00061 $0.02778
Opus 5 $0.00030 $0.01389
Sonnet 5 $0.00012 $0.00556
Haiku 4.5 $0.00006 $0.00278

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

Security

Grade A, and why

guardrails-reviewer 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 13d 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.

plugins/testany-eng/skills/guardrails-reviewer/SKILL.md · 231 lines

How it starts

The opening of the file, as written. The whole thing — 231 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Guardrails Reviewer

语言规则:默认跟随用户输入语言;用户显式指定时以用户指定为准;不要因为本 SKILL.md 是中文而强制输出中文;TRACEABILITY-METADATA 的字段名、枚举值、ID、comment markers 始终保持英文。若本 skill 使用模板或派发子任务,继续传递同一个 output_language。详见 ../../references/language-policy.md

你是项目级 Guardrails 准出 reviewer。你的职责不是重写规则,而是判断这份 Guardrails 是否已经达到“可作为仓库治理基线被下游消费”的标准。

核心定位

  • 审的是项目级治理基线,不是某个 feature 的实现方案。
  • 审的是完整交付物:规则正文 + 触发原因 + 生成模式 + 事实标准 + 下游重审建议。
  • 只要产生 Guardrails 变更,就应该经过 reviewer 准出。
  • 如果结论应为 no_change,reviewer 要能指出“为什么不该改 Guardrails”。

核心原则

原则 说明
先审触发判定 先看这次到底该不该改 Guardrails,再看规则内容
先审证据,再审规则 尤其是 repository_scan_first,不能把现状误当标准
workflow hooks 是准出对象 不只审规则本身,还审“改完后谁要重审、是否阻塞下游”
项目级边界优先 Guardrails 不能混入 feature-specific 设计细节
无条件通过 P0=0, P1=0, P2≤2;拒绝“差不多可以”

问题分级与准出门槛

级别 处理方式 门槛
P0 阻断 = 0
P1 严重 = 0
P2 建议 ≤ 2

P0 典型场景

  • 缺少 Guardrails 文档或当前生效版本不可访问
  • create/update/restructure/no_change 判定缺失或明显错误
  • repository_scan_first 未区分 fact / declared_standard / future_intent
  • 高风险领域规则缺失,或关键规则不可验证
  • 工作流钩子缺失,导致下游无法判断是否需要重审
  • 明显把 feature-specific 设计细节写进 Guardrails

P1 典型场景

  • 适用范围 / 非范围不清
  • 例外流程、复审周期、更新触发条件不完整
  • 事实与标准冲突已出现,但只被“模糊带过”,没有明确 drift / 待决策结论
  • 下游重审建议存在,但影响域不完整或阻塞级别不一致

P2 典型场景

  • 描述不够清晰
  • 示例不足
  • 变更摘要、影响说明不够好扫读

执行进度清单

执行时使用 TodoWrite 工具跟踪以下进度,完成一项后立即标记为 completed:

□ Phase 0:基线与动作识别
  □ 0.1 读取 Guardrails 文档或 no_change 摘要
  □ 0.2 识别本次动作类型与生成模式
  □ 0.3 AskUserQuestion 补齐范围/目标状态缺口
  □ 0.4 输出基线识别结果
□ Gate 1:触发判定与元信息
  □ 1.1 create/update/restructure/no_change 判定检查
  □ 1.2 元信息与范围检查
  □ 1.3 更新触发条件与复审周期检查
□ Gate 2:证据与事实标准
  □ 2.1 证据来源完整性检查
  □ 2.2 fact / declared_standard / future_intent 分层检查
  □ 2.3 drift / 待决策处理检查
□ Gate 3:规则质量与治理完整性
  □ 3.1 规则表完整性检查
  □ 3.2 项目级边界检查
  □ 3.3 例外流程与验证方式检查
□ Gate 4:工作流钩子与下游影响
  □ 4.1 受影响领域检查
  □ 4.2 下游重审清单检查
  □ 4.3 阻塞建议一致性检查
□ Gate 5:一致性与可落地性
  □ 5.1 与技术栈/现有规范/仓库事实冲突检查
  □ 5.2 可执行性与可验证性检查
□ Phase 6:输出结果
  □ 6.1 汇总问题清单
  □ 6.2 输出审查报告或准出证书

Read the full file on GitHub · 231 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 13d ago First seen · 231 lines · 61 tokens per session scan A e8495a2441f9

Subscribe to this mod's changes

guardrails-reviewer is a skill published in the GitHub repository TestAny-io/testany-agent-skills (82 stars, last pushed 4d ago), licensed MIT. It adds 61 tokens to every session and 2,778 once invoked, about $0.0003 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.