risk-manager

risk-manager is an agent for Claude Code from PayRequest/claude-plugins. It costs 46 tokens per session (295 once invoked), scanned A, a copy of risk-manager, MIT.

A software assistant for measuring and controlling financial risk in trades and portfolios. It works with concepts such as R-multiples, where 1R represents the maximum planned loss on a trade, and Value at Risk, an estimate of potential loss.

In plain words
What is it for?
Use it to calculate position sizes, trade expectancy, correlations, drawdowns, risk-adjusted results, stop-loss levels, hedges, and stress-test scenarios.
Why use it?
It helps turn trading risk into consistent measurements, exposing oversized positions, concentrated holdings, weak expected returns, and possible losses in stressful scenarios.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to calculate position sizes, trade expectancy, correlations, drawdowns, risk-adjusted results, stop-loss levels, hedges, and stress-test scenarios.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/payrequest/claude-plugins/risk-manager
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/PayRequest/claude-plugins

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/payrequest/claude-plugins/risk-manager/github.svg)](https://agentmods.dev/agents/payrequest/claude-plugins/risk-manager)
Your own site
<a href="https://agentmods.dev/agents/payrequest/claude-plugins/risk-manager"><img src="https://agentmods.dev/badge/agents/payrequest/claude-plugins/risk-manager/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-manager

Your own site · 80×15
<a href="https://agentmods.dev/agents/payrequest/claude-plugins/risk-manager"><img src="https://agentmods.dev/badge/agents/payrequest/claude-plugins/risk-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 295 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 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.1 $0.00046 $0.00295
Opus 5.5 $0.00018 $0.00118
Sonnet 5.5 $0.00009 $0.00059
Haiku 4.5 $0.00005 $0.00030

Measured 1mo ago against content hash 46ae69b3d7f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

risk-manager 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 1mo 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-manager — 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.

agents/risk-manager.md · 42 lines

What it actually says

You are a risk manager specializing in portfolio protection and risk measurement.

Focus Areas

  • Position sizing and Kelly criterion
  • R-multiple analysis and expectancy
  • Value at Risk (VaR) calculations
  • Correlation and beta analysis
  • Hedging strategies (options, futures)
  • Stress testing and scenario analysis
  • Risk-adjusted performance metrics

Approach

  1. Define risk per trade in R terms (1R = max loss)
  2. Track all trades in R-multiples for consistency
  3. Calculate expectancy: (Win% × Avg Win) - (Loss% × Avg Loss)
  4. Size positions based on account risk percentage
  5. Monitor correlations to avoid concentration
  6. Use stops and hedges systematically
  7. Document risk limits and stick to them

Output

  • Risk assessment report with metrics
  • R-multiple tracking spreadsheet
  • Trade expectancy calculations
  • Position sizing calculator
  • Correlation matrix for portfolio
  • Hedging recommendations
  • Stop-loss and take-profit levels
  • Maximum drawdown analysis
  • Risk dashboard template

Use monte carlo simulations for stress testing. Track performance in R-multiples for objective analysis.

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. 1mo ago First seen · 42 lines · 46 tokens per session scan A 46ae69b3d7f7

Subscribe to this mod's changes

risk-manager is an agent published in the GitHub repository PayRequest/claude-plugins (11 stars, last pushed 1y ago), licensed MIT. It adds 46 tokens to every session and 295 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to risk-manager, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

token-economics-designer

Token economics and tier design specialist. Use when designing pricing models, access tiers, or token distribution strategies.

Matt-Dionis/claude-code-configs · 28 tokens

ic-challenger

The toughest person on the investment committee with 30 years of CRE experience spanning three full cycles. Challenges every assumption with data and forces analysts to defend their work to the highest standard. Produces structured challenge memos that systematically stress-test investment theses. Deploy this agent…

mariourquia/cre-skills-plugin · 85 tokens

soleur-finance-budget-analyst

Use this agent when you need to create budget plans, analyze spending allocation, model burn rate scenarios, or review budget-to-actual variance. Use soleur-operations-ops-advisor for expense tracking and vendor cost research; use this agent for budget planning and allocation analysis. Use soleur-finance-cfo for…

jikig-ai/soleur · 78 tokens

financial-integrity-auditor

Audits ONE completed CodeOps phase diff for monetary-correctness defects — idempotency of money-moving operations, duplicate-submission and double-spend windows, rounding and precision, atomicity and rollback on partial failure, reconciliation, audit-trail completeness, negative and overflow amounts, currency and unit…

blendsdk/claude-codeops · 142 tokens

pm-business-analyst

Business analysis agent for business cases, market sizing, and financial modeling. Invoke when users need to assess investment feasibility, calculate TAM/SAM/SOM, model pricing strategies, analyze unit economics (LTV, CAC, NRR), or build financial projections. Trigger keywords: business case, financial model, market…

geekatron/jerry · 107 tokens

royalty-audit-analyst

Audits normalized music royalty ledgers and royalty workpapers for completeness, gross-to-net issues, duplicate imports, timing errors, PRO/MLC anomalies, and NPS/NLS support.

recoupable/skills · 46 tokens