vibe-trading

vibe-trading is a skill for Claude Code, Codex from skloxo/TideTrading. It costs 139 tokens per session (4,605 once invoked), scanned A, original, MIT.

A finance research toolkit for backtesting, factor analysis, options pricing, market data, trade-journal analysis, and extracting rules for a simulated trading account.

In plain words
What is it for?
Use it to test strategies, compare benchmarks, study quantitative factors, price options, analyze a trading journal, and evaluate extracted rules across supported markets.
Why use it?
It brings several investing research tasks into one command-line, web-server, or MCP setup, with core research tools that can work without API keys for Hong Kong, US, and crypto markets.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/skloxo/tidetrading/agent
Any agent
npx skills add skloxo/TideTrading --skill agent
Clone the repo
git clone --depth 1 https://github.com/skloxo/TideTrading

Made for: Claude Code, Codex.

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 vibe-trading

README.md
[![agentmods](https://agentmods.dev/badge/skills/skloxo/tidetrading/agent.svg)](https://agentmods.dev/skills/skloxo/tidetrading/agent)
Your own site
<a href="https://agentmods.dev/skills/skloxo/tidetrading/agent"><img src="https://agentmods.dev/badge/skills/skloxo/tidetrading/agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,605 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00139 $0.04605
Opus 5 $0.00069 $0.02302
Sonnet 5 $0.00028 $0.00921
Haiku 4.5 $0.00014 $0.00460

Measured 5d ago against content hash e7231204c81b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

vibe-trading 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 5d ago.

The scan reads SKILL.md. This mod also ships 57 executable files (api_server.py, backtest/__init__.py, backtest/benchmark.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

agent/SKILL.md · 350 lines

How it starts

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

Vibe-Trading

Professional finance research toolkit with AI-powered backtesting (7 engines), multi-agent teams, 79 specialized skills, the Alpha Zoo (452 pre-built quantitative alphas across qlib158 / alpha101 / gtja191 / academic with one-line CLI benchmarking), and the Shadow Account loop — extract your implicit trading rules from a journal, backtest them across A股/港股/美股/crypto, then see where they would have served you better.

Setup

pip install vibe-trading-ai

Package name vs commands: The PyPI package is vibe-trading-ai. Once installed, you get:

Command Purpose
vibe-trading Interactive CLI / TUI
vibe-trading serve Launch FastAPI web server
vibe-trading-mcp Start MCP server (for Claude Desktop, OpenClaw, Cursor, etc.)

Add to your agent's MCP config:

{
  "mcpServers": {
    "vibe-trading": {
      "command": "vibe-trading-mcp"
    }
  }
}

API Key Requirements

Core research MCP tools work with zero API keys for HK/US/crypto. After pip install, backtesting, market data, factor analysis, options pricing, chart patterns, web search, document reading, trade journal analysis, shadow-account extraction/backtest/report, the Alpha Zoo (452 pre-built alphas), and all 79 skills are ready to use. IBKR tools require a local TWS / IB Gateway session; run_swarm requires an LLM key.

Feature Key needed When
HK/US equities & crypto None Always free (yfinance / stooq / yahoo + OKX)
China A-share data None Free via akshare / baostock / tencent / sina / eastmoney / mootdx fallback (TUSHARE_TOKEN optional for premium quality)
Premium US fundamentals/quotes FINNHUB_API_KEY / ALPHAVANTAGE_API_KEY / TIINGO_API_KEY / FMP_API_KEY Only for optional-key providers (graceful fallback to free sources)
Multi-agent swarm (run_swarm) OPENAI_API_KEY + LANGCHAIN_MODEL_NAME Swarm spawns internal LLM workers

Read the full file on GitHub · 350 lines

Files

What ships with it

60 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. 5d ago First seen · 350 lines · 139 tokens per session scan A e7231204c81b

Subscribe to this mod's changes

vibe-trading is a skill published in the GitHub repository skloxo/TideTrading (10 stars, last pushed yesterday), licensed MIT. It adds 139 tokens to every session and 4,605 once invoked, about $0.0007 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

daily-deep-brief

8 点这个时点:HK 开盘前 90 分钟,US 已收盘 4 小时。盘前是 deep think 最好的窗口 — 有完整夜间消息面,没有盘中执行压力。.

KCNyu/clawock · 163 tokens

invest-analyst

全能证券分析师工作台——把零散金融工具串成机构级工作流。覆盖个股IC研报、主题策略、事件驱动(电话会/业绩/政策/并购)、一致预期整合、行业比较、市场日报六大场景。 触发:「出一份茅台的IC报告」「写一份XX的行业深度」「XX业绩电话会纪要」「怎么看待XX政策/并购」「这个产业链有哪些标的」「分析师一致预期」「今天市场怎么样」「出个日报晨报」「这个投资论点怎么写」。 与invest系列区别:invest-stock/fund做「买不买」的判断,invest-analyst做「怎么写/怎么产出」的机构级内容交付。invest-industry做「行业是什么」,invest-analyst做「这个行业怎么投」。.

taxueseek/fund-investment-guide · 193 tokens

invest-fund

场景优先级:B(同经理) > F(跨基金对比) > G(行业) > C(次新) > E(ETF) > A(默认).

taxueseek/fund-investment-guide · 142 tokens

hk-stock-analysis

Workspace-aware Hong Kong stock analysis for kcn. Routes through clawock analyze-hk (Tencent primary + Eastmoney full-batch independent cross-check/fallback → stooq → yfinance) for price/技术指标/news, layered with HK-specific concepts — 南向资金, HSTECH 方向, 杠杆 ETF 衰减, 老千股警惕, T+0 无涨跌幅. Use when user asks about a HK ticker…

KCNyu/clawock · 126 tokens

us-stock-analysis

Workspace-aware US stock analysis for kcn. Routes through clawock analyze-us / clawock us-quotes instead of generic web search, then layers fundamental/technical/news analysis on top. Use when user asks to analyze a US ticker (e.g. "analyze AAPL", "look at RKLB", "compare TSLA vs NVDA"), check earnings, run…

KCNyu/clawock · 97 tokens

invest-cli

投资分析 CLI — 数据获取 + 分析框架一体化,dual-mode 运行。 触发:「/cli」「/投资cli」「invest cli」「终端分析」「命令行分析」 或:「用cli分析」「终端查一下」「命令行看看」 命令入口:invest-cli stock 600519(PATH 无 invest-cli 时兜底:python3 "$HOME/.agents/skills/invest-cli/scripts/investcli.py" stock 600519).

taxueseek/fund-investment-guide · 107 tokens