risk-profile

risk-profile is a command for Claude Code from cakemail/cakemail-api-documentation-mcp. It costs 0 tokens per session (2,101 once invoked), scanned A, a copy of risk-profile, MIT.

A command that creates a risk assessment for a software story, using the chance of a problem and its potential effect. A software story is a small, defined piece of work in a development project.

In plain words
What is it for?
Use it to review technical, security, performance, data, business, and operational risks for a story. It produces mitigation strategies and testing priorities.
Why use it?
It helps identify and rank likely problems before implementation, instead of leaving risks scattered or overlooked. It also connects risk levels with mitigation and testing focus.

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/cakemail/cakemail-api-documentation-mcp/risk-profile
Clone the repo
git clone --depth 1 https://github.com/cakemail/cakemail-api-documentation-mcp

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/cakemail/cakemail-api-documentation-mcp/risk-profile.svg)](https://agentmods.dev/commands/cakemail/cakemail-api-documentation-mcp/risk-profile)
Your own site
<a href="https://agentmods.dev/commands/cakemail/cakemail-api-documentation-mcp/risk-profile"><img src="https://agentmods.dev/badge/commands/cakemail/cakemail-api-documentation-mcp/risk-profile.svg" alt="Measured on agentmods" height="20"></a>
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 2,101 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.02101
Opus 5 $0.00000 $0.01051
Sonnet 5 $0.00000 $0.00420
Haiku 4.5 $0.00000 $0.00210

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

Security

Grade A, and why

risk-profile 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 4d 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.

Origin

This is a copy

100% identical to risk-profile — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/BMad/tasks/risk-profile.md · 360 lines

How it starts

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

/risk-profile Task

When this command is used, execute the following task:

risk-profile

Generate a comprehensive risk assessment matrix for a story implementation using probability × impact analysis.

Inputs

required:
  - story_id: '{epic}.{story}' # e.g., "1.3"
  - story_path: 'docs/stories/{epic}.{story}.*.md'
  - story_title: '{title}' # If missing, derive from story file H1
  - story_slug: '{slug}' # If missing, derive from title (lowercase, hyphenated)

Purpose

Identify, assess, and prioritize risks in the story implementation. Provide risk mitigation strategies and testing focus areas based on risk levels.

Risk Assessment Framework

Risk Categories

Category Prefixes:

  • TECH: Technical Risks
  • SEC: Security Risks
  • PERF: Performance Risks
  • DATA: Data Risks
  • BUS: Business Risks
  • OPS: Operational Risks
  1. Technical Risks (TECH)

    • Architecture complexity
    • Integration challenges
    • Technical debt
    • Scalability concerns
    • System dependencies
  2. Security Risks (SEC)

    • Authentication/authorization flaws
    • Data exposure vulnerabilities
    • Injection attacks
    • Session management issues
    • Cryptographic weaknesses
  3. Performance Risks (PERF)

    • Response time degradation
    • Throughput bottlenecks
    • Resource exhaustion
    • Database query optimization
    • Caching failures
  4. Data Risks (DATA)

    • Data loss potential
    • Data corruption
    • Privacy violations
    • Compliance issues
    • Backup/recovery gaps
  5. Business Risks (BUS)

    • Feature doesn't meet user needs
    • Revenue impact
    • Reputation damage
    • Regulatory non-compliance
    • Market timing
  6. Operational Risks (OPS)

    • Deployment failures
    • Monitoring gaps
    • Incident response readiness
    • Documentation inadequacy
    • Knowledge transfer issues

Risk Analysis Process

1. Risk Identification

For each category, identify specific risks:

risk:
  id: 'SEC-001' # Use prefixes: SEC, PERF, DATA, BUS, OPS, TECH
  category: security
  title: 'Insufficient input validation on user forms'
  description: 'Form inputs not properly sanitized could lead to XSS attacks'
  affected_components:
    - 'UserRegistrationForm'
    - 'ProfileUpdateForm'
  detection_method: 'Code review revealed missing validation'

Read the full file on GitHub · 360 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. 4d ago First seen · 360 lines · 0 tokens per session scan A 10631b470ff6

Subscribe to this mod's changes

risk-profile is a command published in the GitHub repository cakemail/cakemail-api-documentation-mcp (0 stars, last pushed 11mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,101 tokens. A static security scan graded it A with 0 findings. It is 100% identical to risk-profile, differing in 0 lines, and is treated as a copy.