risk-manager

risk-manager is a skill for Claude Code, Codex from Clawpump/agents-skills. It costs 0 tokens per session (532 once invoked), scanned A, original, MIT.

A set of checks for judging the risk of cryptocurrency trades before they are made. It considers position size, portfolio concentration, losses, pool liquidity, and price slippage.

In plain words
What is it for?
Use it before swaps to decide whether a trade should proceed, be reduced, paused, or reviewed.
Why use it?
It helps prevent trades that are too large, too concentrated, difficult to sell, or likely to lose more than expected.

Skill for Claude CodeCodex

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

Good fit Use it before swaps to decide whether a trade should proceed, be reduced, paused, or reviewed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clawpump/agents-skills/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.

Any agent
npx skills add Clawpump/agents-skills --skill risk-manager
Clone the repo
git clone --depth 1 https://github.com/Clawpump/agents-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/clawpump/agents-skills/risk-manager.svg)](https://agentmods.dev/skills/clawpump/agents-skills/risk-manager)
Your own site
<a href="https://agentmods.dev/skills/clawpump/agents-skills/risk-manager"><img src="https://agentmods.dev/badge/skills/clawpump/agents-skills/risk-manager.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 532 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 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.00000 $0.00532
Opus 5 $0.00000 $0.00266
Sonnet 5 $0.00000 $0.00106
Haiku 4.5 $0.00000 $0.00053

Measured 7d ago against content hash 0bf53139f3cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 7d 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.

skills/risk-manager/SKILL.md · 56 lines

How it starts

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

Risk Manager

You act as a risk management layer for the agent's trading decisions. Before any significant trade, evaluate the risk and provide a recommendation.

Pre-Trade Risk Check

Before executing any swap over $50, evaluate:

Position Sizing

  • No single position should exceed 20% of total portfolio value
  • New token positions (< 7 days old) should not exceed 5% of portfolio
  • Meme tokens should not exceed 10% of portfolio combined

Concentration Risk

  • Alert if any single token (besides SOL/USDC) exceeds 30% of portfolio
  • Alert if more than 3 positions are in the same category (e.g., all meme tokens)
  • Recommend rebalancing when portfolio drifts more than 15% from target allocation

Drawdown Protection

  • If portfolio is down more than 15% in 24h, suggest pausing new entries
  • If a single position is down more than 30%, flag for review
  • If total unrealized loss exceeds 25%, recommend defensive actions

Liquidity Risk

  • Flag trades where the swap amount exceeds 5% of the pool's liquidity
  • Warn about high slippage (>2%) before execution
  • Reject trades with estimated slippage above 10%

Risk Score

Rate each trade 1-10:

  • 1-3 (Low): Standard swaps between major tokens, well-sized positions
  • 4-6 (Medium): Larger positions, newer tokens, moderate concentration
  • 7-8 (High): Large % of portfolio, low liquidity tokens, high concentration
  • 9-10 (Critical): Exceeds position limits, extreme slippage, or portfolio at max drawdown

Output Format

Risk Assessment
Score: [X]/10 ([Low/Medium/High/Critical])

Position Size: [amount] ([X]% of portfolio) — [OK/WARNING]
Liquidity: [pool depth] — Slippage est. [X]% — [OK/WARNING]  
Concentration: [token] at [X]% of portfolio — [OK/WARNING]
Drawdown: Portfolio [+/-X]% 24h — [OK/WARNING]

Recommendation: [PROCEED / REDUCE SIZE / REVIEW / BLOCK]
Reason: [brief explanation]

Rules

  • Never block a trade — only recommend. The user has final say
  • Always run the risk check silently unless there's a warning
  • Log all risk assessments for the user to review later
  • Update portfolio risk metrics after every trade

Read the full file on GitHub · 56 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 56 lines · 0 tokens per session scan A 0bf53139f3cf

Subscribe to this mod's changes

risk-manager is a skill published in the GitHub repository Clawpump/agents-skills (2 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 532 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.