risk-assessment

risk-assessment is a skill for Claude Code, Codex from nirholas/three.ws. It costs 29 tokens per session (1,204 once invoked), scanned A, original, Apache-2.0.

A framework for evaluating the risk of a crypto or investment portfolio. It examines concentration, relationships between assets, price volatility, leverage, and dependence on particular protocols or blockchains.

In plain words
What is it for?
Use it to measure portfolio risk, find over-concentrated positions, study correlations, stress-test scenarios, and judge whether exposure matches a risk tolerance.
Why use it?
It helps reveal risks that may be missed by looking at each holding separately. It also provides a way to test how a portfolio might behave in different market conditions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to measure portfolio risk, find over-concentrated positions, study correlations, stress-test scenarios, and judge whether exposure matches a risk tolerance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nirholas/three.ws/risk-assessment
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.

Any agent
npx skills add nirholas/three.ws --skill risk-assessment
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/risk-assessment/github.svg)](https://agentmods.dev/skills/nirholas/three.ws/risk-assessment)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/risk-assessment"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/risk-assessment/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-assessment

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/three.ws/risk-assessment"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/risk-assessment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,204 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00029 $0.01204
Opus 5.5 $0.00012 $0.00482
Sonnet 5.5 $0.00006 $0.00241
Haiku 4.5 $0.00003 $0.00120

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

Security

Grade A, and why

risk-assessment 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 2mo 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.

data/skills/portfolio/risk-assessment/SKILL.md · 111 lines

How it starts

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

Portfolio Risk Assessment

When to use this skill

Use when the user asks about:

  • Understanding their portfolio's overall risk level
  • Identifying hidden risks or correlations
  • Stress-testing their portfolio against market scenarios
  • Reducing portfolio risk without sacrificing too much upside
  • Evaluating whether their risk exposure matches their tolerance

Risk Assessment Framework

1. Concentration Risk

Analyze portfolio distribution:

  • Single-asset concentration: Any position > 25% of portfolio is high concentration risk
  • Sector concentration: Total exposure to a single sector (e.g., all DeFi tokens) shouldn't exceed 40%
  • Chain concentration: Everything on one chain means single-point-of-failure risk (bridge hack, chain halt)
  • Herfindahl Index: Calculate HHI = sum of squared weights. Below 0.15 = diversified, above 0.25 = concentrated
Risk Level Characteristic
Low No single asset > 15%, no sector > 30%, 3+ chains
Medium One asset 15-25%, sector up to 40%, 2+ chains
High One asset > 25%, sector > 40%, single chain
Critical One asset > 50%, or all in one protocol

2. Correlation Analysis

Assess how positions move together:

  • High correlation cluster: BTC, ETH, and most alts are highly correlated in drawdowns (correlation 0.7-0.95 during crashes)
  • Diversification reality: Holding 10 different altcoins does NOT provide meaningful diversification if they all drop 60% together
  • True diversification assets: Stablecoins, potentially BTC (lower beta during moderate corrections)
  • Negative correlation: Stablecoins and short positions provide true hedge, but at a carry cost
  • Correlation increases in crisis: Diversification benefits shrink exactly when you need them most

3. Volatility Risk Profile

Quantify the portfolio's volatility exposure:

  • Weighted average volatility: Sum of (position weight * asset 30d annualized volatility)
  • Maximum drawdown exposure: Estimate worst-case based on historical max drawdowns of each asset
  • $Value at Risk: At 95% confidence over 24h, how much could the portfolio lose?
  • Beta to BTC: How much does the portfolio move per 1% BTC move? Beta > 1.5 is aggressive

Read the full file on GitHub · 111 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. 2mo ago First seen · 111 lines · 29 tokens per session scan A 39360b603ef5

Subscribe to this mod's changes

risk-assessment is a skill published in the GitHub repository nirholas/three.ws (287 stars, last pushed yesterday), licensed Apache-2.0. It adds 29 tokens to every session and 1,204 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

risk-assessment compared with skills from other repositories

risk-assessment next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
risk-assessmentnirholas/three.wsSkill287yesterdayApache-2.0A29Claude Code, Codex
pay-x402-servicenirholas/x402-payments-mcpSkill919d agoApache-2.0A51Claude Code
manage-productsnorman-finance/norman-mcp-serverSkill66yesterdayMITA61Claude Code
hotel-price-drop-rebookAwardTravelFinder/mcpSkill18todayMITA70Claude Code
pinepaulieb89/pinescript-mcpSkill1211d agoMITA216Claude Code
cfo-stripe-collectionsmelaya-labs/melaya-mcpSkill16d agoApache-2.0A90Claude Code
cfo-unit-economicsmelaya-labs/melaya-mcpSkill16d agoApache-2.0A0Claude Code