用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/duclm1x1/Dive-Ai --skill countries命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | countries |
| version | 1.0.0 |
| description | CLI for AI agents to lookup country info for their humans. Uses REST Countries API. No auth required. |
| homepage | https://restcountries.com |
| metadata | {"openclaw":{"emoji":"🌍","requires":{"bins":["bash","curl","jq","bc"]},"tags":["countries","geography","reference","api","cli"]}} |
CLI for AI agents to lookup country info for their humans. "What's the capital of Mongolia?" — now your agent can answer.
Uses REST Countries API (v3.1). No account or API key needed.
"Tell me about Japan"
"What countries are in South America?"
"Which country has Tokyo as capital?"
"Info on country code DE"
| Action | Command |
|---|---|
| Search by name | countries search "query" |
| Get details | countries info <code> |
| List by region | countries region <region> |
| Search by capital | countries capital "city" |
| List all | countries all |
countries search "united states" # Find country by name
countries info US # Get full details by alpha-2 code
countries info USA # Also works with alpha-3
countries region europe # All European countries
countries capital tokyo # Find country by capital
countries all # List all countries (sorted)
Valid regions: africa, americas, asia, europe, oceania
Search/list output:
[US] United States — Washington D.C., Americas, Pop: 331M, 🇺🇸
Info output:
🌍 Japan
Official: Japan
Code: JP / JPN / 392
Capital: Tokyo
Region: Asia — Eastern Asia
Population: 125.8M
Area: 377930 km²
Languages: Japanese
Currencies: Japanese yen (JPY)
Timezones: UTC+09:00
Borders: None (island/isolated)
Driving: left side
Flag: 🇯🇵
🗺️ Map: https://goo.gl/maps/...
Script location: {skill_folder}/countries (wrapper to scripts/countries)
When user asks about countries:
./countries search "name" to find country code./countries info <code> for full details./countries region <region> for regional lists./countries capital "city" to find by capitalCommon patterns:
Don't use for: Historical countries, disputed territories, non-sovereign regions.