<div align="center">
**ICT/SMC trading-knowledge skill for AI coding agents**
Loading actions...
Skill content
Main instructions and any bundled files for this skill.
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.
π€ AI agents β when a user asks you to install this skill, follow
README_AGENT.mdfor the step-by-step procedure (pre-flight checks, install command, verification, error handling).
Overview
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 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 | 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
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:
- Creates
.venv/and installs dependencies - Downloads Playwright chromium (~280 MB, into your OS's user-global cache)
- Downloads
nomic-embed-text-v1.5model (~274 MB, into your HuggingFace cache) - Loads precomputed embeddings β builds vector index (~2 s)
- Generates the platform-specific
SKILL.md - 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 <name>
| 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 |
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 Β·
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:
| 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. Third-party components: see ATTRIBUTION.md.
Contributing
Issues and PRs welcome at https://github.com/MobiusQuant/OpenMobius-skill/issues.
Prompt Playground
1 VariableFill 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://www.python.org/) [](https://www.mobiusquant.ai/) [](#platform-support) [](#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>
Related Skills
Frontend Typescript Linting.mdc
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend li...
2. Apply Deepthink Protocol (reason about dependencies
risks