← 返回 Skills 市场
simonpierreboucher02

worldbank-al

作者 Simon-Pierrre Boucher · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install worldbank-al
功能描述
Retrieve and interpret World Bank annual development, macroeconomic, and demographic indicators with country comparisons and citation.
使用说明 (SKILL.md)

Skill: World Bank Open Data

FEATURED — agent skill for retrieving, interpreting, and citing World Bank Open Data. Pairs with the worldbank-mcp server. The API is open: NO API KEY is required.

Use imperative voice. Follow these numbered rules.


1. Name

worldbank — World Bank Open Data skill.

2. Purpose

Equip the agent to find the right World Bank indicator, retrieve its annual time series for one or more countries, interpret the values correctly, and cite the result. Use this skill together with the World Bank MCP server, which exposes 6 tools over stdio.

3. When to use World Bank

Use World Bank Open Data when the question involves:

  • Cross-country development indicators — health, education, poverty, environment, infrastructure.
  • Macroeconomic indicators with long annual history — GDP, GDP per capita, GDP growth, inflation, unemployment.
  • Demographics — population, life expectancy, fertility.
  • Comparisons across many countries or regions, including aggregates (World, income groups, regions).
  • A need for free, open, authoritative data with deep historical coverage.

4. When NOT to use World Bank

Do not use World Bank for:

  • High-frequency or real-time data (daily, intraday, monthly market data). Use FRED (for US/economic series) or a markets API instead.
  • The very latest quarter or month — World Bank data is annual and the most recent year(s) are often not yet published (null).
  • Firm-level, ticker, or price data — out of scope.

5. Environment

NONE. There is no API key, token, or account. The MCP server runs with "env": {}. Optional tuning only: WORLDBANK_API_BASE_URL, WORLDBANK_TIMEOUT_MS, WORLDBANK_MAX_RETRIES, LOG_LEVEL. Never add a fictional WORLDBANK_API_KEY.

6. Operations (the 6 tools)

Tool Use it to
worldbank_search_indicators Find indicator codes by keyword.
worldbank_indicator_metadata Confirm name, unit, source, definition, topics.
worldbank_indicator_data Fetch the time-series data (the main tool).
worldbank_country Resolve country codes / metadata.
worldbank_topics Browse the 20+ indicator topics.
worldbank_request Generic passthrough to any /v2 endpoint (source, region, incomelevel, lendingtype, topic/{id}/indicator, …).

7. Discovery workflow

  1. If the indicator code is unknown, call worldbank_search_indicators with a keyword and pick the best { id, name }.
  2. Optionally browse worldbank_topics to navigate by theme.
  3. Confirm the chosen indicator's unit/definition with worldbank_indicator_metadata before reporting numbers.

Popular codes to recognize:

Code Indicator
NY.GDP.MKTP.CD GDP (current US$)
NY.GDP.PCAP.CD GDP per capita (current US$)
NY.GDP.MKTP.KD.ZG GDP growth (annual %)
SP.POP.TOTL Population, total
FP.CPI.TOTL.ZG Inflation, consumer prices (annual %)
SL.UEM.TOTL.ZS Unemployment (% of labor force)
SP.DYN.LE00.IN Life expectancy at birth (years)
EN.ATM.CO2E.PC CO2 emissions (metric tons per capita)
SI.POV.DDAY Poverty headcount ratio (% of population)

8. Data-retrieval workflow

  1. Choose country code(s): ISO3 (USA), ISO2 (US), all, or multiple joined with ; (USA;CHN;IND).
  2. Choose the time window: a fixed range date: "2010:2023" for trends, or mrv: N for the N most recent values.
  3. Call worldbank_indicator_data with country, indicator, and date/mrv (use per_page/page only if needed; keep per_page modest).
  4. Prefer a single multi-country call over many single-country calls.

9. Interpreting data

  • value can be null for years with no observation — treat as missing.
  • Data endpoints return [paginationMeta, dataArray]; the dedicated tools return the data array. With worldbank_request, read index 0 (meta) and index 1 (records), and paginate when pages > 1.
  • Always pair numbers with their unit (from metadata).
  • Distinguish aggregates from countries: WLD (World), EUU (European Union), and income-level/region groups are not single countries.

10. Citation rules

Always cite. Use this exact pattern:

World Bank, \x3Cindicator name> (\x3Ccode>), \x3Ccountry>, \x3Cyear>. https://data.worldbank.org/indicator/\x3Ccode>

Include: "World Bank", indicator name + code, country, year(s), and the indicator URL.

11. Freshness

  • Data is annual. Note lastupdated (from pagination metadata via worldbank_request) when freshness matters.
  • The most recent year(s) may be null because the value is not yet published. Do not present a missing recent year as zero or as a real figure.

12. Numeric integrity

Never invent numbers. A null value means missing — report it as "data not available", not as 0. Quote only values returned by the tools.

13. Error handling

  • [{ "message": [...] }] body → invalid parameter/code. Read key/value, fix the indicator/country code or param, retry once. Do not blindly retry.
  • HTTP 429 → back off; rely on the server's retries and on caching.
  • Empty array → widen the date, use mrv, or verify codes with worldbank_search_indicators / worldbank_country.

14. Cost

The API is free and open. Still be polite: cache annual data, reuse static lookups (topics, country list, sources), avoid huge per_page, and do not loop tightly.

15. Not economic advice

World Bank data is informational. Do not present analysis as financial, investment, or economic advice. Report figures and cite sources.

16. Agent checklist

  • Indicator code confirmed (searched if unknown).
  • Unit/definition checked when it affects interpretation.
  • Correct country code(s) and time window chosen.
  • null/empty handled honestly (no invented values).
  • Aggregates vs. countries distinguished.
  • Citation included (World Bank + name + code + country + year + URL).
  • No API key used ("env": {}).

17. Example workflows

  • Single figure: search → metadata → worldbank_indicator_data with mrv: 1 → cite.
  • Trend: search → worldbank_indicator_data with date: "2000:2023" → chart → cite.
  • Comparison: search → worldbank_indicator_data with country: "USA;CHN;IND" → table → cite.

See recipes/ for full walkthroughs.

18. Common mistakes

  • Guessing an indicator code instead of searching.
  • Treating null as zero or inventing a value.
  • Forgetting to cite.
  • Confusing an aggregate (WLD, income group) with a country.
  • Adding a nonexistent API key.
  • Requesting the current quarter from an annual dataset.

19. Maintenance

  • Periodically re-confirm popular codes via worldbank_search_indicators.
  • Refresh cached series using the lastupdated field.
  • Keep this skill paired with the worldbank-mcp server; if tool names change, update Section 6 and reference/endpoints.md.

Verification needed: confirm with https://datahelpdesk.worldbank.org/knowledgebase/articles/889392

安全使用建议
This appears safe to install for agents that need World Bank public indicator data. Verify the separate worldbank-mcp server before enabling it, keep the environment empty unless you intentionally set non-secret tuning values, and remember the generic passthrough should be used only for World Bank API endpoints.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The artifacts coherently teach an agent how to find, retrieve, interpret, and cite World Bank Open Data through a paired MCP server; the behavior is public-data retrieval and is purpose-aligned.
Instruction Scope
The skill includes a generic World Bank /v2 passthrough tool and optional base URL tuning, but it scopes requests to World Bank API paths, emphasizes no API key, and contains no prompt override or hidden unrelated instructions.
Install Mechanism
The package contains Markdown instructions, references, recipes, prompts, and tests only; no executable scripts, package dependencies, or automatic install-time actions were found.
Credentials
Metadata tags mention sensitive credentials, but the artifact repeatedly states that no API key, token, or account is needed and recommends an empty env configuration; optional environment variables are non-secret tuning values.
Persistence & Privilege
The skill suggests caching public annual data to avoid rate limits, but does not define local indexing of private content, background workers, privilege escalation, credential/session use, or mutation authority.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install worldbank-al
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /worldbank-al 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the World Bank Open Data skill for agents. - Retrieve, interpret, and cite World Bank annual indicators across countries with no API key required. - Supports searching indicators, confirming metadata, fetching time series, resolving country codes, and exploring topics. - Clear rules for when to use or not use, citation, and numeric integrity (handle `null` as missing). - Includes step-by-step workflows, error handling guidance, and checklist for correct data use.
元数据
Slug worldbank-al
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

worldbank-al 是什么?

Retrieve and interpret World Bank annual development, macroeconomic, and demographic indicators with country comparisons and citation. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 worldbank-al?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install worldbank-al」即可一键安装,无需额外配置。

worldbank-al 是免费的吗?

是的,worldbank-al 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

worldbank-al 支持哪些平台?

worldbank-al 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 worldbank-al?

由 Simon-Pierrre Boucher(@simonpierreboucher02)开发并维护,当前版本 v1.0.0。

💬 留言讨论