risk-report

A Git activity report that reviews recent commits for signs of change-related risk.

In plain words
What is it for?
Use it to examine risky commits, frequently changing files with many dependants, complexity growth, large changes, and areas needing better test coverage.
Why use it?
It helps focus review and testing on changes most likely to cause problems.

Command for Claude Code

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 commands/suitable-adventures/suitable-loop/risk-report
Clone the repo
git clone --depth 1 https://github.com/suitable-adventures/suitable-loop

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 153 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.00000 $0.00153
Opus 5 $0.00000 $0.00077
Sonnet 5 $0.00000 $0.00031
Haiku 4.5 $0.00000 $0.00015

Measured yesterday against content hash 18906dffdbe7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

.claude/commands/risk-report.md · 13 lines

What it actually says

Analyze recent git activity and produce a risk report.

Steps:

  1. Use analyze_recent_changes on this repo (last 30 commits)
  2. For the top 3 riskiest commits, use analyze_commit to get detailed breakdowns
  3. Use hotspot_report on this repo to cross-reference with code hotspots

Then produce a report covering:

  • Top 5 riskiest commits with their risk scores and key factors (complexity delta, blast radius, churn, lines changed)
  • For each risky commit: what files were touched and why it's risky
  • Current hotspots: files that change frequently AND are heavily depended upon
  • Actionable recommendations: which changes deserve extra review, which areas need better test coverage
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 First seen · 13 lines · 0 tokens per session scan A 18906dffdbe7

Subscribe to this mod's changes

risk-report is a command published in the GitHub repository suitable-adventures/suitable-loop (0 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 153 tokens. 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.