<div align="center">

**ICT/SMC trading-knowledge skill for AI coding agents**

Views0
PublishedMay 30, 2026

Loading actions...

5 minBeginnerpromptSingle file

Skill content

Main instructions and any bundled files for this skill.

markdown

OpenMobius-skill

ICT/SMC trading-knowledge skill for AI coding agents

A SKILL.md-standard skill bringing 964 curated knowledge cards, real-time market data, technical indicators, and chart generation to Claude Code, Codex, OpenClaw, and Hermes.


License Python Website Platforms Knowledge Base

English Β· δΈ­ζ–‡ Β· πŸ“œ Changelog


πŸ€– AI agents β€” when a user asks you to install this skill, follow README_AGENT.md for the step-by-step procedure (pre-flight checks, install command, verification, error handling).


Overview

OpenMobius-skill demo
Works on Claude Code, Codex, OpenClaw, and Hermes.

Drop this skill into your AI coding agent and ask trading questions in plain language. The skill grounds every answer in a curated knowledge base + real market data β€” no hallucinated price levels, no generic "looks bearish" hand-waving.

You askThe skill does
"What is Fair Value Gap, how to trade it?"Vector-retrieves FVG concept card + related (CISD / OTE / Premium-Discount) β€” answers with cited rules from the knowledge base
Attach a BTCUSDT 1h chart + "analyze this"Identifies asset β†’ fetches real OHLCV β†’ extracts FVG / OB / sweep / displacement β†’ outputs 5-section reply with exact prices + auto-annotated PNG
"How is BTC 1h looking?" (no chart)Live data fetch + built-in SMC structural indicator (BOS/CHoCH, Order Blocks, FVGs, equal H/L, premium-discount zones, strong/weak pivots) β†’ KB-grounded analysis
"What's on BTC?" (user names a specific indicator)Pass-through to the indicator API β€” no auto-fetch of indicators the user did not name
Paste a CSV of OHLCVParses β†’ local structural extraction (fallback when API unavailable) β†’ KB cross-reference β†’ 5-section reply
"Generate a chart with my entry/SL/target"Rendered chart via Playwright + lightweight-charts

Quick start

git clone https://github.com/MobiusQuant/OpenMobius-skill.git /tmp/openmobius-src
cd /tmp/openmobius-src
python install.py --platform claude-code      # or codex / openclaw / hermes / all

rm -rf /tmp/openmobius-src                     # βœ“ clone is ephemeral; safe to delete

The installer copies source files into ~/.claude/skills/OpenMobius-skill/ (or your chosen platform's skills dir), then in that directory:

  1. Creates .venv/ and installs dependencies
  2. Downloads Playwright chromium (~280 MB, into your OS's user-global cache)
  3. Downloads nomic-embed-text-v1.5 model (~274 MB, into your HuggingFace cache)
  4. Loads precomputed embeddings β†’ builds vector index (~2 s)
  5. Generates the platform-specific SKILL.md
  6. Runs a health check

Each platform install is self-contained: it owns its own .venv and _index. The clone is just a one-shot source bundle.

First run: ~5–10 min Β· Subsequent runs (python install.py --update): <1 min

After install, in your AI agent just ask:

"What is Liquidity Sweep"
[attach chart] "analyze this setup"
"How is ETH 4h looking, give me a chart"
"BTC 1h structure check"

Prerequisites: Python 3.10+. See INSTALL.md for details.


Platform support

python install.py --platform &#x3C;name>
PlatformFlagDefault install path
Claude Code--platform claude-code (default)~/.claude/skills/OpenMobius-skill/
Codex--platform codex~/.codex/skills/OpenMobius-skill/
OpenClaw--platform openclaw~/.openclaw/skills/OpenMobius-skill/
Hermes--platform hermes~/.hermes/skills/market-data/OpenMobius-skill/
Auto-detect--platform autoscans ~/.<agent> dirs
All four--platform allloops through all

Each platform install is fully self-contained (its own .venv, its own _index). The nomic model and Playwright chromium live in your OS's user-global cache, shared across platforms β€” so installing on N platforms doesn't NΓ— the download.


Features

Knowledge base β€” 380 concepts + 584 cases

Distilled from 130 ICT/SMC teaching videos. Each concept card carries: identification rules, trading implications, common mistakes, related concepts. Each case card carries: market context, key observation, analysis steps, lessons. Retrieved via local ChromaDB + multilingual nomic-embed-text-v1.5 β€” no API key needed for retrieval.

Real-time data + 60+ indicators

Crypto (Binance, Bybit, OKX, Hyperliquid), China A-shares, Hong Kong stocks, US stocks, forex. Each indicator carries built-in analysis dimensions (summary_focus) that the agent reads to structure its answer rather than dumping raw numbers.

Two chart-generation paths

PathMethodOutput
Annotate user's imagePILAnnotated copy preserving the original chart
Generate fresh chartlightweight-charts in headless chromiumNew K-lines + FVG/OB rectangles + sweep lines + swing markers

Auto-invoked by description matching

The SKILL.md description field triggers on natural-language questions. The skill routes to one of four workflows: Q&A Β· analyze Β· annotate Β· klines.


Roadmap

Knowledge base

  • ICT/SMC coverage completion β€” Round 1 distilled the ICT trunk from 130 teaching videos; upcoming rounds complete ICT sub-schools (Inner Circle Mentorship, Silver Bullet, Power of 3 variants) and full SMC coverage.
  • Fundamental knowledge base β€” interpretation methodologies for news, policy reads, economic releases (CPI / NFP / FOMC) and earnings seasons.
  • Multi-school expansion β€” beyond ICT/SMC, add Wyckoff (volume/price action), VSA, Volume Profile / Market Profile, and classic Price Action (Al Brooks style).

Indicators & tools

  • Expanded SMC indicator coverage β€” the built-in SMC structural indicator covers BOS/CHoCH, Order Blocks, FVGs, equal H/L, premium- discount zones and strong/weak pivot labels today. Upcoming: Killzone windows, Stop Run / Inducement events, and per-event probability scoring as computable signals.

Access surfaces

  • Non-CLI entry points β€” chat-bot integrations for users who don't run a coding agent, so the knowledge base is reachable without the CLI.

Architecture

OpenMobius-skill/
β”œβ”€β”€ SKILL.md                          # main entry (LLM reads this)
β”œβ”€β”€ SKILL.body.md                     # shared body (platform-neutral)
β”œβ”€β”€ platforms/                        # per-platform frontmatter
β”‚   └── claude-code.yaml / codex.yaml / openclaw.yaml / hermes.yaml
β”œβ”€β”€ workflows/                        # detailed sub-workflows
β”‚   └── qna.md / analyze.md / annotate.md / klines.md
β”œβ”€β”€ scripts/                          # CLI tools
β”‚   β”œβ”€β”€ kb_retrieve.py                # local vector retrieval
β”‚   β”œβ”€β”€ kb_klines.py                  # API client + feature extraction
β”‚   β”œβ”€β”€ kb_draw_annotation.py         # PIL annotation
β”‚   β”œβ”€β”€ kb_phase_b_to_c.py            # analysis JSON β†’ annotated PNG
β”‚   β”œβ”€β”€ build_index.py                # build vector index
β”‚   β”œβ”€β”€ kb_doctor.py                  # env health check
β”‚   β”œβ”€β”€ chart_render/                 # lightweight-charts + headless chromium
β”‚   └── _lib/                         # embedder + retriever
β”œβ”€β”€ knowledge_base/                   # 380 concepts + 584 cases
β”œβ”€β”€ install.py                        # cross-platform installer
└── README.md / INSTALL.md

Update / Uninstall

# Update
python install.py --update
python install.py --update --rebuild-index    # also rebuild vector index

# Uninstall (soft β€” remove platform registration only)
python install.py --uninstall
python install.py --uninstall --platform all  # all platforms

# Uninstall fully (.venv + index too)
python install.py --uninstall --full

# Full purge (also delete shared chromium + nomic caches β€” these may be
# used by other projects on your machine, so confirm before running)
python install.py --uninstall --purge --yes-i-know

See INSTALL.md for all flags.


Troubleshooting

.venv/bin/python scripts/kb_doctor.py

Reports the state of: venv, deps, nomic model, vector index, CJK fonts, skill registration, API connectivity.

Common issues:

SymptomFix
Chinese labels render as boxesInstall fonts-noto-cjk (Linux); macOS/Windows usually bundled
API request failsCheck network; see api.mobiusquant.ai/api/health
Skill not auto-invoking in Claude CodeCheck ~/.claude/skills/OpenMobius-skill exists; restart agent
chroma.sqlite3 not found.venv/bin/python scripts/build_index.py

License

Apache 2.0 β€” see LICENSE. Third-party components: see ATTRIBUTION.md.

Contributing

Issues and PRs welcome at https://github.com/MobiusQuant/OpenMobius-skill/issues.

Built for AI coding agents Β· Apache 2.0

Prompt Playground

1 Variable

Fill Variables

Preview

<div align="center">

# OpenMobius-skill

**ICT/SMC trading-knowledge skill for AI coding agents**

A `SKILL.md`-standard skill bringing 964 curated knowledge cards, real-time
market data, technical indicators, and chart generation to
**Claude Code**, **Codex**, **OpenClaw**, and **Hermes**.

<br>

[![License](https://img.shields.io/badge/license-Apache_2.0-blue.svg)](./LICENSE)
[![Python](https://img.shields.io/badge/python-3.10%2B-3776ab.svg)](https://www.python.org/)
[![Website](https://img.shields.io/badge/🌐_website-mobiusquant.ai-FF7E29.svg)](https://www.mobiusquant.ai/)
[![Platforms](https://img.shields.io/badge/platforms-Claude_Code_Β·_Codex_Β·_OpenClaw_Β·_Hermes-9333ea.svg)](#platform-support)
[![Knowledge Base](https://img.shields.io/badge/knowledge_base-964_cards-22c55e.svg)](#features)

[English](./README.md) Β· [δΈ­ζ–‡](./README.zh.md) Β· πŸ“œ [Changelog](./CHANGELOG.md)

</div>

---

> **πŸ€– AI agents** β€” when a user asks you to install this skill,
> follow [`README_AGENT.md`](./README_AGENT.md) for the step-by-step
> procedure (pre-flight checks, install command, verification, error
> handling).

---

## Overview

<div align="center">
  <img src="./docs/assets/demo.gif" alt="OpenMobius-skill demo" width="780">
  <br>
  <sub>Works on <b>Claude Code</b>, <b>Codex</b>, <b>OpenClaw</b>, and <b>Hermes</b>.</sub>
</div>

<br>

Drop this skill into your AI coding agent and ask trading questions in plain
language. The skill grounds every answer in a curated knowledge base + real
market data β€” no hallucinated price levels, no generic "looks bearish"
hand-waving.

| You ask | The skill does |
|---|---|
| *"What is Fair Value Gap, how to trade it?"* | Vector-retrieves FVG concept card + related (CISD / OTE / Premium-Discount) β€” answers with cited rules from the knowledge base |
| *Attach a BTCUSDT 1h chart + "analyze this"* | Identifies asset β†’ fetches real OHLCV β†’ extracts FVG / OB / sweep / displacement β†’ outputs 5-section reply with **exact prices** + auto-annotated PNG |
| *"How is BTC 1h looking?"* (no chart) | Live data fetch + built-in SMC structural indicator (BOS/CHoCH, Order Blocks, FVGs, equal H/L, premium-discount zones, strong/weak pivots) β†’ KB-grounded analysis |
| *"What's <indicator> on BTC?"* (user names a specific indicator) | Pass-through to the indicator API β€” no auto-fetch of indicators the user did not name |
| *Paste a CSV of OHLCV* | Parses β†’ local structural extraction (fallback when API unavailable) β†’ KB cross-reference β†’ 5-section reply |
| *"Generate a chart with my entry/SL/target"* | Rendered chart via Playwright + lightweight-charts |

---

## Quick start

```bash
git clone https://github.com/MobiusQuant/OpenMobius-skill.git /tmp/openmobius-src
cd /tmp/openmobius-src
python install.py --platform claude-code      # or codex / openclaw / hermes / all

rm -rf /tmp/openmobius-src                     # βœ“ clone is ephemeral; safe to delete
```

The installer copies source files into `~/.claude/skills/OpenMobius-skill/`
(or your chosen platform's skills dir), then in that directory:

1. Creates `.venv/` and installs dependencies
2. Downloads Playwright chromium (~280 MB, into your OS's user-global cache)
3. Downloads `nomic-embed-text-v1.5` model (~274 MB, into your HuggingFace cache)
4. Loads precomputed embeddings β†’ builds vector index (~2 s)
5. Generates the platform-specific `SKILL.md`
6. Runs a health check

Each platform install is **self-contained**: it owns its own `.venv` and
`_index`. The clone is just a one-shot source bundle.

**First run**: ~5–10 min Β· **Subsequent runs** (`python install.py --update`): <1 min

After install, in your AI agent just ask:

```
"What is Liquidity Sweep"
[attach chart] "analyze this setup"
"How is ETH 4h looking, give me a chart"
"BTC 1h structure check"
```

> **Prerequisites**: Python 3.10+. See [INSTALL.md](./INSTALL.md) for details.

---

## Platform support

```bash
python install.py --platform <name>
```

<div align="center">

| Platform | Flag | Default install path |
|:---|:---|:---|
| **Claude Code** | `--platform claude-code` *(default)* | `~/.claude/skills/OpenMobius-skill/` |
| **Codex** | `--platform codex` | `~/.codex/skills/OpenMobius-skill/` |
| **OpenClaw** | `--platform openclaw` | `~/.openclaw/skills/OpenMobius-skill/` |
| **Hermes** | `--platform hermes` | `~/.hermes/skills/market-data/OpenMobius-skill/` |
| Auto-detect | `--platform auto` | scans `~/.<agent>` dirs |
| All four | `--platform all` | loops through all |

</div>

Each platform install is fully **self-contained** (its own `.venv`, its own
`_index`). The nomic model and Playwright chromium live in your OS's
user-global cache, shared across platforms β€” so installing on N platforms
doesn't NΓ— the download.

---

## Features

### Knowledge base β€” 380 concepts + 584 cases

Distilled from 130 ICT/SMC teaching videos. Each concept card carries:
identification rules, trading implications, common mistakes, related
concepts. Each case card carries: market context, key observation, analysis
steps, lessons. Retrieved via local ChromaDB + multilingual
`nomic-embed-text-v1.5` β€” no API key needed for retrieval.

### Real-time data + 60+ indicators

Crypto (Binance, Bybit, OKX, Hyperliquid), China A-shares, Hong Kong stocks,
US stocks, forex. Each indicator carries built-in analysis dimensions
(`summary_focus`) that the agent reads to structure its answer rather than
dumping raw numbers.

### Two chart-generation paths

| Path | Method | Output |
|---|---|---|
| Annotate user's image | PIL | Annotated copy preserving the original chart |
| Generate fresh chart | lightweight-charts in headless chromium | New K-lines + FVG/OB rectangles + sweep lines + swing markers |

### Auto-invoked by description matching

The `SKILL.md` description field triggers on natural-language questions. The
skill routes to one of four workflows:
[Q&A](./workflows/qna.md) Β·
[analyze](./workflows/analyze.md) Β·
[annotate](./workflows/annotate.md) Β·
[klines](./workflows/klines.md).

---

## Roadmap

**Knowledge base**

- **ICT/SMC coverage completion** β€” Round 1 distilled the ICT trunk from 130
  teaching videos; upcoming rounds complete ICT sub-schools (Inner Circle
  Mentorship, Silver Bullet, Power of 3 variants) and full SMC coverage.
- **Fundamental knowledge base** β€” interpretation methodologies for news,
  policy reads, economic releases (CPI / NFP / FOMC) and earnings seasons.
- **Multi-school expansion** β€” beyond ICT/SMC, add Wyckoff (volume/price
  action), VSA, Volume Profile / Market Profile, and classic Price Action
  (Al Brooks style).

**Indicators & tools**

- **Expanded SMC indicator coverage** β€” the built-in SMC structural
  indicator covers BOS/CHoCH, Order Blocks, FVGs, equal H/L, premium-
  discount zones and strong/weak pivot labels today. Upcoming: Killzone
  windows, Stop Run / Inducement events, and per-event probability
  scoring as computable signals.

**Access surfaces**

- **Non-CLI entry points** β€” chat-bot integrations for users who don't run a
  coding agent, so the knowledge base is reachable without the CLI.

---

## Architecture

```
OpenMobius-skill/
β”œβ”€β”€ SKILL.md                          # main entry (LLM reads this)
β”œβ”€β”€ SKILL.body.md                     # shared body (platform-neutral)
β”œβ”€β”€ platforms/                        # per-platform frontmatter
β”‚   └── claude-code.yaml / codex.yaml / openclaw.yaml / hermes.yaml
β”œβ”€β”€ workflows/                        # detailed sub-workflows
β”‚   └── qna.md / analyze.md / annotate.md / klines.md
β”œβ”€β”€ scripts/                          # CLI tools
β”‚   β”œβ”€β”€ kb_retrieve.py                # local vector retrieval
β”‚   β”œβ”€β”€ kb_klines.py                  # API client + feature extraction
β”‚   β”œβ”€β”€ kb_draw_annotation.py         # PIL annotation
β”‚   β”œβ”€β”€ kb_phase_b_to_c.py            # analysis JSON β†’ annotated PNG
β”‚   β”œβ”€β”€ build_index.py                # build vector index
β”‚   β”œβ”€β”€ kb_doctor.py                  # env health check
β”‚   β”œβ”€β”€ chart_render/                 # lightweight-charts + headless chromium
β”‚   └── _lib/                         # embedder + retriever
β”œβ”€β”€ knowledge_base/                   # 380 concepts + 584 cases
β”œβ”€β”€ install.py                        # cross-platform installer
└── README.md / INSTALL.md
```

---

## Update / Uninstall

```bash
# Update
python install.py --update
python install.py --update --rebuild-index    # also rebuild vector index

# Uninstall (soft β€” remove platform registration only)
python install.py --uninstall
python install.py --uninstall --platform all  # all platforms

# Uninstall fully (.venv + index too)
python install.py --uninstall --full

# Full purge (also delete shared chromium + nomic caches β€” these may be
# used by other projects on your machine, so confirm before running)
python install.py --uninstall --purge --yes-i-know
```

See [INSTALL.md](./INSTALL.md) for all flags.

---

## Troubleshooting

```bash
.venv/bin/python scripts/kb_doctor.py
```

Reports the state of: venv, deps, nomic model, vector index, CJK fonts,
skill registration, API connectivity.

Common issues:

| Symptom | Fix |
|---|---|
| Chinese labels render as boxes | Install `fonts-noto-cjk` (Linux); macOS/Windows usually bundled |
| API request fails | Check network; see `api.mobiusquant.ai/api/health` |
| Skill not auto-invoking in Claude Code | Check `~/.claude/skills/OpenMobius-skill` exists; restart agent |
| `chroma.sqlite3` not found | `.venv/bin/python scripts/build_index.py` |

---

## License

Apache 2.0 β€” see [LICENSE](./LICENSE).
Third-party components: see [ATTRIBUTION.md](./ATTRIBUTION.md).

## Contributing

Issues and PRs welcome at
<https://github.com/MobiusQuant/OpenMobius-skill/issues>.

<div align="center">
<sub>Built for AI coding agents Β· Apache 2.0</sub>
</div>
Share: