/install country-info
Country Info
Get country data — population, languages, currencies, capital, flag, and more using REST Countries API.
Category: education API Key Required: No
When to use
- User asks about a country (population, capital, language, currency)
- User wants to compare countries
- User asks "what currency does X use?" or "what language do they speak in X?"
How it works
Base URL: https://restcountries.com/v3.1
1. Search by name
curl -s "https://restcountries.com/v3.1/name/france"
2. Get by country code
curl -s "https://restcountries.com/v3.1/alpha/GB"
3. Filter specific fields (reduce response size)
curl -s "https://restcountries.com/v3.1/name/japan?fields=name,capital,population,currencies,languages,flags"
4. Search by currency
curl -s "https://restcountries.com/v3.1/currency/eur"
5. Search by language
curl -s "https://restcountries.com/v3.1/lang/spanish"
6. Get all countries in a region
curl -s "https://restcountries.com/v3.1/region/europe?fields=name,capital,population"
Regions: africa, americas, asia, europe, oceania.
Examples
User: "Tell me about Japan" → Query by name. Reply with capital, population, languages, currency, region, flag emoji.
User: "What countries use the Euro?" → Query by currency/eur. List the countries.
Constraints
- Free, no key needed, no strict rate limit
- Country names are flexible (partial matches work)
- Some fields are deeply nested — parse carefully
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install country-info - 安装完成后,直接呼叫该 Skill 的名称或使用
/country-info触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Country Info 是什么?
Retrieve detailed country data including population, capital, languages, currencies, flag, and regional info using the REST Countries API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 514 次。
如何安装 Country Info?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install country-info」即可一键安装,无需额外配置。
Country Info 是免费的吗?
是的,Country Info 完全免费(开源免费),可自由下载、安装和使用。
Country Info 支持哪些平台?
Country Info 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Country Info?
由 picaye(@picaye)开发并维护,当前版本 v1.0.0。