Agent skill

fred

US/global macro time series from St. Louis Fed FRED — CPI, GDP, Fed funds, yields, M2, DXY, etc.

kansoku-tradegithub.com/kansoku-tradeGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add kansoku-trade/kansoku --skill fred --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 4
SKILL.md size: 4 KB
Bundled scripts: yes
Path: .claude/skills/fred/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 272
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. When to use
  2. Workflow
  3. CLI examples
  4. Output shape
  5. Available aliases
  6. Error handling
  7. Known limitations
  8. Related skills
Ships with 3 files
  • aliases.json
  • scripts/search.py
  • scripts/series.py
Commands it runs
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
More from kansoku
All skills →
About this skill
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.

Keep going