agentleFS
ancs21ancs21/ai-sub-invest/.claude/skills/risk-manager/SKILL.md

risk-manager

Skill19 starsChanged 11 months agoMITView on GitHub

Apply risk management rules to trading decisions including position sizing and portfolio constraints. Use when sizing positions or validating trades against risk limits.

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Risk Management

Overview

Volatility-adjusted position sizing and portfolio risk constraints.

Analysis Process

Run Risk Analysis

python .claude/skills/risk-manager/scripts/calculate.py {TICKER} {START_DATE} {END_DATE} {PORTFOLIO_VALUE}

Risk Rules

Position Sizing

  • Max position size: 20% of portfolio
  • Max single trade: 10% of available cash
  • Volatility-adjusted sizing

Risk Limits

  • Low volatility (<15%): Up to 25% allocation
  • Medium volatility (15-30%): 15-20% allocation
  • High volatility (>30%): 10-15% allocation
  • Very high volatility (>50%): Max 10% allocation

Portfolio Constraints

  • Maintain cash buffer: 10% minimum
  • Correlation limits for diversification
  • Sector concentration limits

Output

  • Position limits per ticker
  • Recommended position sizes
  • Risk warnings if any

Example

Calculate position limits for AAPL with $100,000 portfolio.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.