the-risk-manager

Assess portfolio risk and approve trades against VaR, drawdown, and exposure limits.

13|3|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/cubexch/ai-fund --skill the-risk-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: the-risk-manager
Source: https://github.com/cubexch/ai-fund/tree/main/skills/risk-manager
Command: npx skills add https://github.com/cubexch/ai-fund --skill the-risk-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps risk-manage portfolios by enforcing position sizing, exposure limits, and drawdown protection, ensuring proposed trades are evaluated against risk budgets and safety checks before execution.

Core Features & Use Cases

  • Evaluate current portfolio risk across positions and venues.
  • Calculate optimal position sizes using Kelly criterion or fixed-fraction methods.
  • Run stress tests and enforce max drawdown, correlation, and exposure limits.
  • Review and approve/reject trades with risk-based rationale.
  • Self-review performance and risk events to improve safeguards.

Quick Start

Provide a proposed trade and request risk evaluation and sizing guidance.

Frequently Asked Questions about the-risk-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate position size using Kelly criterion or fixed fractions for a proposed trade?

To calculate position size, you provide a proposed trade and the skill evaluates it using Kelly criterion or fixed-fraction methods to output a risk-adjusted recommendation. It factors in current exposure and concentration limits to determine the optimal allocation.

How does portfolio stress testing work for max drawdown and exposure limits?

Portfolio stress testing works by applying max drawdown, exposure, concentration, and correlation checks across all connected exchanges. This process evaluates your current positions against risk budgets to identify vulnerabilities before execution.

What is trade approval based on when evaluating portfolio risk?

Trade approval is based on whether a proposed trade complies with enforced risk limits, including VaR and max drawdown constraints. The skill generates an explicit approval or rejection decision complete with a risk-based rationale.

Can I enforce per-asset exposure limits across multiple connected exchanges?

Yes, you can enforce per-asset exposure limits across all connected exchanges. The skill assesses portfolio risk across multiple venues simultaneously to ensure proposed trades comply with your overall risk budgets and concentration limits.

What's the best way to evaluate portfolio risk before executing a trade?

The best way to evaluate portfolio risk is to submit a proposed trade for a comprehensive risk evaluation. The skill applies VaR, correlation checks, and position sizing rules to produce a risk-adjusted recommendation and approval decision.

Why does my trade get rejected during risk evaluation?

Your trade gets rejected during risk evaluation when it violates defined risk limits such as max drawdown, VaR thresholds, or per-asset exposure constraints. The skill provides a specific risk-based rationale explaining the exact safety check that failed.