drawdown-circuit-breaker

drawdown-circuit-breaker is a skill for Claude Code, Codex from ntaffzii/Skill-Agents. It costs 97 tokens per session (1,007 once invoked), scanned A, original, MIT.

A rule that checks how far an account has fallen from its highest equity and decides whether to trade at full size, reduced size, or not at all.

In plain words
What is it for?
It is for applying a preset risk limit, reducing position sizes, or temporarily stopping new trades after a defined drawdown.
Why use it?
It removes the need to make risk decisions during a losing period, when emotional decisions can lead to larger losses.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for applying a preset risk limit, reducing position sizes, or temporarily stopping new trades after a defined drawdown.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ntaffzii/skill-agents/drawdown-circuit-breaker
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ntaffzii/Skill-Agents --skill drawdown-circuit-breaker
Clone the repo
git clone --depth 1 https://github.com/ntaffzii/Skill-Agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for drawdown-circuit-breaker

README.md
[![agentmods](https://agentmods.dev/badge/skills/ntaffzii/skill-agents/drawdown-circuit-breaker/github.svg)](https://agentmods.dev/skills/ntaffzii/skill-agents/drawdown-circuit-breaker)
Your own site
<a href="https://agentmods.dev/skills/ntaffzii/skill-agents/drawdown-circuit-breaker"><img src="https://agentmods.dev/badge/skills/ntaffzii/skill-agents/drawdown-circuit-breaker/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for drawdown-circuit-breaker

Your own site · 80×15
<a href="https://agentmods.dev/skills/ntaffzii/skill-agents/drawdown-circuit-breaker"><img src="https://agentmods.dev/badge/skills/ntaffzii/skill-agents/drawdown-circuit-breaker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,007 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.01007
Opus 5 $0.00048 $0.00504
Sonnet 5 $0.00019 $0.00201
Haiku 4.5 $0.00010 $0.00101

Measured 10d ago against content hash 195158e873c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

drawdown-circuit-breaker scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (gate.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/trading/drawdown-circuit-breaker/SKILL.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Drawdown Circuit Breaker

Overview

Deciding "should I cut my size after a rough stretch?" in the moment is a documented weak point — loss-averse or revenge-trading decisions tend to be worse than a rule set in advance while calm. This skill applies a pre-committed, mechanical rule: given account equity's peak and current value, it returns whether new positions should be full-size, reduced, or halted.

Not financial advice. This is a mechanical rule over numbers you supply, not a prediction that further decline is or isn't coming.

When to use

  • ตั้งกฎลดขนาดโพซิชันหรือหยุดเทรดชั่วคราวเมื่อพอร์ตขาดทุนถึงระดับที่กำหนด
  • Checking whether current account drawdown crosses a pre-defined threshold
  • Deciding the size multiplier to apply to position-sizer's output after a losing stretch

When NOT to use

  • The user wants a market-timing signal (predicting further decline) — this is a risk-management rule about the user's own account state, not a market forecast
  • No peak-equity/current-equity tracking exists yet — this skill needs those two numbers; if the user doesn't track equity curve, that's a prerequisite to set up first (see trader-memory-core)

Core knowledge

Drawdown: (peak_equity - current_equity) / peak_equity × 100. If current equity is a new high, drawdown is 0, not negative — a circuit breaker only cares about decline from the high-water mark.

Default illustrative thresholds (starting point, not a validated rule — tune to the user's own risk tolerance and strategy history):

Drawdown Action Size multiplier
< 10% Full size 1.0×
10-14.9% Reduced size 0.5×
≥ 15% Halt new positions

When multiple thresholds are crossed, the most severe governs (an 18% drawdown triggers "halt," not "reduced," even though it also crosses the 10% threshold).

Why mechanical rules over judgment calls: the entire point of a circuit breaker is that the threshold and response are decided before the emotionally difficult moment, not during it — a rule that gets overridden in the moment provides none of its intended benefit.

Read the full file on GitHub · 63 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 63 lines · 97 tokens per session scan A 195158e873c7

Subscribe to this mod's changes

drawdown-circuit-breaker is a skill published in the GitHub repository ntaffzii/Skill-Agents (4 stars, last pushed yesterday), licensed MIT. It adds 97 tokens to every session and 1,007 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.