fred
US/global macro time series from St. Louis Fed FRED — CPI, GDP, Fed funds, yields, M2, DXY, etc.
npx skills add kansoku-trade/kansoku --skill fred --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# fred > Response language: match user input (zh-CN / zh-TW / en). ## When to use Trigger phrases: - CPI / core CPI / PCE / PPI / inflation / 通胀 / 核心通胀 - GDP / 国内生产总值 - unemployment / 失业率 / U-3 / U-6 / nonfarm / 非农 - Fed funds / 联储利率 / SOFR - 2Y / 10Y yield / yield curve / 美债利率 / 收益率曲线 - M1 / M2 / 货币供应 - DXY / 美元指数 / USD index - VIX / 10Y breakeven / 通胀预期 - WTI / Brent / 油价 / gold - consumer sentiment / 消费者信心 / housing starts / retail sales ## Workflow 1. Resolve user phrasing to a FRED series ID — first via `aliases.json` (curated), then `search.py` if no alias matches. 2. Run `series.py <SERIES_ID|alias>` for observations + metadata. 3. Synthesise NL reply with units, frequency, and last update date; cite "Source: St. Louis Fed (FRED)". Environment is auto-loaded on script import from `.env` at project root (or `~/.config/market-intel/env` as fallback) — no manual `source` needed. ## CLI examples ```bash # Latest 60 monthly CPI observations python3 .claude/skills/fred/scripts/series.py CPI # 2Y Treasury yield, last 30 daily observations python3 .claude/skills/fred/scripts/series.py "2Y yield" --limit 30 # 10-year breakeven inflation, custom window, ascending python3 .claude/skill
- When to use
- Workflow
- CLI examples
- Output shape
- Available aliases
- Error handling
- Known limitations
- Related skills
Latest 60 monthly CPI observations python3 .claude/skills/fred/scripts/series.py CPI python3 .claude/skills/fred/scripts/series.py "2Y yield" --limit 30 python3 .claude/skills/fred/scripts/series.py T10YIE --start 2024-01-01 --order asc Discover series IDs python3 .claude/skills/fred/scripts/search.py "consumer price index" --limit 10 Bypass cache python3 .claude/skills/fred/scripts/series.py CPI --fresh
What does the fred skill do?
US/global macro time series from St. Louis Fed FRED — CPI, GDP, Fed funds, yields, M2, DXY, etc.
How do I install it?
Run `npx skills add kansoku-trade/kansoku --skill fred --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From kansoku-trade/kansoku, a repository with 272 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
