economic-data-collector

economic-data-collector is a skill for Claude Code, Codex from JansenAnalytics/claudex. It costs 74 tokens per session (669 once invoked), scanned A, original, MIT.

A collector and query tool for economic data such as bond yields, central-bank interest rates, currency rate differences, US indicators, and economic-calendar events.

In plain words
What is it for?
Use it to fetch yield curves, interest rates, forex rate differentials, FRED indicators such as CPI and GDP, and scheduled economic releases.
Why use it?
It gathers market and economic figures in one place so you do not have to collect and compare them manually.

Skill for Claude CodeCodex

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

Good fit Use it to fetch yield curves, interest rates, forex rate differentials, FRED indicators such as CPI and GDP, and scheduled economic releases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jansenanalytics/claudex/economic-data-collector
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 JansenAnalytics/claudex --skill economic-data-collector
Clone the repo
git clone --depth 1 https://github.com/JansenAnalytics/claudex

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 economic-data-collector

README.md
[![agentmods](https://agentmods.dev/badge/skills/jansenanalytics/claudex/economic-data-collector.svg)](https://agentmods.dev/skills/jansenanalytics/claudex/economic-data-collector)
Your own site
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/economic-data-collector"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/economic-data-collector.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 669 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.
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.00074 $0.00669
Opus 5 $0.00037 $0.00334
Sonnet 5 $0.00015 $0.00134
Haiku 4.5 $0.00007 $0.00067

Measured 4d ago against content hash f4c598ddaaeb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

economic-data-collector 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 4d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/collect-calendar.py, scripts/collect-fred.py, scripts/collect-rates.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/economic-data-collector/SKILL.md · 78 lines

What it actually says

Economic Data Collector

Quick Start

SKILL=${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/economic-data-collector/scripts

# Collect yield curves (US + major economies)
python3 $SKILL/collect-yields.py --n-bars 60

# Collect central bank rates
python3 $SKILL/collect-rates.py

# Collect US economic data from FRED (needs FRED_API_KEY env)
python3 $SKILL/collect-fred.py

# Collect economic calendar
python3 $SKILL/collect-calendar.py

Query Data

# Latest yield curves by country
python3 $SKILL/query.py yields --country US --latest

# Central bank rates
python3 $SKILL/query.py rates --latest

# Rate differentials for all forex pairs
python3 $SKILL/query.py rate-diff

# Rate diff for specific pair
python3 $SKILL/query.py rate-diff --pair EURJPY

# Economic calendar for a date
python3 $SKILL/query.py calendar --date 2026-03-18

# US CPI history
python3 $SKILL/query.py series --indicator CPI --country US --last 24

Data Coverage

Central Bank Rates (8 banks)

Fed (US), ECB (EU), BOE (UK), BOJ (JP), RBA (AU), RBNZ (NZ), BOC (CA), SNB (CH)

Rate Differentials (12 pairs)

EURUSD, GBPUSD, USDJPY, AUDUSD, NZDUSD, USDCAD, USDCHF, EURJPY, EURGBP, GBPJPY, AUDJPY, CADJPY

FRED Series (18 US indicators)

GDP, CPI, Core CPI, PCE, Core PCE, NFP, Unemployment, Retail Sales, ISM Manufacturing, Industrial Production, Housing Starts, Durable Goods, Trade Balance, M2, Fed Funds Rate, 10Y Yield, 2Y Yield, Consumer Confidence

Yield Curves

  • yfinance: US (3M, 5Y, 10Y, 30Y)
  • TradingView: US, DE, UK, JP, AU, CA (2Y, 10Y)

API Key

FRED requires a free API key: https://fred.stlouisfed.org/docs/api/api_key.html Set FRED_API_KEY env var or pass --api-key flag.

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 78 lines · 74 tokens per session scan A f4c598ddaaeb

Subscribe to this mod's changes

economic-data-collector is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 2mo ago), licensed MIT. It adds 74 tokens to every session and 669 once invoked, about $0.0004 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-09-03.

Related

Other skills, from other repositories

trade-memory

Compliance-grade decision audit trail for AI trading agents. Records every trading decision with full context (conditions, filters, indicators, risk state), SHA-256 tamper detection, and structured export for MiFID II / EU AI Act readiness. Works alongside Binance Spot, Futures, and Web3 skills — they execute trades…

mnemox-ai/tradememory-protocol · 68 tokens

tradememory-bridge

Bridge between Binance trading events and TradeMemory Protocol. Automatically journals trades, recalls similar past setups, detects behavioral biases, and provides outcome-weighted recall for AI trading agents. Use this skill after executing Binance spot trades to build persistent memory.

mnemox-ai/tradememory-protocol · 53 tokens

evolution-engine

Domain knowledge for the Evolution Engine — LLM-powered autonomous strategy discovery from raw OHLCV data. Covers the generate-backtest-select-evolve loop, vectorized backtesting, out-of-sample validation, and strategy graduation. Use when discovering trading patterns, running backtests, evolving strategies, or…

mnemox-ai/tradememory-protocol · 94 tokens

risk-management

Risk management domain knowledge for trading agents — affective state monitoring, position sizing, drawdown management, tilt detection, and behavioral guardrails. Use when checking risk before trades, managing drawdowns, detecting behavioral drift, or enforcing discipline. Triggers on "risk", "drawdown", "tilt"…

mnemox-ai/tradememory-protocol · 89 tokens

trading-memory

Domain knowledge for AI trading memory — Outcome-Weighted Memory (OWM) architecture, 5 memory types, recall scoring, and behavioral analysis. Use when recording trades, recalling similar contexts, analyzing performance, or checking behavioral drift. Triggers on "record trade", "remember trade", "recall", "similar…

mnemox-ai/tradememory-protocol · 88 tokens

defi-yield

DeFi yield hunting across protocols. Find the best APY, auto-compound, manage LP positions, and optimize gas.

Signal-Execution-Labs/forex-trading-ai-agent · 30 tokens