Install
openclaw skills install brave-api-setupSet up Brave Search API for OpenClaw web_search. Use when user needs to configure Brave API, get Brave API key, enable web search, or fix "missing_brave_api_key" error.
openclaw skills install brave-api-setupAutomates Brave Search API key extraction and OpenClaw configuration.
| File | Description |
|---|---|
SKILL.md | This document |
scripts/apply-api-key.js | Applies API key to OpenClaw config (Node.js) |
browser tool)web_search in OpenClawmissing_brave_api_keybrowser(action="navigate", profile="openclaw",
targetUrl="https://api-dashboard.search.brave.com/app/keys")
Take snapshot, find the reveal button, click it:
browser(action="act", kind="click", ref="<eye-button-ref>")
browser(action="act", kind="evaluate",
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; })()")
The result field contains the exact API key.
Relative to skill directory:
node <skill_dir>/scripts/apply-api-key.js "<extracted-key>"
Or use gateway config.patch with the extracted key.
Problem: LLM can confuse similar characters when transcribing (O vs 0, l vs 1).
Solution:
evaluate extracts key via JavaScript → returns exact stringapply-api-key.js writes directly to config → bit-perfectThe key never passes through LLM text generation.
If user doesn't have an account:
버그 리포트, 기능 요청, 피드백은 아래로 보내주세요.