If you're tired of writing the same boilerplate to pull data from FRED, World Bank, or BLS APIs, this generates clean Python code with proper error handling and environment variable management. It walks through identifying what data you need, picks the right API source, and spits out documented functions that actually handle failures gracefully. The skill includes reference tables of common economic indicators (unemployment, GDP, inflation) and their series codes, which saves you from hunting through API documentation. Best for economists building datasets or automating regular data pulls. The generated code uses standard packages like fredapi and wbdata, so nothing exotic to install.

skills.sh installs
208
GitHub stars
668
last updated
Aug 21, 2026

Install

$ npx -y skills add meleantonio/awesome-econ-ai-stuff --skill api-data-fetcher --agent claude-code

Installs into .claude/skills of the current project.

Files

API Data Fetcher

Purpose

This skill helps economists fetch data from major economic data APIs including FRED (Federal Reserve Economic Data), World Bank, IMF, BLS, and OECD. It generates clean, documented Python code with proper error handling.

When to Use

  • Downloading macroeconomic indicators
  • Building custom datasets from multiple sources
  • Automating data updates for ongoing projects
  • Fetching cross-country panel data

Instructions

Step 1: Identify Data Requirements

Ask the user:

  1. What data do you need? (GDP, unemployment, inflation, etc.)
  2. What time period and frequency?
  3. What countries/regions?
  4. Preferred output format? (CSV, DataFrame, etc.)

Step 2: Select Appropriate API

Data TypeBest SourcePackage
US macroFREDfredapi
Global developmentWorld Bankwbdata
Labor statisticsBLSbls
Cross-countryOECDpandasdmx
FinancialYahoo Financeyfinance

Step 3: Generate Clean Code

Include:

  • API key handling (environment variables)
  • Error handling for API failures
  • Data cleaning and formatting
  • Documentation of series definitions

Sponsors

Details

Repository
github.com/meleantonio/awesome-econ-ai-stuff
Categories
Backend & APIs, AI & Agent Building
First seen
Jun 3, 2026

More from meleantonio/awesome-econ-ai-stuff

All 9
16551team avataropentrade-gateway6551team/opentradeopentrade gateway206skills.sh installs
2martinholovsky avatarcloud-api-integrationmartinholovsky/claude-skills-generatorExpert skill for integrating cloud AI APIs (Claude, GPT-4, Gemini). Covers secure API key management, prompt injection prevention, rate limiting, cost optimizat201skills.sh installs
3diskd-ai avatargroq-apidiskd-ai/groq-apiGroq API integration for building AI-powered applications with ultra-fast LLM inference. Use when working with Groq's Chat Completions API, Python SDK (groq), T199skills.sh installs
4iii-hq avatariii-agentic-backendiii-hq/iiiCreates and orchestrates multi-agent pipelines on the iii engine. Use when building AI agent collaboration, agent orchestration, research/review/synthesis chain193skills.sh installs
5224-industries avatarwebflow-designer-api224-industries/webflow-skillsWork with the Webflow Designer API — either by building Designer Extensions (iframes inside the Webflow Designer) or by generating code snippets for the Designe184skills.sh installs
6itsmostafa avatarlambdaitsmostafa/aws-agent-skillsAWS Lambda serverless functions for event-driven compute. Use when creating functions, configuring triggers, debugging invocations, optimizing cold starts, sett178skills.sh installs