---
name: trader-risk-fce2e9754f09
description: Assess portfolio risk using npx neural-trader — VaR, CVaR, Sharpe, position sizing, circuit breaker status
allowed-tools: Bash Read mcp__claude-flow__memory_store mcp__claude-flow__memory_search
argument-hint: "[--symbol TICKER] [--portfolio NAME]"
---
Assess portfolio and position risk using neural-trader's risk engine.

Steps:
1. Ensure neural-trader is available:
   `npm ls neural-trader 2>/dev/null || npm install neural-trader`
2. Run risk assessment:
   ```bash
   # Single position
   npx neural-trader --risk assess --symbol TICKER
   npx neural-trader --var --symbol TICKER --investment 10000

   # Portfolio-wide
   npx neural-trader --risk assess --portfolio NAME
   npx neural-trader --correlation --portfolio NAME --flag-threshold 0.8
   ```
3. Calculate position sizing:
   ```bash
   npx neural-trader --risk-tolerance 0.02 --symbol TICKER
   npx neural-trader --position-sizing kelly --symbol TICKER
   ```
4. Check circuit breaker status:
   - Daily loss limit (3%), weekly loss limit (5%)
   - Correlation spike (>0.85), volatility regime (VIX > 2x)
   - Max positions, single-name concentration (>10%)
5. Present: risk metrics, position sizing recommendation, active breakers, alerts
6. Store assessment:
   `mcp__claude-flow__memory_store({ key: "risk-TICKER-DATE", value: "RISK_METRICS", namespace: "trading-risk" })`


---
Source attribution: wodeh
Original project: https://github.com/wodeh/ruflo-kimi/blob/257ccb7e80a2619f8af236554ae6f0ca362abfa6/plugins/ruflo-neural-trader/skills/trader-risk/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2024-2026 ruvnet

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: wodeh
Original project: https://github.com/wodeh/ruflo-kimi/blob/257ccb7e80a2619f8af236554ae6f0ca362abfa6/plugins/ruflo-neural-trader/skills/trader-risk/SKILL.md
Attribution basis: Source repository record

Fields of work: Finance & Accounting
Roles: CFO / FP&A, Financial Analyst
Specialties: API
Tools: Neural Trader
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: d19103a364bcdb78820e17ce9683abdfb760d15ed0435d40e3e37736fbfce1ea
