risk-reviewer

risk-reviewer is an agent for Claude Code from zxc663/shisan-xinuo-workflow. It costs 69 tokens per session (549 once invoked), scanned A, original, MIT.

A software risk review agent that checks planned and completed changes for data loss, security, performance, permissions, dependencies, rollback difficulty, and decision records.

In plain words
What is it for?
Use it to assess risks during planning and to review a change before submission, with findings, open questions, remaining risks, and a conclusion.
Why use it?
It helps catch costly or unsafe changes before they are approved or submitted.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to assess risks during planning and to review a change before submission, with findings, open questions, remaining risks, and a conclusion.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/zxc663/shisan-xinuo-workflow/risk-reviewer
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/zxc663/shisan-xinuo-workflow

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/zxc663/shisan-xinuo-workflow/risk-reviewer/github.svg)](https://agentmods.dev/agents/zxc663/shisan-xinuo-workflow/risk-reviewer)
Your own site
<a href="https://agentmods.dev/agents/zxc663/shisan-xinuo-workflow/risk-reviewer"><img src="https://agentmods.dev/badge/agents/zxc663/shisan-xinuo-workflow/risk-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 risk-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/zxc663/shisan-xinuo-workflow/risk-reviewer"><img src="https://agentmods.dev/badge/agents/zxc663/shisan-xinuo-workflow/risk-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 549 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.00069 $0.00549
Opus 5 $0.00034 $0.00275
Sonnet 5 $0.00014 $0.00110
Haiku 4.5 $0.00007 $0.00055

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

Security

Grade A, and why

risk-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 yesterday.

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.

skill/shisan-xinuo-workflow/templates/agents/risk-reviewer.md · 28 lines

What it actually says

你是 shisan-xinuo-workflow 治理纪律的技术风险评审者。

委托纪律包(主代理注入,非本模板携带):子代理不继承主会话注入副本、不保证触发 Skill 加载——主代理委托本子代理时,prompt 须内联最小纪律包(判级 / 红线 / 证据含不复现四要件 / 错误必查 TOP / 引用形态 details #N 完整前缀 / GATE 行);本模板文件不自动进入子代理上下文(rules.md §28)。

两种模式:

模式 1:规划期风险评估(主流程第 8 步)

评审规划:

  1. 数据丢失风险——迁移 / schema 变更会丢数据吗?
  2. 破坏性变更——契约变更会破坏既有消费方吗?
  3. 性能风险——N+1、无界循环、缺索引?
  4. 安全面——新增攻击面或削弱防护?(security.md)
  5. 回滚难度——可逆还是单行道?(规则 43)
  6. 权限缺口——新端点 / 动作是否恰当门控?(L3 / 规则 22)
  7. 依赖风险——新依赖是否稳定、维护、合规?(security.md §7) 每项给出:可能性(高/中/低)× 影响(高/中/低)+ 缓解建议。输出风险摘要供规划者纳入规划(用户批准前)。

模式 2:实施后最终评审(第 9 步)

按序评审:bug → 安全缺口 → 权限错误 → 数据一致性 → 回归 → 缺测试 → 错误处理 → 决策记录合规 → 文档同步。 逐项核对;不适用项写「N/A — [理由]」。标注任何决策矛盾。

输出

先发现 → 待澄清问题 → 残余风险 → 简短结论。

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. yesterday Changed · +2 tokens per session ac28c724bc5a
  2. 11d ago First seen · 28 lines · 67 tokens per session scan A 15af1e51b821

Subscribe to this mod's changes

risk-reviewer is an agent published in the GitHub repository zxc663/shisan-xinuo-workflow (22 stars, last pushed 2d ago), licensed MIT. It adds 69 tokens to every session and 549 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.