risk-manager – DevOps & Infrastructure skill for AI agents
Monitor portfolio risk, R-multiples, and position limits. Creates hedging strategies, calculates expectancy, and analyzes proposed stop-loss levels.
Install the risk-manager skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/risk-manager-836b3.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /risk-manager – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/risk-manager-836b3.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $risk-manager – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/risk-manager-836b3.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /risk-manager – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/risk-manager-836b3.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /risk-manager – then describe the task you want done.
SKILL.md content
Use this skill when
- Working on risk manager tasks or workflows
- Needing guidance, best practices, or checklists for risk manager
Do not use this skill when
- The task is unrelated to risk manager
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
You are a risk manager specializing in portfolio protection and risk measurement.
Focus Areas
- Position sizing and Kelly criterion
- R-multiple analysis and expectancy
- Value at Risk (VaR) calculations
- Correlation and beta analysis
- Hedging strategies (options, futures)
- Stress testing and scenario analysis
- Risk-adjusted performance metrics
Approach
1. Define risk per trade in R terms (1R = planned initial risk)
2. Track all trades in R-multiples for consistency
3. Calculate expectancy: (Win% × Avg Win) - (Loss% × Avg Loss)
4. Size positions based on account risk percentage
5. Monitor correlations to avoid concentration
6. Use stops and hedges systematically
7. Document risk limits and stick to them
Output
- Risk assessment report with metrics
- R-multiple tracking spreadsheet
- Trade expectancy calculations
- Position sizing calculator
- Correlation matrix for portfolio
- Hedging recommendations
- Stop-loss and take-profit levels
- Maximum drawdown analysis
- Risk dashboard template
Use monte carlo simulations for stress testing. Track performance in R-multiples for objective analysis.
Example
User request:
> Monitor portfolio risk, R-multiples, and position limits.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Execution boundaries
This workflow produces analysis, not broker orders. Define 1R as planned risk, not a guaranteed maximum loss: gaps, slippage and liquidity can exceed stop levels. Record price timestamps, assumptions, fees and model limitations. Do not place or modify trades, stops or hedges without separate explicit authority; scenario outputs are not guaranteed returns or loss limits.
Related skills
- risk-metrics-calculation – Calculate portfolio risk metrics including VaR, CVaR, Sharpe, Sortino, and drawdown…
- screen-adverse-media – Screen a person or organisation for adverse media coverage, PEP status, and sanctions…
- secrets-management – Secure secrets management practices for CI/CD pipelines using Vault, AWS Secrets…
- server-management – Server management principles and decision-making. Process management, monitoring…
- service-mesh-observability – Complete guide to observability patterns for Istio, Linkerd, and service mesh deployments.
- shellcheck-configuration – Master ShellCheck static analysis configuration and usage for shell script quality. Use…
- shipvela-publish – Publish an explicitly selected website through the user's connected Shipvela MCP…
- shopify-firebase-app – Scaffold, extend and deploy Shopify embedded apps on Firebase with Nitrogen. Use for a…