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.
npx skills add mahmoud20138/Tradecraft --skill futures-tradinggit clone --depth 1 https://github.com/mahmoud20138/TradecraftWrote 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/mahmoud20138/tradecraft/futures-trading)<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/futures-trading"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/futures-trading/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/mahmoud20138/tradecraft/futures-trading"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/futures-trading.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.00099 | $0.00923 |
| Opus 5 | $0.00049 | $0.00462 |
| Sonnet 5 | $0.00020 | $0.00185 |
| Haiku 4.5 | $0.00010 | $0.00092 |
Grade A, and why
futures-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 12d 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 — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: Futures Trading | Domain: trading | Category: asset-class | Level: intermediate Tags:
trading,asset-class,futures,contracts,rollover,contango
Futures Trading — Asset Class Reference
Contract Mechanics
- Expiry: Futures expire on a fixed date (quarterly for index/rates, monthly for commodities)
- Rollover: Roll to next contract before expiry (typically 5–10 days before)
- Basis: Difference between futures price and spot price
- Contango: Futures > Spot (normal for commodities with storage costs)
- Backwardation: Futures < Spot (supply squeeze signal for commodities)
Key Futures Instruments
| Contract | Exchange | Tick Size | Session (UTC) |
|---|---|---|---|
| ES (S&P 500) | CME | $12.50 | 23:00–22:00 |
| NQ (Nasdaq) | CME | $5.00 | 23:00–22:00 |
| CL (Crude Oil) | NYMEX | $10.00 | 00:00–23:00 |
| GC (Gold) | COMEX | $10.00 | 23:00–22:00 |
| ZN (10Y Note) | CBOT | $15.625 | 00:00–22:00 |
Contango/Backwardation Signal
def term_structure_signal(spot: float, front_month: float, next_month: float) -> dict:
basis_1 = front_month - spot
basis_2 = next_month - front_month
structure = ("CONTANGO" if basis_1 > 0 and basis_2 > 0 else
"BACKWARDATION" if basis_1 < 0 and basis_2 < 0 else "MIXED")
return {
"structure": structure,
"basis_front": round(basis_1, 2),
"basis_next": round(basis_2, 2),
"signal": {
"CONTANGO": "Normal — no supply shock. Bearish medium-term for commodities.",
"BACKWARDATION": "Supply squeeze or high demand. Bullish near-term.",
"MIXED": "Transitioning — watch for structure shift.",
}.get(structure),
}
Oil & Gold (Your Instruments)
# Exness CFD equivalents of futures
OIL_CFD = "USOILm" # Tracks WTI crude front-month
GOLD_CFD = "XAUUSDm" # Tracks COMEX gold spot/front-month
# Key oil fundamentals
OIL_DRIVERS = ["EIA inventory (Wed 14:30 UTC)", "OPEC decisions",
"USD strength (inverse)", "geopolitical risk premium"]
GOLD_DRIVERS = ["Real yields (inverse)", "USD index (inverse)",
"Risk sentiment", "Central bank buying"]
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.
- 12d ago First seen · 94 lines · 99 tokens per session scan A eee06879c1b1
futures-trading is a skill published in the GitHub repository mahmoud20138/Tradecraft (15 stars, last pushed 4mo ago), licensed MIT. It adds 99 tokens to every session and 923 once invoked, about $0.0005 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-30.
Other skills, from other repositories
etf-analysis
A framework for comparing exchange-traded funds (ETFs), which are funds bought and sold on a stock exchange and usually track an index, industry, asset, or strategy. It covers fees, how closely an ETF follows its target, trading activity, and portfolio use.
options-payoff
Option P&L analysis methodology: payoff diagrams, breakeven calculation, multi-leg strategy visualization, and Greeks-based scenario analysis.
asset-allocation
Asset allocation theory and optimizer usage — MPT / Black-Litterman / risk budgeting / all-weather strategy, including guides for 5 optimizers and rebalancing rules.
hedging-strategy
Hedging strategy design (beta hedge / option protection / tail risk / cross-asset hedging), including hedge-ratio calculation and cost evaluation.
convertible-bond
An analysis framework for Chinese A-share convertible bonds, which are bonds that can usually be exchanged for shares of the issuing company. It values the bond repayment component, the conversion option, and the bond's trading terms.
fund-analysis
A framework for comparing mutual funds, private funds, and exchange-traded funds using returns, risk, investment style, and manager performance. It also examines whether a fund's style changes over time.