From hyperliquid-trading-agent
Audit current portfolio against configured risk limits — flag positions over caps, missing stop-losses, excessive concentration, or approaching circuit breakers. Use when the user asks "am I within my risk limits?", "audit my risk", or before a high-stakes session.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hyperliquid-trading-agent:risk-auditThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Uses `hyperliquid-trading-agent` MCP. Read-only.
Uses hyperliquid-trading-agent MCP. Read-only.
get_risk_limits() — pull the configured caps.get_account_state() — balance, equity, positions.get_open_orders() — to detect positions missing protective triggers.check_losing_positions() — any position over the loss cap.For each, output PASS / WARN / FAIL with a one-line explanation.
| Check | Logic |
|---|---|
| Concurrent positions | len(positions) < max_concurrent_positions |
| Position size | every position notional < max_position_pct of total_value |
| Total exposure | sum of notional < max_total_exposure_pct of total_value |
| Leverage | each position notional / balance < max_leverage |
| Daily drawdown | not within striking distance of daily_loss_circuit_breaker_pct |
| Balance reserve | balance >= min_balance_reserve_pct of initial |
| Stop-loss coverage | every long has an SL trigger; every short has an SL trigger |
| Force-close queue | check_losing_positions() empty |
Lead with overall status: GREEN / YELLOW / RED. Then the table. Then a punch list of recommended actions in priority order.
If any FAIL, ask the user whether they want you to remediate (close, resize, or attach missing SL).
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub rsantamaria01/hyperliquid-trading-agent --plugin hyperliquid-trading-agent