# Risk Manager

> Risk Manager

- Skill: `solizardking/risk-manager` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add solizardking/risk-manager`
- Raw SKILL.md: https://api.skillmd.com/api/skills/solizardking/risk-manager/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: Solizardking (https://skillmd.com/u/solizardking)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/solizardking/risk-manager

---

# 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

