{
  "schemaVersion": "1.0",
  "item": {
    "slug": "brave-api-setup",
    "name": "Brave Api Setup",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/garibong-labs/brave-api-setup",
    "canonicalUrl": "https://clawhub.ai/garibong-labs/brave-api-setup",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/brave-api-setup",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=brave-api-setup",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/apply-api-key.js"
    ],
    "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. 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. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "brave-api-setup",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T23:44:29.527Z",
      "expiresAt": "2026-05-07T23:44:29.527Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=brave-api-setup",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=brave-api-setup",
        "contentDisposition": "attachment; filename=\"brave-api-setup-0.1.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "brave-api-setup"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/brave-api-setup"
    },
    "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/brave-api-setup",
    "agentPageUrl": "https://openagent3.xyz/skills/brave-api-setup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/brave-api-setup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/brave-api-setup/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. 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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Brave API Setup",
        "body": "Automates Brave Search API key extraction and OpenClaw configuration."
      },
      {
        "title": "Included Files",
        "body": "FileDescriptionSKILL.mdThis documentscripts/apply-api-key.jsApplies API key to OpenClaw config (Node.js)"
      },
      {
        "title": "Dependencies",
        "body": "Node.js (for apply-api-key.js)\nOpenClaw browser capability (browser tool)"
      },
      {
        "title": "When to Use",
        "body": "User wants to enable web_search in OpenClaw\nError: missing_brave_api_key\nUser asks to set up Brave Search API"
      },
      {
        "title": "Prerequisites",
        "body": "User must have a Brave Search API account\nUser must be logged in (openclaw browser profile)\nAPI key must exist in dashboard"
      },
      {
        "title": "Step 1: Navigate to API keys page",
        "body": "browser(action=\"navigate\", profile=\"openclaw\", \n        targetUrl=\"https://api-dashboard.search.brave.com/app/keys\")"
      },
      {
        "title": "Step 2: Click reveal button (eye icon)",
        "body": "Take snapshot, find the reveal button, click it:\n\nbrowser(action=\"act\", kind=\"click\", ref=\"<eye-button-ref>\")"
      },
      {
        "title": "Step 3: Extract key via JavaScript (avoids LLM transcription error)",
        "body": "browser(action=\"act\", kind=\"evaluate\", \n        fn=\"(() => { const cells = document.querySelectorAll('td'); for (const cell of cells) { const text = cell.textContent?.trim(); if (text && text.startsWith('BSA') && !text.includes('•') && text.length > 20) return text; } return null; })()\")\n\nThe result field contains the exact API key."
      },
      {
        "title": "Step 4: Apply to config (direct file write, no LLM involved)",
        "body": "Relative to skill directory:\n\nnode <skill_dir>/scripts/apply-api-key.js \"<extracted-key>\"\n\nOr use gateway config.patch with the extracted key."
      },
      {
        "title": "Why This Approach",
        "body": "Problem: LLM can confuse similar characters when transcribing (O vs 0, l vs 1).\n\nSolution:\n\nevaluate extracts key via JavaScript → returns exact string\napply-api-key.js writes directly to config → bit-perfect\n\nThe key never passes through LLM text generation."
      },
      {
        "title": "Manual Account Setup",
        "body": "If user doesn't have an account:\n\nGo to https://api-dashboard.search.brave.com\nSign up with email\nSubscribe to Free plan (requires credit card)\nCreate API key in dashboard\nThen run this skill"
      },
      {
        "title": "문의 / Feedback",
        "body": "버그 리포트, 기능 요청, 피드백은 아래로 보내주세요.\n\nEmail: contact@garibong.dev\nDeveloper: Garibong Labs (가리봉랩스)"
      }
    ],
    "body": "Brave API Setup\n\nAutomates Brave Search API key extraction and OpenClaw configuration.\n\nIncluded Files\nFile\tDescription\nSKILL.md\tThis document\nscripts/apply-api-key.js\tApplies API key to OpenClaw config (Node.js)\nDependencies\nNode.js (for apply-api-key.js)\nOpenClaw browser capability (browser tool)\nWhen to Use\nUser wants to enable web_search in OpenClaw\nError: missing_brave_api_key\nUser asks to set up Brave Search API\nPrerequisites\nUser must have a Brave Search API account\nUser must be logged in (openclaw browser profile)\nAPI key must exist in dashboard\nWorkflow\nStep 1: Navigate to API keys page\nbrowser(action=\"navigate\", profile=\"openclaw\", \n        targetUrl=\"https://api-dashboard.search.brave.com/app/keys\")\n\nStep 2: Click reveal button (eye icon)\n\nTake snapshot, find the reveal button, click it:\n\nbrowser(action=\"act\", kind=\"click\", ref=\"<eye-button-ref>\")\n\nStep 3: Extract key via JavaScript (avoids LLM transcription error)\nbrowser(action=\"act\", kind=\"evaluate\", \n        fn=\"(() => { const cells = document.querySelectorAll('td'); for (const cell of cells) { const text = cell.textContent?.trim(); if (text && text.startsWith('BSA') && !text.includes('•') && text.length > 20) return text; } return null; })()\")\n\n\nThe result field contains the exact API key.\n\nStep 4: Apply to config (direct file write, no LLM involved)\n\nRelative to skill directory:\n\nnode <skill_dir>/scripts/apply-api-key.js \"<extracted-key>\"\n\n\nOr use gateway config.patch with the extracted key.\n\nWhy This Approach\n\nProblem: LLM can confuse similar characters when transcribing (O vs 0, l vs 1).\n\nSolution:\n\nevaluate extracts key via JavaScript → returns exact string\napply-api-key.js writes directly to config → bit-perfect\n\nThe key never passes through LLM text generation.\n\nManual Account Setup\n\nIf user doesn't have an account:\n\nGo to https://api-dashboard.search.brave.com\nSign up with email\nSubscribe to Free plan (requires credit card)\nCreate API key in dashboard\nThen run this skill\n문의 / Feedback\n\n버그 리포트, 기능 요청, 피드백은 아래로 보내주세요.\n\nEmail: contact@garibong.dev\nDeveloper: Garibong Labs (가리봉랩스)"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/garibong-labs/brave-api-setup",
    "publisherUrl": "https://clawhub.ai/garibong-labs/brave-api-setup",
    "owner": "garibong-labs",
    "version": "0.1.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/brave-api-setup",
    "downloadUrl": "https://openagent3.xyz/downloads/brave-api-setup",
    "agentUrl": "https://openagent3.xyz/skills/brave-api-setup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/brave-api-setup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/brave-api-setup/agent.md"
  }
}