Detect the market regime (Bull / Bear / Sideways) for ANY asset and turn it into a tradeable signal or a risk filter.

Custom licenceAuto-check passedBusiness, Finance & HR

Install Regime

skills CLI
$ npx skills add jackson-video-resources/markov-hedge-fund-method --skill regime -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jackson-video-resources/markov-hedge-fund-method regime --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jackson-video-resources/markov-hedge-fund-method.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/regime .claude/skills/regime && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
regime
GitHub stars
484
Token cost
~1.6k tokens
SKILL.md length
678 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
Custom licence

At a glance

Detect the market regime (Bull / Bear / Sideways) for ANY asset and turn it into a tradeable signal or a risk filter.

  • Wants regime detection
  • SKILL.md covers How to invoke, The JSON contract (every field), Composition — slot it into… and Notes
  • Calls uv
  • A regime-aware confirmation on an existing strategy

What it does

Regime is an agent skill from jackson-video-resources/markov-hedge-fund-method. Detect the market regime (Bull / Bear / Sideways) for ANY asset and turn it into a tradeable signal or a risk filter. Use this whenever the user wants regime detection, a regime-aware confirmation on an existing strategy, a regime risk gate, regime-based position sizing, a Markov transition matrix, n-step regime forecasting, a stationary regime mix, or a no-lookahead walk-forward regime backtest — on a ticker (via yfinance) or on the user's own CSV price series. Composes into any existing trading agent or…

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Business, Finance & HR, covering Trading and backtesting, Forecasting and time series and Stock and market analysis. It works with yfinance. The repository describes itself as: Markov regime detection skill + one-shot install prompt + Pine indicator. Companion to Quant Series video 1. Framework by Roan (@RohOnChain).

When your agent uses it

  • Wants regime detection
  • A regime-aware confirmation on an existing strategy
  • A regime risk gate
  • Regime-based position sizing

Example prompts

  • “/regime”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit fe24cf9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Regime loads about 1.6k tokens when it runs. Until then it costs about 145 tokens; SKILL.md has 678 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~145
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 678 words (~1,644 tokens).

“This skill answers one question for any asset: what regime are we in, how sticky is it, and what does that imply for risk and direction? It's built to slot into a trading agent the user already has — as…”

— opening of SKILL.md by jackson-video-resources, Custom licence
name
regime

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/regime of jackson-video-resources/markov-hedge-fund-method.

Open the folder on GitHubat commit fe24cf9

Compare with similar skills

Regime next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Regime compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Regime this skilljackson-video-resources/markov-hedge-fund-method484—~1.6kAutomated safety check: PassCustom licence
Garch Methodmilesdeutscher/garchmethod191—~1kAutomated safety check: PassMIT
Stock Correlationhimself65/finance-skills3.4k—~3.3kAutomated safety check: PassMIT
Stock Liquidityhimself65/finance-skills3.4k—~4.9kAutomated safety check: PassMIT
Mx Stocks Screenerhiboys/ExploreFinance365—~697Automated safety check: PassNone
Akshare Online AlphaLeoYeAI/openclaw-master-skills2.2k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Garch Method

    milesdeutscher/garchmethod

    Volatility forecasting and position sizing via walk-forward GARCH(1,1).

    191 GitHub stars~1k tokensUpdated 3 mo ago
    Data & AnalyticsAuto-check passed
  • Stock Correlation

    himself65/finance-skills

    Analyze how stocks move together using Yahoo Finance price history (yfinance): find correlated peers for a ticker, measure correlation, beta, and spread between specific tickers, cluster a group…

    3.4k GitHub stars~3.3k tokensUpdated 5 days ago
    Business, Finance & HRAuto-check passed
  • Stock Liquidity

    himself65/finance-skills

    Analyze how liquid a stock is using Yahoo Finance data (yfinance): bid-ask spreads, volume and dollar volume (ADTV), top-of-book and options depth, square-root market impact and slippage estimates…

    3.4k GitHub stars~4.9k tokensUpdated 5 days ago
    Business, Finance & HRAuto-check passed
  • Mx Stocks Screener

    hiboys/ExploreFinance

    基于东方财富数据库,支持通过自然语言输入筛选A港美股、基金、债券等多种资产,支持多元指标筛选,含技术面、消息面、基本面及市场情绪等,可用于全球资产速筛、跨市场监控、投资组合构建、策略回测等场景。返回结果包含数据说明及 csv 文件。Natural language screener for investment assets across global markets, including…

    365 GitHub stars~697 tokensUpdated 3 mo ago
    Business, Finance & HRAuto-check passed
  • Akshare Online Alpha

    LeoYeAI/openclaw-master-skills

    Run Wyckoff master-style analysis from stock codes, holdings (symbol/cost/qty), cash, CSV data, and optional chart images.

    2.2k GitHub stars~1.6k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • yfinance Market Data

    HKUDS/Vibe-Trading

    Pulls price history and company research data for US, Hong Kong and Canadian stocks, ETFs and indices from Yahoo Finance, with no API key.

    35k GitHub stars~2.2k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed

Works with

Questions about Regime

What does Regime do?

Detect the market regime (Bull / Bear / Sideways) for ANY asset and turn it into a tradeable signal or a risk filter. Regime is an agent skill from jackson-video-resources/markov-hedge-fund-method. Detect the market regime (Bull / Bear / Sideways) for ANY asset and turn it into a tradeable signal or a risk filter.

When should I use Regime?

Regime fits situations like: wants regime detection; A regime-aware confirmation on an existing strategy; A regime risk gate; regime-based position sizing.

How do I install Regime in Claude Code?

Run `npx skills add jackson-video-resources/markov-hedge-fund-method --skill regime -a claude-code`. Or copy the skill folder (skills/regime in jackson-video-resources/markov-hedge-fund-method) into .claude/skills/regime in your project. Claude Code loads it when a task matches its description.

How do I install Regime in Codex?

Run `npx skills add jackson-video-resources/markov-hedge-fund-method --skill regime -a codex`. Or copy the skill folder (skills/regime in jackson-video-resources/markov-hedge-fund-method) into .agents/skills/regime in your project. Codex loads it when a task matches its description.

Can I use Regime in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jackson-video-resources/markov-hedge-fund-method --skill regime -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/regime, .gemini/skills/regime, .github/skills/regime and .opencode/skills/regime in your project.

What does Regime need to run?

Going by SKILL.md and its folder, Regime needs the command-line tools its instructions call (uv). Our summary lists: Python 3.

Does Regime access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Regime safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Regime use?

Regime has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Regime use?

About 1.6k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Regime?

Skills that share tags, products or a category with Regime: Garch Method (milesdeutscher/garchmethod, 191 stars), Stock Correlation (himself65/finance-skills, 3.4k stars), Stock Liquidity (himself65/finance-skills, 3.4k stars) and Mx Stocks Screener (hiboys/ExploreFinance, 365 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Regime?

jackson-video-resources (a GitHub organization) maintains it in jackson-video-resources/markov-hedge-fund-method, which has 484 GitHub stars. The repository was last updated on May 20, 2026.

Source: jackson-video-resources/markov-hedge-fund-method on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.