Strategy Performance Report
tradesdontlie/tradingview-mcp
Builds a performance report for a backtested Pine Script strategy from TradingView data, covering metrics, trades, the equity curve and improvement ideas.
Learns profit patterns from your own trade journal, backtests them across A-share, Hong Kong, US and crypto markets, and explains the gap against real results.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add HKUDS/Vibe-Trading --skill shadow-account -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install HKUDS/Vibe-Trading shadow-account --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent/src/skills/shadow-account .claude/skills/shadow-account && rm -rf skills-srcUse ~/.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/
Install the "shadow-account" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/shadow-account into .claude/skills/shadow-account/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "shadow-account", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/shadow-accountType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add HKUDS/Vibe-Trading --skill shadow-account -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install HKUDS/Vibe-Trading shadow-account --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .agents/skills && cp -r skills-src/agent/src/skills/shadow-account .agents/skills/shadow-account && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "shadow-account" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/shadow-account into .agents/skills/shadow-account/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "shadow-account", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HKUDS/Vibe-Trading --skill shadow-account -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install HKUDS/Vibe-Trading shadow-account --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/agent/src/skills/shadow-account .cursor/skills/shadow-account && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "shadow-account" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/shadow-account into .cursor/skills/shadow-account/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "shadow-account", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/HKUDS/Vibe-Trading.git --path agent/src/skills/shadow-account--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add HKUDS/Vibe-Trading --skill shadow-account -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install HKUDS/Vibe-Trading shadow-account --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/agent/src/skills/shadow-account .gemini/skills/shadow-account && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "shadow-account" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/shadow-account into .gemini/skills/shadow-account/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "shadow-account", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install HKUDS/Vibe-Trading shadow-accountInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add HKUDS/Vibe-Trading --skill shadow-account -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .github/skills && cp -r skills-src/agent/src/skills/shadow-account .github/skills/shadow-account && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "shadow-account" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/shadow-account into .github/skills/shadow-account/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "shadow-account", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HKUDS/Vibe-Trading --skill shadow-account -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install HKUDS/Vibe-Trading shadow-account --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/agent/src/skills/shadow-account .opencode/skills/shadow-account && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "shadow-account" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/shadow-account into .opencode/skills/shadow-account/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "shadow-account", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
shadow-accountLearns profit patterns from your own trade journal, backtests them across A-share, Hong Kong, US and crypto markets, and explains the gap against real results.
A Chinese-language workflow that starts from a user's uploaded trade journal. It extracts three to five plain-language rules describing what the profitable round trips have in common, asks the user to confirm that they sound like their own style, and re-runs with a higher minimum-support setting if they do not. The rules are then backtested across the A-share, Hong Kong, US and crypto markets.
The output splits the gap between the shadow account and real results into noise trades, early exits, late exits, overtrading and missed signals, and lists the five most impactful counterfactual trades. A report is rendered as HTML and PDF, falling back to HTML only if PDF generation fails. An optional scan lists current symbols that sit in the shadow's entry window, for research only. The skill never connects to order placement, does not copy anyone else's strategy and raises an error when there are too few profitable round trips.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e532650. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Shadow Account Trade Journal Analysis loads about 567 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 136 words of instructions outside code blocks.
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.
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.
The full file from HKUDS/Vibe-Trading at commit e532650, republished under its MIT licence (© HKUDS). 136 words, ~567 tokens.
.claude/skills/shadow-account/SKILL.md (or your agent's skills folder).当用户说 "提炼我的策略" / "训练影子" / "我的打法回测一下" / "我能多赚多少" / "我的盈利模式" 时,加载此 skill。
前提:用户已上传交割单且 analyze_trade_journal 已跑过。若没有,先跑 Phase 4a 工具。
extract_shadow_strategy(journal_path=...)shadow_id + 3-5 条人话规则min_support 重跑run_shadow_backtest(shadow_id=..., journal_path=...)delta_pnl + attribution breakdownrender_shadow_report(shadow_id=...)html_path / pdf_path / delta_pnlscan_shadow_signals(shadow_id=...) — 今日落在影子入场窗口的标的列表(研究用)每条规则含:rule_id、human_text(≤30 字)、support_count、coverage_rate、holding_days_range。规则不是"必赚公式",而是"用户盈利时的共性画像"。
per_market:四市场的 Sharpe/年化/最大回撤combined:合并池表现equity_curve:净值时序(进入 PDF Section 3)所有数值 signed,正值=影子相对赚更多:
noise_trades_pnl:不命中任何规则的真实交易累计 PnL(用户的情绪单)early_exit_pnl:赢单但持仓 < 规则下限,按不足比例折算的机会成本late_exit_pnl:亏单但持仓 > 规则上限,按超额比例折算的放大损失overtrading_pnl:超出规则频率的真实交易 PnLmissed_signals_pnl:残差(shadow_pnl − real_pnl − 上面四项之和)按 |impact| 排序,列出 5 条"最该做没做 / 最不该做却做了"的交易,带具体日期、原因。
确认规则:
从你 {profitable_roundtrips} 笔盈利回合中提炼出这些规则:{rules}。这些看起来像你本人的打法吗?
展示差值(Section 5):
影子 PnL {shadow_pnl:+.0f} / 你真实 {real_pnl:+.0f} / 差值 {delta_pnl:+.0f}。其中 {noise_trades_pnl:+.0f} 来自不符合你任何盈利规则的"情绪单"。
今日扫描(强制附带免责):
今日落在你影子入场节奏的标的:{symbols}。仅研究用,不是买入建议。
当 extract_shadow_strategy 被调用时,可以注入一个 llm_translator callable 以把结构化 entry_condition 翻译成中文自然语言:
[上下文] 一位散户的盈利回合中,{N} 笔满足同一组条件:
market = {market}
entry_hour ∈ [{hour_min}, {hour_max}]
持有 {hold_lo}-{hold_hi} 天
[任务] 用 ≤30 字的中文写一条规则,口吻像用户自述的交易习惯,不要堆术语。
[输出] 只返回一行规则文本,不要解释。不注入时走 f-string 模板(见 extractor._translate_rule)。
© HKUDS, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in agent/src/skills/shadow-account of HKUDS/Vibe-Trading.
Open the folder on GitHubat commit e532650
Shadow Account Trade Journal Analysis 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Shadow Account Trade Journal Analysis this skillHKUDS/Vibe-Trading | 35k | — | ~567 | Automated safety check: Pass | MIT | |
| Strategy Performance Reporttradesdontlie/tradingview-mcp | 6.8k | 2 repos | ~591 | Automated safety check: Pass | Custom licence | |
| Alpha Desk Investment ResearchJingHao-Leon/dsh-alpha-desk | 181 | — | ~1.3k | Automated safety check: Notes | MIT | |
| Quant Buddy Market Data and Backtestingpseudo-longinus/quant-buddy-skills | 193 | — | ~11k | Automated safety check: Pass | MIT | |
| Marketscreenergauss314/skills | 247 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Stock Analysisalirezarezvani/claude-skills | 28k | — | ~8.5k | Automated safety check: Pass | MIT |
tradesdontlie/tradingview-mcp
Builds a performance report for a backtested Pine Script strategy from TradingView data, covering metrics, trades, the equity curve and improvement ideas.
JingHao-Leon/dsh-alpha-desk
Runs an AI investment research desk around the aihf hedge-fund CLI, with research cycles, backtests and iFinD data, under a risk gate and a rule against placing real trades.
pseudo-longinus/quant-buddy-skills
Queries A-share, Hong Kong and US stock quotes, valuation and financial data through the Quant Buddy API, and runs screening, factor calculation and strategy backtests.
gauss314/skills
Scraper de MarketScreener (S&P Capital IQ): earnings transcripts, cotizaciones, perfiles empresa, financials, valuation, consenso analistas, noticias, insider trading, ratings.
alirezarezvani/claude-skills
Produce a rigorous, sector-relative, multi-factor fundamental analysis of a publicly listed company — Indian (NSE/BSE) or US/global.
LeoYeAI/openclaw-master-skills
SignalRadar — Monitor Polymarket prediction markets for probability changes and send alerts when thresholds are crossed.
HKUDS/Vibe-Trading
Index of Eastmoney's free, no-token market data interfaces for China A-shares and Hong Kong stocks: fund flows, dragon-tiger lists, margin trading, reports and news.
HKUDS/Vibe-Trading
Retrieves public OKX cryptocurrency market data such as spot prices, candlesticks, funding rates and open interest through the OKX V5 REST API, with no authentication.
HKUDS/Vibe-Trading
Fetches U.S. SEC EDGAR data: resolves tickers to CIK numbers, lists recent 10-K, 10-Q and 8-K filings with document URLs, and pulls XBRL financial series.
HKUDS/Vibe-Trading
Predicts whether a mainland China A-share company risks an ST or *ST warning after its next annual report, using financial thresholds and Sina penalty records.
HKUDS/Vibe-Trading
Breaks a structural trend such as AI infrastructure into its physical supply chain and ranks lesser-known listed companies sitting on each bottleneck.
HKUDS/Vibe-Trading
Plans and drafts an eight-part, roughly 120k-word investigative series on one company, built around a strict fact-check pass rather than fast drafting.
Categories
Learns profit patterns from your own trade journal, backtests them across A-share, Hong Kong, US and crypto markets, and explains the gap against real results. A Chinese-language workflow that starts from a user's uploaded trade journal. It extracts three to five plain-language rules describing what the profitable round trips have in common, asks the user to confirm that they sound like their own style, and re-runs with a higher minimum-support setting if they do not.
Shadow Account Trade Journal Analysis fits situations like: finding out what the winning trades in a personal trade journal have in common; estimating how much more a trader could have earned by following their own rules; separating impulsive trades from rule-based ones in a trade history; producing a PDF report that compares real results with a rule-based version.
Run `npx skills add HKUDS/Vibe-Trading --skill shadow-account -a claude-code`. Or copy the skill folder (agent/src/skills/shadow-account in HKUDS/Vibe-Trading) into .claude/skills/shadow-account in your project. Claude Code loads it when a task matches its description.
Run `npx skills add HKUDS/Vibe-Trading --skill shadow-account -a codex`. Or copy the skill folder (agent/src/skills/shadow-account in HKUDS/Vibe-Trading) into .agents/skills/shadow-account in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HKUDS/Vibe-Trading --skill shadow-account -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/shadow-account, .gemini/skills/shadow-account, .github/skills/shadow-account and .opencode/skills/shadow-account in your project.
SKILL.md names no scripts, command-line tools or credentials: Shadow Account Trade Journal Analysis is instructions for the agent only. Our summary lists: An uploaded trade journal (settlement statement); The `analyze_trade_journal` tool run beforehand; `weasyprint` for the PDF, otherwise the report is HTML only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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.
Shadow Account Trade Journal Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 567 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Shadow Account Trade Journal Analysis: Strategy Performance Report (tradesdontlie/tradingview-mcp, 6.8k stars), Alpha Desk Investment Research (JingHao-Leon/dsh-alpha-desk, 181 stars), Quant Buddy Market Data and Backtesting (pseudo-longinus/quant-buddy-skills, 193 stars) and Marketscreener (gauss314/skills, 247 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
HKUDS (a GitHub organization) maintains it in HKUDS/Vibe-Trading, which has 35,043 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 8, 2026.
Source: HKUDS/Vibe-Trading on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.