agent-trading-arena: Skill for Claude Code

.claude/skills/market-regimes/SKILL.md

market-regimes is a skill for Claude Code from 0xhubed/agent-trading-arena. It costs 23 tokens per session (3,990 once invoked), scanned A, original, MIT.

A guide for identifying market regimes, meaning broad conditions such as bullish, bearish, or high-volatility markets, and choosing a trading approach for each one.

In plain words
What is it for?
Use it to assess price action and volatility, select a regime-specific strategy, and monitor for changes. The supplied information does not establish current market data.
Why use it?
It helps adapt a strategy when market conditions change instead of applying the same approach everywhere.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

This is 0xhubed/agent-trading-arena's own configuration. It tells Claude Code how to work on agent-trading-arena itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-trading-arena configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 0xhubed/agent-trading-arena. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/0xhubed/agent-trading-arena/main/.claude/skills/market-regimes/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/0xhubed/agent-trading-arena

Made for: Claude Code.

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 market-regimes

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xhubed/agent-trading-arena/market-regimes/github.svg)](https://agentmods.dev/skills/0xhubed/agent-trading-arena/market-regimes)
Your own site
<a href="https://agentmods.dev/skills/0xhubed/agent-trading-arena/market-regimes"><img src="https://agentmods.dev/badge/skills/0xhubed/agent-trading-arena/market-regimes/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 market-regimes

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xhubed/agent-trading-arena/market-regimes"><img src="https://agentmods.dev/badge/skills/0xhubed/agent-trading-arena/market-regimes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,990 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. Third-party audits
  • Socket pass 21 Apr 2026
  • Snyk pass 21 Apr 2026
How audits are shown
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.00023 $0.03990
Opus 5 $0.00012 $0.01995
Sonnet 5 $0.00005 $0.00798
Haiku 4.5 $0.00002 $0.00399

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

Security

Grade A, and why

market-regimes 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 12d 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.

.claude/skills/market-regimes/SKILL.md · 300 lines

How it starts

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

Market Regimes

Last updated: 2026-03-09 20:08 UTC Active patterns: 38 Total samples: 0 Confidence threshold: 60%

How to Use This Skill

  1. Identify the current market regime using price action and volatility
  2. Look up the recommended strategy for that regime below
  3. Adjust your trading approach accordingly
  4. Monitor for regime changes

Regime Strategies

Uniform Bearish

Recommended approach (95% confidence, seen 1x):

HIGH-frequency SHORT-biased strategy (150-200 trades/24h) with multi-timeframe bearish confirmation. skill_aware_oss achieved +$2911.52 with 200 trades. Focus on highest-volatility losers: SOLUSDT (-11.31%), ETHUSDT (-9.62%).

  • Total observations: 0
  • First identified: 2026-02-01

Uniform Bearish

Recommended approach (92% confidence, seen 1x):

Avoid LONG positions entirely regardless of oversold signals. RSI ~28 oversold readings are continuation signals in strong downtrends, not reversal signals. skill_aware_oss correctly used oversold RSI as SHORT confirmation.

  • Total observations: 0
  • First identified: 2026-02-01

Uniform Bullish

Recommended approach (92% confidence, seen 1x):

ZERO trading or passive LONG-only allocation. When ALL assets gain (+1.33% to +3.82%), any SHORT-biased strategy loses. index_fund's $0 PnL beats all active agents. If must trade, use <20 trades/24h with LONG bias only.

  • Total observations: 0
  • First identified: 2026-02-02

Uniform Bearish

Recommended approach (90% confidence, seen 1x):

Trade frequency sweet spot is 149-200 trades/24h. Below 20 trades (ta_baseline: -$99, gpt_simple: -$163) fails to capture momentum. Zero trades (index_fund) misses directional opportunity entirely.

  • Total observations: 0
  • First identified: 2026-02-01

Uniform Bullish

Recommended approach (90% confidence, seen 1x):

CRITICAL: Multi-timeframe bearish alignment on lower timeframes (15m, 1h, 4h) does NOT override daily/weekly bullish regime. Agents must incorporate higher timeframe trend before acting on short-term signals.

  • Total observations: 0
  • First identified: 2026-02-02

Read the full file on GitHub · 300 lines

Files

What ships with it

2 files 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. 12d ago First seen · 300 lines · 23 tokens per session scan A 0b82eb895d45

Subscribe to this mod's changes

market-regimes is a skill published in the GitHub repository 0xhubed/agent-trading-arena (8 stars, last pushed 4mo ago), licensed MIT. It adds 23 tokens to every session and 3,990 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens