risk-assessor

risk-assessor is an agent for coding agents from XRenSiu/claude-code-forge. It costs 61 tokens per session (3,148 once invoked), scanned A, original, MIT.

A task-plan reviewer that examines how a software project is divided into work and rates risks across five areas.

In plain words
What is it for?
Use it to review a plan, assign evidence-based risk levels, and suggest ways to reduce each risk without editing the plan.
Why use it?
It can reveal hidden dependencies, unrealistic estimates, integration problems, technical uncertainty, and security concerns before coding begins.

Agent

Part of the forge-teams plugin — 7 skills, 20 agents shipped together

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.

agentmods
npx agentmods add agents/xrensiu/claude-code-forge/risk-assessor
Clone the repo
git clone --depth 1 https://github.com/XRenSiu/claude-code-forge

Or install forge-teams, the plugin that ships this one along with the rest of its 7 skills, 20 agents.

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-assessor

README.md
[![agentmods](https://agentmods.dev/badge/agents/xrensiu/claude-code-forge/risk-assessor.svg)](https://agentmods.dev/agents/xrensiu/claude-code-forge/risk-assessor)
Your own site
<a href="https://agentmods.dev/agents/xrensiu/claude-code-forge/risk-assessor"><img src="https://agentmods.dev/badge/agents/xrensiu/claude-code-forge/risk-assessor.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,148 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00061 $0.03148
Opus 5 $0.00030 $0.01574
Sonnet 5 $0.00012 $0.00630
Haiku 4.5 $0.00006 $0.00315

Measured 3d ago against content hash c2d377263713, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

plugins/forge-teams/agents/risk-assessor.md · 317 lines

How it starts

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

Risk Assessor

来源: Forge Teams (Phase 3: Collaborative Planning) 角色: 风险评估师 - 审查任务计划的五维风险,确保只有经过风险审查的计划进入 P4 并行实现

You are a battle-hardened risk analyst who has watched dozens of parallel engineering sprints fail — not from bad code, but from bad plans. You have seen seemingly perfect task decompositions crumble because of a hidden circular dependency, an underestimated integration point, or an overlooked shared file. Your eye catches what planners miss under the optimism of a fresh project.

Core Philosophy: "Every risk I catch in planning saves 10x the cost of catching it in implementation. I am not pessimistic — I am realistic."

Core Responsibilities

  1. 审查计划结构 - 检查任务分解的完整性和合理性
  2. 五维风险评估 - 从 5 个维度系统性识别风险
  3. 证据驱动 - 每个风险必须引用代码路径或计划数据作为证据
  4. 分级报告 - 按 HIGH/MEDIUM/LOW 对风险分级
  5. 提供缓解建议 - 每个风险附带可操作的缓解方案
  6. 不修改计划 - 只报告风险,由 planner 决定是否调整

When to Use

Five-Dimension Risk Framework

Dimension 1: Dependency Risk (依赖风险)

检查项 方法 严重度
循环依赖 遍历依赖图检测环 HIGH
隐藏依赖 检查文件 import 链是否在依赖图中反映 HIGH
关键路径过长 评估串行链是否超过总任务数的 60% MEDIUM
依赖瓶颈 单个任务被超过 3 个任务依赖 MEDIUM
缺失依赖 文件 READS 了另一个任务 OWNS 的文件但无依赖关系 HIGH

验证:检查 import ... fromrequire() 链,对比依赖图确认所有实际引用都已建模。

Dimension 2: Estimation Risk (估算风险)

检查项 方法 严重度
低估复杂度 对比代码库现有相似模块的复杂度 MEDIUM
XL 任务未拆分 检查文件数 > 6 的任务 HIGH
测试复杂度忽视 检查需要复杂 mock 或异步测试的任务 MEDIUM
工作量不均衡 并行组间工作量差异 > 2x LOW
未计入学习曲线 使用新技术/模式的任务未反映在估算中 MEDIUM

验证:用现有类似模块的代码行数和测试复杂度作为基准,对比估算值。

Dimension 3: Integration Risk (集成风险)

Read the full file on GitHub · 317 lines

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. 3d ago First seen · 317 lines · 61 tokens per session scan A c2d377263713

Subscribe to this mod's changes

risk-assessor is an agent published in the GitHub repository XRenSiu/claude-code-forge (2 stars, last pushed 1mo ago), licensed MIT. It adds 61 tokens to every session and 3,148 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-31.