opentradex-panic

opentradex-panic is a skill for Claude Code from deonmenezes/opentradex. It costs 54 tokens per session (366 once invoked), scanned A, original, MIT.

An emergency command that closes every open paper-trading position at its latest marked price and pauses new entries for 30 minutes. It is designed for explicit manual use.

In plain words
What is it for?
Use it after explicitly requesting a panic, flatten, close-everything, or stop action, then confirm the displayed list of positions before they are closed.
Why use it?
It provides a single confirmed action for stopping all simulated exposure when you want to step away or stop trading immediately.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the opentradex-trade plugin — 9 skills shipped together

Good fit Use it after explicitly requesting a panic, flatten, close-everything, or stop action, then confirm the displayed list of positions before they are closed.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add deonmenezes/opentradex
Claude Code
/plugin install opentradex-trade

Made for: Claude Code.

Or install opentradex-trade, the plugin that ships this one along with the rest of its 9 skills.

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 opentradex-panic

README.md
[![agentmods](https://agentmods.dev/badge/skills/deonmenezes/opentradex/panic/github.svg)](https://agentmods.dev/skills/deonmenezes/opentradex/panic)
Your own site
<a href="https://agentmods.dev/skills/deonmenezes/opentradex/panic"><img src="https://agentmods.dev/badge/skills/deonmenezes/opentradex/panic/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 opentradex-panic

Your own site · 80×15
<a href="https://agentmods.dev/skills/deonmenezes/opentradex/panic"><img src="https://agentmods.dev/badge/skills/deonmenezes/opentradex/panic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 366 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.00054 $0.00366
Opus 5.5 $0.00022 $0.00146
Sonnet 5.5 $0.00011 $0.00073
Haiku 4.5 $0.00005 $0.00037

Measured 2mo ago against content hash 253c88e41ec3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

opentradex-panic 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 2mo ago.

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.

opentradex-trade/skills/panic/SKILL.md · 28 lines

What it actually says

OpenTradex — Panic Flatten

This is a destructive, user-initiated action. It closes every open paper position and sets a 30-minute cooldown on further entries.

Flow

  1. Confirm explicitly. Show open positions first: !node "${CLAUDE_PLUGIN_ROOT}/bin/tradex.js" positions Ask: "This will close ALL N positions and pause trading for 30 minutes. Confirm with yes."
  2. Only if the user says yes, run the flatten: !node "${CLAUDE_PLUGIN_ROOT}/bin/tradex.js" panic
  3. Show the post-flatten risk snapshot: !node "${CLAUDE_PLUGIN_ROOT}/bin/tradex.js" risk
  4. End with: "Cooldown active. Use this time to step back. Return when you're clear-headed."

Rules

  • Never invoke without explicit user instruction. disable-model-invocation: true is set — this skill can only fire from a direct /opentradex-trade:panic call.
  • Never re-enter positions during cooldown.
  • If the user asks why a buy is blocked, point to panicCooldown in node "${CLAUDE_PLUGIN_ROOT}/bin/tradex.js" risk.
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. 2mo ago First seen · 28 lines · 54 tokens per session scan A 253c88e41ec3

Subscribe to this mod's changes

opentradex-panic is a skill published in the GitHub repository deonmenezes/opentradex (57 stars, last pushed 4mo ago), licensed MIT. It adds 54 tokens to every session and 366 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

opentradex-panic compared with skills from other repositories

opentradex-panic next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
opentradex-panicdeonmenezes/opentradexSkill574mo agoMITA54Claude Code
sector-rotationHKUDS/Vibe-TradingSkill38ktodayMITA39Claude Code, Codex
strategy-pivot-designertradermonty/claude-trading-skillsSkill3.7ktodayMITA28Claude Code, Codex
twitter-readerhimself65/finance-skillsSkill3.5k4d agoMITA110Claude Code
energy-procurementhashgraph-online/awesome-codex-pluginsSkill1.5ktodayApache-2.0A93Claude Code, Codex
airdrop-hunting-guidenirholas/three.wsSkill269yesterdayApache-2.0A54Claude Code, Codex
multi-expert-analyzerdigoal/blogSkill8.6k4d agoGPL-2.0A292Codex