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.
Analyzes crude oil, gold and copper through supply-demand balance, pricing models, inventory cycles and futures structure, and outputs directional signals suitable for backtesting.
$ npx skills add HKUDS/Vibe-Trading --skill commodity-analysis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install HKUDS/Vibe-Trading commodity-analysis --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/commodity-analysis .claude/skills/commodity-analysis && 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 "commodity-analysis" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/commodity-analysis into .claude/skills/commodity-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commodity-analysis", 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/commodity-analysisType 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 commodity-analysis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install HKUDS/Vibe-Trading commodity-analysis --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/commodity-analysis .agents/skills/commodity-analysis && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "commodity-analysis" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/commodity-analysis into .agents/skills/commodity-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commodity-analysis", 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 commodity-analysis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install HKUDS/Vibe-Trading commodity-analysis --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/commodity-analysis .cursor/skills/commodity-analysis && 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 "commodity-analysis" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/commodity-analysis into .cursor/skills/commodity-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commodity-analysis", 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/commodity-analysis--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 commodity-analysis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install HKUDS/Vibe-Trading commodity-analysis --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/commodity-analysis .gemini/skills/commodity-analysis && 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 "commodity-analysis" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/commodity-analysis into .gemini/skills/commodity-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commodity-analysis", 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 commodity-analysisInstalls 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 commodity-analysis -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/commodity-analysis .github/skills/commodity-analysis && 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 "commodity-analysis" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/commodity-analysis into .github/skills/commodity-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commodity-analysis", 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 commodity-analysis -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 commodity-analysis --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/commodity-analysis .opencode/skills/commodity-analysis && 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 "commodity-analysis" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/commodity-analysis into .opencode/skills/commodity-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commodity-analysis", 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.
commodity-analysisAnalyzes crude oil, gold and copper through supply-demand balance, pricing models, inventory cycles and futures structure, and outputs directional signals suitable for backtesting.
The skill examines commodities along four lines: supply-demand balance, a pricing model, the inventory cycle and futures curve structure, and it turns the result into directional signals that can be backtested. It concentrates on crude oil as the global pricing anchor, gold as a safe haven and inflation hedge, and copper as an economic barometer.
For oil it tabulates supply-side variables such as OPEC production, US shale output, rig counts and strategic reserve releases next to demand-side inputs like IEA forecasts, China imports, gasoline demand and global PMI. Gold uses a four-factor model weighted 40% real rates, 25% dollar index, 20% safe-haven demand and 15% central-bank buying, with rules of thumb for TIPS yields, and copper is treated as a leading indicator of industrial production. Seasonality is part of the stated scope.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 7f6908b. 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 (its code samples are python).
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.
Commodity Analysis Signals loads about 2.3k tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 794 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 7f6908b, republished under its MIT licence (© HKUDS). 794 words, ~2,262 tokens.
.claude/skills/commodity-analysis/SKILL.md (or your agent's skills folder).Analyze commodities from four dimensions — supply-demand balance, pricing model, inventory cycle, and futures structure — and output directional signals suitable for backtesting. Focuses on crude oil (global pricing anchor), gold (safe haven + inflation hedge), and copper (economic barometer).
Key supply-side variables:
| Variable | Data Source | Frequency | Direction of Impact |
|---|---|---|---|
| OPEC production | OPEC monthly report | Monthly | Production cuts → oil price ↑ |
| US shale output | EIA weekly report | Weekly | Higher output → oil price ↓ |
| Rig count (Baker Hughes) | Baker Hughes | Weekly | Leads production by 3-6 months |
| Strategic Petroleum Reserve (SPR) | EIA | Weekly | SPR release → short-term oil price ↓ |
Key demand-side variables:
Supply-demand balance signals:
# Simplified supply-demand judgment
if opec_compliance > 90% and us_rig_count_declining:
supply_signal = "tight" # bullish for oil
elif opec_compliance < 80% and us_production_rising:
supply_signal = "loose" # bearish for oil
if global_pmi > 50 and china_import_yoy > 5%:
demand_signal = "strong" # bullish for oil
elif global_pmi < 48 and china_import_yoy < 0:
demand_signal = "weak" # bearish for oilFour-factor model:
| Factor | Weight | Logic | Indicator |
|---|---|---|---|
| Real rates | 40% | Real rates ↓ → lower opportunity cost of holding gold → gold ↑ | 10Y TIPS yield |
| US dollar index | 25% | USD ↓ → gold becomes cheaper in pricing terms → gold ↑ | DXY |
| Safe-haven demand | 20% | Risk ↑ → safe-haven buying → gold ↑ | VIX + geopolitical risk index |
| Central-bank buying | 15% | Central-bank purchases → structural demand support | WGC quarterly report |
Practical rules:
Copper as a leading indicator:
r > 0.7)Copper fundamental tracking:
| Indicator | Data Source | Threshold |
|---|---|---|
| LME copper inventory | LME daily report | <150k tons = tight |
| SHFE copper inventory | SHFE weekly report | WoW decline >10% = tight |
| Copper concentrate TC/RC | SMM | TC < $30/ton = tight mining supply |
| China copper imports | Customs monthly report | YoY growth >10% = strong demand |
Visible inventory vs hidden inventory:
Four inventory-cycle stages (using copper as example):
Active restocking (price↑ volume↑) -> Passive restocking (price↓ volume↑) -> Active destocking (price↓ volume↓) -> Passive destocking (price↑ volume↓)
mid bull market late bull market mid bear market late bear / early bull marketSignal mapping:
| Stage | Inventory Direction | Price Direction | Trading Signal |
|---|---|---|---|
| Passive destocking | ↓ | ↑ | Long (best buying point) |
| Active restocking | ↑ | ↑ | Keep long positions |
| Passive restocking | ↑ | ↓ | Close longs (warning) |
| Active destocking | ↓ | ↓ | Short or stay neutral |
Contango (futures > spot, normal market):
roll yield < 0), unfavorable for long holdersfar month - near month > 5%) = severe oversupplyBackwardation (futures < spot, inverted market):
roll yield > 0), favorable for long holdersnear month - far month > 3%) = squeeze or extreme shortageTerm-structure signal:
# Spread ratio = (front month - second month) / front month
spread_ratio = (front_month - second_month) / front_month
if spread_ratio > 0.02: # backwardation > 2%
signal = "strongly bullish" # spot shortage
elif spread_ratio < -0.03: # contango > 3%
signal = "bearish" # oversupply
else:
signal = "neutral"Oil seasonality:
Gold seasonality:
Copper seasonality:
commodity_score = {
"supply_demand": +1, # supply-demand is tight
"inventory_cycle": +2, # passive destocking (best stage)
"term_structure": +1, # mild backwardation
"seasonality": 0, # neutral seasonality
"macro_env": -1, # stronger dollar is a headwind
}
# Total score = +3/5 = +0.6 -> bullish bias, but not a strong signal## Commodity Analysis Report — [Commodity Name]
### Supply-Demand Structure
- Supply side: [surplus / balanced / shortage] — [specific data]
- Demand side: [strong / stable / weak] — [specific data]
- Balance table: [inventory build X tons / drawdown X tons]
### Inventory Cycle
- Current stage: [active restocking / passive restocking / active destocking / passive destocking]
- Visible inventory: [LME X tons, SHFE X tons, WoW change]
### Term Structure
- Front-back spread: [contango X% / backwardation X%]
- Roll yield: [positive / negative]
### Composite Score
| Dimension | Score(-2~+2) | Basis |
|------|------------|------|
| Supply-demand | +1 | OPEC compliance rate 92% |
| Inventory | +2 | LME inventory hit 18-month low |
### Trading Direction
- Direction: [bullish / bearish / neutral]
- Confidence: [high / medium / low]
- Risk points: [specific risks]web-reader or entered manually© 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/commodity-analysis of HKUDS/Vibe-Trading.
Open the folder on GitHubat commit 7f6908b
Commodity Analysis Signals 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 |
|---|---|---|---|---|---|---|
| Commodity Analysis Signals this skillHKUDS/Vibe-Trading | 35k | — | ~2.3k | Automated safety check: Pass | MIT | |
| Strategy Performance Reporttradesdontlie/tradingview-mcp | 6.8k | 3 repos | ~591 | Automated safety check: Pass | Custom licence | |
| Regimejackson-video-resources/markov-hedge-fund-method | 483 | — | ~1.6k | Automated safety check: Pass | Custom licence | |
| Quant Buddy Market Data and Backtestingpseudo-longinus/quant-buddy-skills | 191 | 1 repos | ~11k | Automated safety check: Pass | MIT | |
| Alpha Desk Investment ResearchJingHao-Leon/dsh-alpha-desk | 181 | — | ~1.3k | Automated safety check: Notes | MIT | |
| Revops Revenue Planningswan-gtm/gtm-skills | 165 | — | ~7.2k | 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.
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.
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.
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.
swan-gtm/gtm-skills
Annual and quarterly revenue plan construction, top-down vs bottoms-up reconciliation, plan versioning, stretch goal handling, and FP&A-RevOps collaboration for B2B revenue teams.
kansoku-trade/kansoku
Looks up US and global macro series from St. Louis Fed FRED, such as CPI, GDP, Fed funds, yields, M2 and the dollar index, and reports them with units and dates.
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
Analyzes crude oil, gold and copper through supply-demand balance, pricing models, inventory cycles and futures structure, and outputs directional signals suitable for backtesting. The skill examines commodities along four lines: supply-demand balance, a pricing model, the inventory cycle and futures curve structure, and it turns the result into directional signals that can be backtested. It concentrates on crude oil as the global pricing anchor, gold as a safe haven and inflation hedge, and copper as an economic barometer.
Commodity Analysis Signals fits situations like: judging whether the oil market is tight or loose from supply and demand data; assessing gold with real rates, the dollar index and safe-haven demand; using copper as a read on industrial activity; generating directional commodity signals for a backtest.
Run `npx skills add HKUDS/Vibe-Trading --skill commodity-analysis -a claude-code`. Or copy the skill folder (agent/src/skills/commodity-analysis in HKUDS/Vibe-Trading) into .claude/skills/commodity-analysis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add HKUDS/Vibe-Trading --skill commodity-analysis -a codex`. Or copy the skill folder (agent/src/skills/commodity-analysis in HKUDS/Vibe-Trading) into .agents/skills/commodity-analysis 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 commodity-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commodity-analysis, .gemini/skills/commodity-analysis, .github/skills/commodity-analysis and .opencode/skills/commodity-analysis in your project.
SKILL.md names no scripts, command-line tools or credentials: Commodity Analysis Signals is instructions for the agent 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.
Commodity Analysis Signals is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9k 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 Commodity Analysis Signals: Strategy Performance Report (tradesdontlie/tradingview-mcp, 6.8k stars), Regime (jackson-video-resources/markov-hedge-fund-method, 483 stars), Quant Buddy Market Data and Backtesting (pseudo-longinus/quant-buddy-skills, 191 stars) and Alpha Desk Investment Research (JingHao-Leon/dsh-alpha-desk, 181 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 34,884 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 6, 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.