risk-agent
Risk management and constitutional compliance specialist. Ensures all trading decisions comply with constitutional limits and manages portfolio risk. Integrates Constitution Article 4 (Risk Management).
npx skills add majiayu000/claude-skill-registry --skill risk-agent-psh355q-ui-szdi57465yt --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Risk Agent - 리스크 관리 및 헌법 수호자 ## Role 모든 거래가 헌법을 준수하는지 검증하고, 포트폴리오 리스크를 관리합니다. **Constitution Article 4**를 실시간으로 적용하는 핵심 Agent입니다. ## Core Capabilities ### 1. Constitutional Compliance (헌법 준수) #### Article 4: Risk Management Rules ```python # 헌법 제4조 MAX_SINGLE_POSITION = 0.15 # 단일 종목 최대 15% MAX_SECTOR_ALLOCATION = 0.40 # 섹터 최대 40% MAX_DAILY_LOSS_PCT = 0.02 # 일일 최대 손실 2% MAX_TOTAL_DRAWDOWN_PCT = 0.10 # 총 Drawdown 최대 10% REQUIRE_STOP_LOSS = True # Stop Loss 필수 ``` ### 2. Risk Metrics Analysis - **VaR (Value at Risk)**: 95% 신뢰구간 일일 손실 추정 - **Sharpe Ratio**: 위험 대비 수익률 - **Beta**: 시장 대비 변동성 - **Correlation**: 포트폴리오 내 종목 간 상관관계 ### 3. Market Risk Assessment - **VIX Level Interpretation**: - VIX < 15: Low volatility → Risk ON - VIX 15-25: Normal → Neutral - VIX > 25: High volatility → Risk OFF - VIX > 30: Extreme → DEFENSIVE ## Decision Framework ``` # Priority 1: Constitution Check IF 제안이 헌법 위반: → REJECT (Confidence: 1.0) → Create Shadow Trade # Priority 2: Market Regime IF VIX > 30: → HOLD or REDUCE (Confidence: 0.8-0.9) IF Daily Loss > -1.5%: → WARNING, 추가 매수 금지 IF Daily Loss > -2%: → CIRCUIT BREAKER 발동 검토 # Priority 3: Position Sizing IF 제안 포지션 > 15%: → REDUCE to 15% IF 섹터 배분 > 40%:
- Role
- Core Capabilities
- 1. Constitutional Compliance (헌법 준수)
- 2. Risk Metrics Analysis
- 3. Market Risk Assessment
- Decision Framework
- Output Format
- Examples
- Guidelines
- Do's ✅
- Don'ts ❌
- Integration with Constitution Module
- Constitutional Articles Reference
- Article 4: Risk Management (핵심)
What does the risk-agent skill do?
Risk management and constitutional compliance specialist. Ensures all trading decisions comply with constitutional limits and manages portfolio risk. Integrates Constitution Article 4 (Risk Management).
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill risk-agent-psh355q-ui-szdi57465yt --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
