返回技能列表
country-info
由 picaye 提供
CLI Utilities—暂无评分
你的评分
简介
Get country data — population, languages, currencies, capital, flag, and more using REST Countries API.
描述
该技能的功能
Fetches country data from the REST Countries API, including population, capital, languages, currencies, and flags. Supports lookup by name, country code, currency, language, or region.
No API key or account is required, and partial name matching works so exact spelling is not needed.
何时使用
- Looking up a country's capital city
- Finding what currency a country uses
- Listing all countries that speak a given language
- Comparing population figures across countries
- Getting all countries in a geographic region
示例工作流
输入
User asks: What language do they speak in Brazil?
智能体
- 1
Query REST Countries API by name: /name/brazil
- 2
Parse the languages field from the response object
- 3
Format the language names into a readable reply
输出
Portuguese is the official language of Brazil
安装
clawhub install picaye/country-info运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。