Risk Management

Compute risk severity and apply actions to gate quotes.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/trudumb/hyper_make --skill risk-management-trudumb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Risk Management
Source: https://github.com/trudumb/hyper_make/tree/main/.claude/skills/domains/risk-management
Command: npx skills add https://github.com/trudumb/hyper_make --skill risk-management-trudumb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Layered risk system that gates every quote cycle to prevent catastrophic loss and steer quoting behavior toward safety.

Core Features & Use Cases

  • Layered risk monitors (LossMonitor, PositionMonitor, CascadeMonitor, DataStalenessMonitor, DrawdownMonitor, RateLimitMonitor)
  • Circuit breaker and KillSwitch integration for emergency shutdowns
  • PositionGuard and Re-entry after drawdown for controlled recovery
  • SafetyAuditor for periodic reconciliation and cleanup
  • Debugging workflows to diagnose quote gating or spread widening

Quick Start

Review the RiskState and tune monitors to gate quotes during risk events.

Frequently Asked Questions about Risk Management

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

FAQPage Schema
How do I implement a circuit breaker to gate quotes and prevent catastrophic loss in a market maker?

A circuit breaker gates every quote cycle by computing a unified RiskState snapshot through a RiskAggregator workflow, applying severity-based actions to the quote engine to prevent catastrophic loss. It triggers emergency shutdowns via a KillSwitch.

How does risk aggregation work when monitoring multiple risk events simultaneously?

Risk aggregation works by implementing a RiskMonitor trait across layered monitors like LossMonitor and PositionMonitor. The RiskAggregator workflow computes the maximum severity across all monitors and applies corresponding actions to the quote engine.

Why are my quotes being gated or spreads widening during market making operations?

Quotes are gated and spreads widen when risk monitors detect threshold breaches like data staleness, excessive drawdown, or rate limit violations. The aggregator evaluates these layered risk events and adjusts quoting behavior toward safety.

How do I safely re-enter the market after a drawdown triggers a position guard?

Re-entry after drawdown is handled by the PositionGuard component, which controls recovery after risk events. You must review the RiskState snapshot and tune the DrawdownMonitor parameters to safely resume quoting cycles.

Can I add custom risk monitors to the existing risk management workflow?

Yes, you can add custom risk monitors by implementing the RiskMonitor trait. The RiskAggregator workflow automatically integrates new monitors into the unified RiskState snapshot to compute max severity and apply gating actions.

What is the best way to audit and reconcile risk controls for market making safety?

The best way to audit risk controls is using the SafetyAuditor component for periodic reconciliation and cleanup. It works alongside the RiskState snapshot to ensure layered monitors, circuit breakers, and kill switches function correctly.