Borrowing it
Nothing to install: this file belongs to heurist-network/heurist-finance. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/heurist-network/heurist-finance/main/.claude/skills/commodity-curve/SKILL.mdgit clone --depth 1 https://github.com/heurist-network/heurist-financeWrote 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.
[](https://agentmods.dev/skills/heurist-network/heurist-finance/commodity-curve)<a href="https://agentmods.dev/skills/heurist-network/heurist-finance/commodity-curve"><img src="https://agentmods.dev/badge/skills/heurist-network/heurist-finance/commodity-curve/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/heurist-network/heurist-finance/commodity-curve"><img src="https://agentmods.dev/badge/skills/heurist-network/heurist-finance/commodity-curve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00085 | $0.01090 |
| Opus 5.5 | $0.00034 | $0.00436 |
| Sonnet 5.5 | $0.00017 | $0.00218 |
| Haiku 4.5 | $0.00009 | $0.00109 |
Grade A, and why
commodity-curve 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 13d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 32 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Commodity Curve
Shared plumbing and output contract: ../_shared/analyst-core.md. Equities pay you for holding; commodities pay (or charge) you for rolling. Every commodity call starts at the curve, because a correct spot view can still lose money to carry — the single most common retail commodity error.
Curve first, always
Pull the front contract and 2–4 deferred months: yahoo quote_snapshot/prices on CL=F plus specific months (CLZ26.NYM style); spot-check via market_overview market=COMMODITIES. Compute annualized roll yield = (front − deferred) ÷ front × (12 ÷ months between), and state the regime:
- Backwardation (front > deferred): scarcity now; long positions earn the roll. Gorton & Rouwenhorst's long-run futures work associates backwardation regimes with positive excess returns — the curve is itself a signal, not just a cost.
- Contango (front < deferred): storage economics; long positions pay the roll. Steep contango (>~10–12% annualized) has fully consumed correct directional theses — the USO 2020 case (right that oil recovers, −60% anyway via roll bleed) is the canonical lesson; cite it when a user wants long exposure in steep contango.
- The trade must clear the carry: expected spot move minus roll cost over the holding period. Write that arithmetic out. In steep contango, the honest expressions are deferred contracts, producer equities (which own the curve), or call spreads — not the front-month tracker.
Instrument audit for ETFs: fund_snapshot + the fund's roll methodology (web). Front-month rollers (USO-style) bleed in contango; equity proxies (XLE, GDX) add equity beta and management factors — say which risk the user is actually buying.
Positioning, seasonality, and the macro leg
- COT as a crowding flag, not a timer. Managed-money net positioning from the CFTC's weekly Commitments of Traders report — the workable source is cftc.gov's Disaggregated COT (or Tradingster/Barchart mirrors) via
web; disambiguate the contract (WTI positioning lives on NYMEX, Brent on ICE — name which report you pulled). If a current reading can't be pinned down, "COT unavailable this run" is the expected fallback: flag it, don't fabricate a percentile. >~90th percentile of its 3-year range flags washout vulnerability: forward returns from crowded-long extremes show negative skew. Use it to veto adding to crowded trades and to size down, never as a standalone reversal signal — extremes persist. - Seasonality: real but decaying, decade-drift applies. Natgas withdrawal season (Nov–Mar) genuinely structures vol and storage math; ag planting/harvest cycles are physical. But specific calendar patterns ("buy corn in February") drift by decade and are partly folklore — check the claimed pattern against the last 10–15 years from
pricesbefore citing it, and label the sample size. - Gold is a real-rates trade wearing a commodity costume. Post-2003 correlation with 10y TIPS yields ≈ −0.4 to −0.6; a +100bps real-rate shock has historically pressured gold 15–25% over 6–12 months (label: regularity, not law — central-bank buying regimes weaken it, as post-2022 showed). Pull real rates via
fred macro_series_history; a gold view without a real-rates and dollar view is incomplete (seemacro-regime). - Supply/demand work is where the fundamental edge lives: inventories (EIA weekly for energy via
web), production discipline, demand proxies. News (yahoo news_search,web) tracks the narrative; the curve tells you how much of it is priced — backwardation is the market saying "shortage now."
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.
- 13d ago First seen · 32 lines · 85 tokens per session scan A 719008c43427
commodity-curve is a skill published in the GitHub repository heurist-network/heurist-finance (11 stars, last pushed 14d ago), licensed MIT. It adds 85 tokens to every session and 1,090 once invoked, about $0.0003 per session on Opus 5.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-10-24.
commodity-curve compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| commodity-curveheurist-network/heurist-finance | Skill | 11 | 14d ago | MIT | A | 85 | Claude Code |
| sector-rotationHKUDS/Vibe-Trading | Skill | 38k | yesterday | MIT | A | 39 | Claude Code, Codex |
| twitter-readerhimself65/finance-skills | Skill | 3.5k | 2d ago | MIT | A | 110 | Claude Code |
| strategy-pivot-designertradermonty/claude-trading-skills | Skill | 3.7k | 2d ago | MIT | A | 28 | Claude Code, Codex |
| energy-procurementhashgraph-online/awesome-codex-plugins | Skill | 1.5k | yesterday | Apache-2.0 | A | 93 | Claude Code, Codex |
| airdrop-hunting-guidenirholas/three.ws | Skill | 269 | yesterday | Apache-2.0 | A | 54 | Claude Code, Codex |
| multi-expert-analyzerdigoal/blog | Skill | 8.6k | 2d ago | GPL-2.0 | A | 292 | Codex |