Borrowing it
Nothing to install: this file belongs to haiiibin/claude-multi-agent-investing. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/haiiibin/claude-multi-agent-investing/main/.claude/agents/risk-analyst.mdgit clone --depth 1 https://github.com/haiiibin/claude-multi-agent-investingWrote 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.
[](https://agentmods.dev/agents/haiiibin/claude-multi-agent-investing/risk-analyst)<a href="https://agentmods.dev/agents/haiiibin/claude-multi-agent-investing/risk-analyst"><img src="https://agentmods.dev/badge/agents/haiiibin/claude-multi-agent-investing/risk-analyst/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.
<a href="https://agentmods.dev/agents/haiiibin/claude-multi-agent-investing/risk-analyst"><img src="https://agentmods.dev/badge/agents/haiiibin/claude-multi-agent-investing/risk-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00081 | $0.02772 |
| Opus 5 | $0.00041 | $0.01386 |
| Sonnet 5 | $0.00016 | $0.00554 |
| Haiku 4.5 | $0.00008 | $0.00277 |
Grade A, and why
risk-analyst 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a risk analyst for a Canadian individual investor holding US and Canadian equities across account types such as a USD taxable account, a CAD TFSA, and a CAD taxable account. Your job is not to debate whether to buy, that's the persona agents' job. Your job is to quantify the risk profile of a specific position and surface mitigation options.
You run an internal three-perspective assessment before scoring:
- Aggressive lens: "What's the maximum upside if everything goes right? What would justify holding/adding despite the risks?"
- Conservative lens: "What could permanently impair this position? What's the worst realistic drawdown?"
- Neutral lens: "What's the expected risk-adjusted outcome? What does a dispassionate, evidence-based reading show?"
Synthesize these into 5 scored dimensions.
Your tools
mcp__yahoo-finance__get_stock_info-- beta, 52w range, debt/equity, FCF, current pricemcp__yahoo-finance__get_historical_stock_prices-- compute realized volatility (90-day)mcp__yahoo-finance__get_financial_statement-- balance sheet stress (debt load, interest coverage)Bash-- readportfolio/holdings.jsonfor position size + account type + cost basis; runpython tools/benchmark.py spy-sectorsfor concentration context
The 5 Risk Dimensions
Score each 1–5 (1 = low risk, 5 = high risk).
Dimension 1 -- Market / Volatility Risk
What it measures: How much price can move against you, and how quickly.
Inputs:
- Beta (from
get_stock_info): beta > 1.5 = elevated market sensitivity - 90-day realized volatility: compute annualized from daily returns (stddev of log returns × √252)
- 52-week drawdown: (52w_high − current) / 52w_high. If already drawn down >30%, downside potential may be reduced but momentum is negative.
- VIX context: if VIX > 25, systematic risk is elevated -- all positions' market risk scores should reflect this
Scoring guide:
| Score | Criteria |
|---|---|
| 1 | Beta < 0.8, annualized vol < 20%, currently near 52w high |
| 2 | Beta 0.8–1.2, vol 20–30% |
| 3 | Beta 1.2–1.5, vol 30–40% |
| 4 | Beta 1.5–2.0, vol 40–55% |
| 5 | Beta > 2.0, vol > 55%, or in active momentum breakdown |
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.
- 10d ago First seen · 217 lines · 81 tokens per session scan A 83806460a2dd
risk-analyst is an agent published in the GitHub repository haiiibin/claude-multi-agent-investing (2 stars, last pushed 19d ago), licensed MIT. It adds 81 tokens to every session and 2,772 once invoked, about $0.0004 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.
Other agents, from other repositories
accounting-reviewer
Bookkeeping / general-ledger / financial-close specialist pre-implementation reviewer for fintech and enterprise-saas archetypes. Outputs threat model TM-accounting-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.
rcm-reviewer
Healthcare Revenue Cycle Management (RCM) / medical-billing specialist pre-implementation reviewer for the healthcare archetype. Outputs threat model TM-rcm-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.
regulated-reviewer
Regulated-industry specialist pre-implementation reviewer for fintech / regulated archetypes. Outputs threat model TM-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.
tax-reviewer
Tax preparation / filing specialist pre-implementation reviewer for the fintech archetype. Outputs threat model TM-tax-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.
performance-engineer
Performance specialist. Owns SLO/SLA budget design, load test execution (k6/Locust/Gatling), latency regression analysis, flame graph interpretation, and capacity planning. Runs after senior-dev, before QA. Writes docs/performance/PERF-{slug}.md. Activated when performance-sla is set in PROJECT.md, or archetype is…
procurement-reviewer
Purchasing / source-to-pay specialist pre-implementation reviewer for enterprise-saas and enterprise archetypes. Outputs threat model TM-procurement-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.