loss streak circuit breaker

    by nowrich

    1

    Automated risk management skill that enforces tiered cooldowns and trading halts based on loss streaks and violations.

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLI+17 more

    See it in action

    You say

    Check risk state. Last three trades were losses of 1% each. No current cooldown. One rule violation detected for trading outside hours.

    Your agent does

    circuit_breaker: level: 3 consecutive_losses: 3 violations: 1 action: stop-trading cooldown_until: null reason: "Rule violation during a 3-loss streak escalated status." required_user_action: "Manual override and recovery plan required"

    What you get

    Calculate current loss streaks from recent trade history data.Automatically reduce position sizing by 50% after two losses.Mandate a one-hour cooldown period after a three-loss streak.Halt all trading activity upon detection of manual rule violations.Provide structured risk alerts for automated execution engines.

    About this skill

    The problem

    Traders often struggle with emotional discipline during losing streaks, leading to revenge trading and catastrophic account blowups. Manual risk management usually fails exactly when it is needed most: during the heat of consecutive losses.

    What it does

    • Analyzes trade history to calculate consecutive loss streaks and resets on wins.
    • Monitors for specific rule violations like stop-loss ignoring or unauthorized overrides.
    • Triggers tiered circuit breakers ranging from 50% risk reduction to total trading halts.
    • Enforces mandatory cooldown periods and trade reviews before resuming activity.
    • Generates structured YAML alerts for downstream execution engines to block orders.

    Why this beats prompting it yourself

    This skill implements a strict state-machine logic that handles edge cases like data gaps with conservative defaults. It prevents the LLM from being "talked out" of a cooldown by an emotional user, ensuring capital preservation through immutable risk tiers rather than vague advice.

    Use cases

    • Enforcing a 50% position size reduction after two consecutive losses.
    • Locking out new entries for 60 minutes after a third loss to prevent revenge trading.
    • Escalating to a hard stop when a trader ignores a previously set risk limit.
    • Generating post-mortem review summaries before allowing a return to normal risk.

    Known limitations

    Requires external state persistence (memory, file, or DB) to track streaks between sessions. Does not execute trades directly; it provides the logic and status for an execution layer.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    Listedtoday

    Frequently Asked Questions

    Popular in Business & Operations