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 davidromeo/tradeblocks-skills --skill market-datagit clone --depth 1 https://github.com/davidromeo/tradeblocks-skillsWrote 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/davidromeo/tradeblocks-skills/market-data)<a href="https://agentmods.dev/skills/davidromeo/tradeblocks-skills/market-data"><img src="https://agentmods.dev/badge/skills/davidromeo/tradeblocks-skills/market-data/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/davidromeo/tradeblocks-skills/market-data"><img src="https://agentmods.dev/badge/skills/davidromeo/tradeblocks-skills/market-data.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.00067 | $0.01993 |
| Opus 5 | $0.00034 | $0.00996 |
| Sonnet 5 | $0.00013 | $0.00399 |
| Haiku 4.5 | $0.00007 | $0.00199 |
Grade A, and why
market-data 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 11d 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 — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Market Data Setup
Guide the user through importing market data so other skills (DC analysis, health checks, replay) have the data they need.
When This Skill Triggers
enrich_tradesreturns warnings about missing market dataanalyze_regime_performancereturns "No trades matched to market data"replay_tradereturns 0 minute bars / $0 P&Lbatch_exit_analysisreturns mostlynoTriggerwith $0 P&L- User says "import market data", "set up market data", "I need VIX data", etc.
Step 1: Diagnose What's Missing
Ask the user what they're trying to do, then check what data exists:
-- Check daily data coverage
SELECT ticker, COUNT(*) as rows,
MIN(date) as earliest, MAX(date) as latest
FROM market.daily GROUP BY ticker ORDER BY ticker
-- Check intraday data coverage
SELECT
CASE WHEN ticker LIKE 'SPX%' OR ticker LIKE 'SPXW%' THEN 'SPX options'
WHEN ticker LIKE 'QQQ%' THEN 'QQQ options'
WHEN ticker = 'SPX' THEN 'SPX underlying'
ELSE ticker END as category,
COUNT(DISTINCT ticker) as tickers,
COUNT(*) as total_bars
FROM market.intraday GROUP BY category
-- Check context derived (regime/term structure)
SELECT COUNT(*) as rows, MIN(date) as earliest, MAX(date) as latest
FROM market._context_derived
Present what's available and what's missing for their goal.
Step 2: Determine the Right Import
For Regime Analysis (VIX regimes, term structure, enriched trades)
Minimum needed: Daily OHLCV for the underlying + VIX context (VIX/VIX9D/VIX3M)
| What to import | Tool | Example |
|---|---|---|
| Underlying daily (SPX) | import_from_api |
ticker: "SPX", target_table: "daily" |
| Underlying daily (QQQ) | import_from_api |
ticker: "QQQ", target_table: "daily" |
| VIX context (all 3 tickers) | import_from_api |
ticker: "VIX", target_table: "context" |
| Enrichment (RSI, Vol_Regime, etc.) | enrich_market_data |
Auto-runs after import, or manual |
Order matters: Import daily first, then context, then enrichment runs automatically.
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.
- 11d ago First seen · 221 lines · 67 tokens per session scan A 43db3ee5c32c
market-data is a skill published in the GitHub repository davidromeo/tradeblocks-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 67 tokens to every session and 1,993 once invoked, about $0.0003 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.
Other skills, from other repositories
sector-rotation
An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
chenhao-limit-up
A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.
trading-risk-gate
Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.
furusato
A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.