{
  "schemaVersion": "1.0",
  "item": {
    "slug": "kagi",
    "name": "Kagi",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/michaelasper/kagi",
    "canonicalUrl": "https://clawhub.ai/michaelasper/kagi",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/kagi",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kagi",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/kagi-api.md",
      "scripts/kagi_client.py",
      "scripts/kagi_fastgpt.py",
      "scripts/kagi_search.py"
    ],
    "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/kagi"
    },
    "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/kagi",
    "agentPageUrl": "https://openagent3.xyz/skills/kagi/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kagi/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kagi/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": "Kagi (API)",
        "body": "Use the bundled Python scripts to call Kagi’s API from the OpenClaw host."
      },
      {
        "title": "Quick start",
        "body": "Create a token in https://kagi.com/settings/api\nExport it for your shell/session:\n\nexport KAGI_API_TOKEN='…'\n\nRun a search:\n\npython3 scripts/kagi_search.py \"haaps glass\" --limit 10 --json\n\nOr ask FastGPT (LLM + web search):\n\npython3 scripts/kagi_fastgpt.py \"Summarize the latest Haaps glass mentions\" --json"
      },
      {
        "title": "1) Web search (Kagi Search API)",
        "body": "Use when you need a normal ranked list of results (URLs/titles/snippets).\n\nCommand:\n\npython3 scripts/kagi_search.py \"<query>\" [--limit N] [--json]\n\nNotes:\n\nDefaults to printing a readable digest; use --json for raw API output.\nThe script automatically sets Authorization: Bot <token>."
      },
      {
        "title": "2) Answer/summarize with citations (FastGPT)",
        "body": "Use when you want a short answer grounded in web results, including reference URLs.\n\nCommand:\n\npython3 scripts/kagi_fastgpt.py \"<question>\" [--cache true|false] [--json]"
      },
      {
        "title": "3) Using Kagi as a drop-in for web_search",
        "body": "If Brave Search is rate-limited (429) or you want better results:\n\nUse scripts/kagi_search.py to fetch results\nThen use the main agent model to synthesize / summarize based on the returned URLs/snippets"
      },
      {
        "title": "Files",
        "body": "API reference snippets: references/kagi-api.md\nPython client + CLIs: scripts/kagi_client.py, scripts/kagi_search.py, scripts/kagi_fastgpt.py"
      }
    ],
    "body": "Kagi (API)\n\nUse the bundled Python scripts to call Kagi’s API from the OpenClaw host.\n\nQuick start\nCreate a token in https://kagi.com/settings/api\nExport it for your shell/session:\nexport KAGI_API_TOKEN='…'\n\nRun a search:\npython3 scripts/kagi_search.py \"haaps glass\" --limit 10 --json\n\nOr ask FastGPT (LLM + web search):\npython3 scripts/kagi_fastgpt.py \"Summarize the latest Haaps glass mentions\" --json\n\nTasks\n1) Web search (Kagi Search API)\n\nUse when you need a normal ranked list of results (URLs/titles/snippets).\n\nCommand:\n\npython3 scripts/kagi_search.py \"<query>\" [--limit N] [--json]\n\n\nNotes:\n\nDefaults to printing a readable digest; use --json for raw API output.\nThe script automatically sets Authorization: Bot <token>.\n2) Answer/summarize with citations (FastGPT)\n\nUse when you want a short answer grounded in web results, including reference URLs.\n\nCommand:\n\npython3 scripts/kagi_fastgpt.py \"<question>\" [--cache true|false] [--json]\n\n3) Using Kagi as a drop-in for web_search\n\nIf Brave Search is rate-limited (429) or you want better results:\n\nUse scripts/kagi_search.py to fetch results\nThen use the main agent model to synthesize / summarize based on the returned URLs/snippets\nFiles\nAPI reference snippets: references/kagi-api.md\nPython client + CLIs: scripts/kagi_client.py, scripts/kagi_search.py, scripts/kagi_fastgpt.py"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/michaelasper/kagi",
    "publisherUrl": "https://clawhub.ai/michaelasper/kagi",
    "owner": "michaelasper",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/kagi",
    "downloadUrl": "https://openagent3.xyz/downloads/kagi",
    "agentUrl": "https://openagent3.xyz/skills/kagi/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kagi/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kagi/agent.md"
  }
}