{
  "schemaVersion": "1.0",
  "item": {
    "slug": "countries",
    "name": "Countries",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/jeffaf/countries",
    "canonicalUrl": "https://clawhub.ai/jeffaf/countries",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/countries",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=countries",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/countries"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/countries",
    "agentPageUrl": "https://openagent3.xyz/skills/countries/agent",
    "manifestUrl": "https://openagent3.xyz/skills/countries/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/countries/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Countries Lookup",
        "body": "CLI for AI agents to lookup country info for their humans. \"What's the capital of Mongolia?\" — now your agent can answer.\n\nUses REST Countries API (v3.1). No account or API key needed."
      },
      {
        "title": "Usage",
        "body": "\"Tell me about Japan\"\n\"What countries are in South America?\"\n\"Which country has Tokyo as capital?\"\n\"Info on country code DE\""
      },
      {
        "title": "Commands",
        "body": "ActionCommandSearch by namecountries search \"query\"Get detailscountries info <code>List by regioncountries region <region>Search by capitalcountries capital \"city\"List allcountries all"
      },
      {
        "title": "Examples",
        "body": "countries search \"united states\"   # Find country by name\ncountries info US                  # Get full details by alpha-2 code\ncountries info USA                 # Also works with alpha-3\ncountries region europe            # All European countries\ncountries capital tokyo            # Find country by capital\ncountries all                      # List all countries (sorted)"
      },
      {
        "title": "Regions",
        "body": "Valid regions: africa, americas, asia, europe, oceania"
      },
      {
        "title": "Output",
        "body": "Search/list output:\n\n[US] United States — Washington D.C., Americas, Pop: 331M, 🇺🇸\n\nInfo output:\n\n🌍 Japan\n   Official: Japan\n   Code: JP / JPN / 392\n   Capital: Tokyo\n   Region: Asia — Eastern Asia\n   Population: 125.8M\n   Area: 377930 km²\n   Languages: Japanese\n   Currencies: Japanese yen (JPY)\n   Timezones: UTC+09:00\n   Borders: None (island/isolated)\n   Driving: left side\n   Flag: 🇯🇵\n\n🗺️ Map: https://goo.gl/maps/..."
      },
      {
        "title": "Notes",
        "body": "Uses REST Countries API v3.1 (restcountries.com)\nNo authentication or rate limits\nCountry codes: alpha-2 (US), alpha-3 (USA), or numeric (840)\nPopulation formatted with K/M/B suffixes\nAll regions lowercase"
      },
      {
        "title": "Agent Implementation Notes",
        "body": "Script location: {skill_folder}/countries (wrapper to scripts/countries)\n\nWhen user asks about countries:\n\nRun ./countries search \"name\" to find country code\nRun ./countries info <code> for full details\nRun ./countries region <region> for regional lists\nRun ./countries capital \"city\" to find by capital\n\nCommon patterns:\n\n\"What country is X in?\" → search by name\n\"Tell me about X\" → search, then info with code\n\"Countries in Europe\" → region europe\n\"Capital of X\" → info with code, check capital field\n\"What country has capital X?\" → capital search\n\nDon't use for: Historical countries, disputed territories, non-sovereign regions."
      }
    ],
    "body": "Countries Lookup\n\nCLI for AI agents to lookup country info for their humans. \"What's the capital of Mongolia?\" — now your agent can answer.\n\nUses REST Countries API (v3.1). No account or API key needed.\n\nUsage\n\"Tell me about Japan\"\n\"What countries are in South America?\"\n\"Which country has Tokyo as capital?\"\n\"Info on country code DE\"\n\nCommands\nAction\tCommand\nSearch by name\tcountries search \"query\"\nGet details\tcountries info <code>\nList by region\tcountries region <region>\nSearch by capital\tcountries capital \"city\"\nList all\tcountries all\nExamples\ncountries search \"united states\"   # Find country by name\ncountries info US                  # Get full details by alpha-2 code\ncountries info USA                 # Also works with alpha-3\ncountries region europe            # All European countries\ncountries capital tokyo            # Find country by capital\ncountries all                      # List all countries (sorted)\n\nRegions\n\nValid regions: africa, americas, asia, europe, oceania\n\nOutput\n\nSearch/list output:\n\n[US] United States — Washington D.C., Americas, Pop: 331M, 🇺🇸\n\n\nInfo output:\n\n🌍 Japan\n   Official: Japan\n   Code: JP / JPN / 392\n   Capital: Tokyo\n   Region: Asia — Eastern Asia\n   Population: 125.8M\n   Area: 377930 km²\n   Languages: Japanese\n   Currencies: Japanese yen (JPY)\n   Timezones: UTC+09:00\n   Borders: None (island/isolated)\n   Driving: left side\n   Flag: 🇯🇵\n\n🗺️ Map: https://goo.gl/maps/...\n\nNotes\nUses REST Countries API v3.1 (restcountries.com)\nNo authentication or rate limits\nCountry codes: alpha-2 (US), alpha-3 (USA), or numeric (840)\nPopulation formatted with K/M/B suffixes\nAll regions lowercase\nAgent Implementation Notes\n\nScript location: {skill_folder}/countries (wrapper to scripts/countries)\n\nWhen user asks about countries:\n\nRun ./countries search \"name\" to find country code\nRun ./countries info <code> for full details\nRun ./countries region <region> for regional lists\nRun ./countries capital \"city\" to find by capital\n\nCommon patterns:\n\n\"What country is X in?\" → search by name\n\"Tell me about X\" → search, then info with code\n\"Countries in Europe\" → region europe\n\"Capital of X\" → info with code, check capital field\n\"What country has capital X?\" → capital search\n\nDon't use for: Historical countries, disputed territories, non-sovereign regions."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/jeffaf/countries",
    "publisherUrl": "https://clawhub.ai/jeffaf/countries",
    "owner": "jeffaf",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/countries",
    "downloadUrl": "https://openagent3.xyz/downloads/countries",
    "agentUrl": "https://openagent3.xyz/skills/countries/agent",
    "manifestUrl": "https://openagent3.xyz/skills/countries/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/countries/agent.md"
  }
}