data-routing

data-routing is a skill for Claude Code, Codex from HKUDS/Vibe-Trading. It costs 59 tokens per session (3,844 once invoked), scanned A, original, MIT.

A routing guide that chooses an appropriate data source for backtests, research, and market-data requests. It records which markets each source covers, whether an access key is needed, and what network access it requires.

In plain words
What is it for?
Use it to choose sources for shares, funds, futures, crypto, foreign exchange, and macro data, check required environment keys, and avoid unsuitable or restricted providers.
Why use it?
Financial data sources differ in coverage, authentication, reliability, and access restrictions. This helps select a suitable source before collecting data or running a backtest.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to choose sources for shares, funds, futures, crypto, foreign exchange, and macro data, check required environment keys, and avoid unsuitable or restricted providers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hkuds/vibe-trading/data-routing
About the project

Vibe-Trading is a personal trading agent that gives an AI system tools for market analysis, algorithmic trading, backtesting, and related workflows. It is for users who want an agent to research and evaluate trading strategies or manage simulated and other trading activities. The catalogue contains skills that expose these trading capabilities to compatible agents.

HKUDS/Vibe-Trading · 39,317 stars · on GitHub · vibetrading.wiki

Install

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.

Any agent
npx skills add HKUDS/Vibe-Trading --skill data-routing
Clone the repo
git clone --depth 1 https://github.com/HKUDS/Vibe-Trading

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for data-routing

README.md
[![agentmods](https://agentmods.dev/badge/skills/hkuds/vibe-trading/data-routing/github.svg)](https://agentmods.dev/skills/hkuds/vibe-trading/data-routing)
Your own site
<a href="https://agentmods.dev/skills/hkuds/vibe-trading/data-routing"><img src="https://agentmods.dev/badge/skills/hkuds/vibe-trading/data-routing/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.

agentmods 80×15 button for data-routing

Your own site · 80×15
<a href="https://agentmods.dev/skills/hkuds/vibe-trading/data-routing"><img src="https://agentmods.dev/badge/skills/hkuds/vibe-trading/data-routing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,844 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Fable 5.1 · 6 Sept 2026 📄 Read the review Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.03844
Opus 5.5 $0.00024 $0.01538
Sonnet 5.5 $0.00012 $0.00769
Haiku 4.5 $0.00006 $0.00384

Measured yesterday against content hash bde63ea0892e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

data-routing 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 yesterday.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agent/src/skills/data-routing/SKILL.md · 253 lines

How it starts

The opening of the file, as written. The whole thing — 253 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Data Routing (Router)

The runtime data gateway owns acquisition, source health, queues and cache. This skill maps a research need to the existing gateway-backed tool; the model must not recreate a separate provider-selection or retry loop.

Use get_market_data, get_options_chain, and the research tools below first. get_market_data with a task workspace exports the same returned rows to CSV in Python by default (export_csv=false disables the sidecar) with source/currency/adjustment metadata and sampling flags. Its _csv_file receipt provides the path, columns, row count and checksum. Sampling still applies; this is a task artifact, not another acquisition or a full-history download. _data_layout describes the saved JSON structure for custom calculations. For Python bars use src.market_data.fetch_market_data; for additional vendor fields use src.data_gateway.skill_sources or a managed_reader that creates, reads and materializes its SDK result inside the bounded callback. Do not return lazy SDK properties, iterators or network clients for later unbounded reads. Credential-scoped data uses uncached acquisition and keeps existing authorization. Large history requests use history_data; do not download whole years into an unbounded script cache. These adapters share the existing resource limits.

Generated Python and external MCP

For supported data, acquire it with the available gateway-backed tool in the agent process and calculate from the returned artifact path. Do not refetch the same observations inside bash or background_run. A saved artifact is a returned file, not a path to guess. This keeps repeated requests in the host's shared cache and acquisition pool.

For an additional vendor field that the existing tools do not expose:

from src.data_gateway.skill_sources import yahoo_ticker

# This adapter materializes the field inside bounded acquisition.
profile = yahoo_ticker("AAPL").info
print(profile)

For other SDKs, place client creation, the read, full result materialization and client cleanup inside a managed_reader function. Use managed_async_reader only for a self-contained async collector that also closes its clients. These are process-local limits: launching many Python children creates independent gateways. Do not use per-symbol subprocesses or add polling/retry/cache loops to get around the host's limits. Use history_data for large persisted downloads when it is available in the current tool catalog.

Read the full file on GitHub · 253 lines

Changes

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.

  1. yesterday Changed · +6 lines · +30 tokens per session bde63ea0892e
  2. 2d ago Changed · -1 lines b6724466ad20
  3. 6d ago Changed · +8 lines 409c85ac4245
  4. 14d ago Changed · +65 lines · -18 tokens per session d02ff0e9e8f3
  5. 25d ago Changed · -1 lines 16e36d594bf6
  6. 1mo ago Changed · +19 lines a5c0ab387ca3
  7. 1mo ago Changed 6caa9806e393
  8. 2mo ago Changed · +1 lines f0b8f1458487
  9. 2mo ago Changed · +2 lines 6b44c4dbb21e
  10. 3mo ago First seen · 154 lines · 47 tokens per session scan A 528fbcc8dc00

Subscribe to this mod's changes

data-routing is a skill published in the GitHub repository HKUDS/Vibe-Trading (39,317 stars, last pushed yesterday), licensed MIT. It adds 59 tokens to every session and 3,844 once invoked, about $0.0002 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-08-30.

Related

data-routing compared with skills from other repositories

data-routing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
data-routingHKUDS/Vibe-TradingSkill39kyesterdayMITA59Claude Code, Codex
options-tradingLumiwealth/lumibotSkill2.3kyesterdayGPL-3.0A71Codex
web-documentsLumiwealth/lumibotSkill2.3kyesterdayGPL-3.0A40Codex
research-dataLumiwealth/lumibotSkill2.3kyesterdayGPL-3.0A53Codex
hyperliquidSuperior-Trade/superior-skillsSkill2352mo agoMITA64Claude Code
polymarketSuperior-Trade/superior-skillsSkill2352mo agoMITA68Claude Code
backtestingSuperior-Trade/superior-skillsSkill2352mo agoMITA73Claude Code