← 返回 Skills 市场
picaye

Country Info

作者 picaye · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
514
总下载
0
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install country-info
功能描述
Retrieve detailed country data including population, capital, languages, currencies, flag, and regional info using the REST Countries API.
使用说明 (SKILL.md)

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
安全使用建议
This skill appears low-risk: it only documents making HTTPS GET requests to the public REST Countries API and does not request secrets or install code. Before installing, note that the skill will perform outbound requests to restcountries.com when invoked (so network access is required), and responses may include external flag image URLs if your UI fetches them. If you care about provenance, confirm you trust the skill author (owner is unknown) — because instruction-only skills are small but still come from whoever published them. If you expect many repeated queries, consider caching results to avoid hitting the public API. Otherwise, it is coherent with its stated purpose and contains no obvious red flags.
功能分析
Type: OpenClaw Skill Name: country-info Version: 1.0.0 The OpenClaw skill bundle is designed to fetch public country data from the legitimate `restcountries.com` API. The `_meta.json` file contains standard metadata, and the `SKILL.md` file provides clear, benign instructions and `curl` examples for interacting with the specified API. There is no evidence of data exfiltration, malicious execution, persistence, obfuscation, or prompt injection attempts to subvert the agent's behavior towards harmful actions. All network calls are directed to a known, public, and secure (HTTPS) endpoint for its stated purpose.
能力评估
Purpose & Capability
Name/description match the behavior: the SKILL.md shows curl calls to restcountries.com to retrieve country data. No unrelated binaries, credentials, or installs are requested.
Instruction Scope
Runtime instructions are limited to performing GET requests against https://restcountries.com (examples use curl). The document does not instruct reading local files, other env vars, or sending data to unexpected endpoints.
Install Mechanism
No install spec and no code files are present (instruction-only), so nothing is written to disk or installed by the skill.
Credentials
No environment variables, credentials, or config paths are requested. This aligns with a public, no-key API integration.
Persistence & Privilege
Skill does not request always:true and does not modify other skills or system-wide settings. Autonomous invocation is allowed by default, which is expected for skills and not by itself a concern.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install country-info
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /country-info 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Country Info skill. - Provides population, languages, currency, capital, flag, and more for any country using the REST Countries API. - Supports searching by country name, country code, currency, language, and region. - Allows filtering response fields to reduce data size. - No API key required and minimal rate limiting. - Useful for quick country facts, comparisons, and currency/language lookups.
元数据
Slug country-info
版本 1.0.0
许可证
累计安装 4
当前安装数 4
历史版本数 1
常见问题

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。

💬 留言讨论