agentsclimarketplace

Stat data fetcher

Skill joshuaroll/research-skills/skills/stat-data-fetcher

Access reliable statistical data from the World Bank. Avoids hallucinated numbers by fetching direct time-series data from the official API.From its SKILL.md

Install
npx -y skills add joshuaroll/research-skills --skill stat-data-fetcher

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.7 KB, 424 tokens by cl100k_base, as published. Nobody here has run it

Statistical Data Fetcher Skill

This skill allows you to retrieve grounded economic and social data, ensuring specific numbers in your reports are accurate and traced to an official source.

Capabilities

  1. Search Indicators: Find the correct ID for a metric (e.g., "GDP per capita" -> NY.GDP.PCAP.CD).
  2. Fetch Data: Get time-series data for specific countries.
  3. Fuzzy Scanning: Handles country names like "France" or "USA" without needing ISO codes.
  4. CSV Export: Outputs data in CSV format for Excel/Pandas integration.

Usage

Run the python script fetch_worldbank.py.

Arguments

  • --search (optional): search term to find indicator IDs.
  • --indicator (optional): The content indicator ID (e.g., NY.GDP.MKTP.CD).
  • --country (optional): Country code OR Name (e.g. US;France;China) or "all". Default "US".
  • --date (optional): Date range (e.g., "2020:2025").
  • --format (optional): "json" (default) or "csv".

Example

# 1. Get GDP for France and Germany in CSV format
python3 fetch_worldbank.py --indicator NY.GDP.MKTP.CD --country "France;Germany" --format csv

# 2. Search for "inflation"
python3 fetch_worldbank.py --search "inflation"

Output Format

The script outputs a JSON list (default) or raw CSV text containing:

  • Country, ISO3, Year, Value, Indicator, Unit.

Tips for the Agent

  • Units Matter: Check the unit field. World Bank often uses current US$ or % growth.
  • Use CSV: When the user wants "a table" or "data file", always use --format csv.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.