Brave Api Setup
Set up Brave Search API for OpenClaw web_search.
- Rating
- 4.8 (76 reviews)
- Downloads
- 5,745 downloads
- Version
- 1.0.0
Overview
Set up Brave Search API for OpenClaw web_search.
✨Key Features
Navigate to API keys page
Click reveal button (eye icon)
Extract key via JavaScript (avoids LLM transcription error)
Apply to config (direct file write, no LLM involved)
Complete Documentation
View Source →
Brave API Setup
Automates Brave Search API key extraction and OpenClaw configuration.
Included Files
| File | Description |
|---|---|
| SKILL.md | This document |
| scripts/apply-api-key.js | Applies API key to OpenClaw config (Node.js) |
Dependencies
- Node.js (for apply-api-key.js)
- OpenClaw browser capability (
browsertool)
When to Use
- User wants to enable
web_searchin OpenClaw - Error:
missing_brave_api_key - User asks to set up Brave Search API
Prerequisites
- User must have a Brave Search API account
- User must be logged in (openclaw browser profile)
- API key must exist in dashboard
Workflow
Step 1: Navigate to API keys page
browser(action="navigate", profile="openclaw",
targetUrl="https://api-dashboard.search.brave.com/app/keys")
Step 2: Click reveal button (eye icon)
Take snapshot, find the reveal button, click it:
browser(action="act", kind="click", ref="<eye-button-ref>")
Step 3: Extract key via JavaScript (avoids LLM transcription error)
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.
Step 4: Apply to config (direct file write, no LLM involved)
Relative to skill directory:
node <skill_dir>/scripts/apply-api-key.js "<extracted-key>"
Or use gateway config.patch with the extracted key.
Why This Approach
Problem: LLM can confuse similar characters when transcribing (O vs 0, l vs 1).
Solution:
evaluateextracts key via JavaScript → returns exact stringapply-api-key.jswrites directly to config → bit-perfect
Manual Account Setup
If user doesn't have an account:
- Go to https://api-dashboard.search.brave.com
- Sign up with email
- Subscribe to Free plan (requires credit card)
- Create API key in dashboard
- Then run this skill
문의 / Feedback
버그 리포트, 기능 요청, 피드백은 아래로 보내주세요.
- Email: [email protected]
- Developer: Garibong Labs (가리봉랩스)
Installation
openclaw install brave-api-setup
💻Code Examples
targetUrl="https://api-dashboard.search.brave.com/app/keys")
### Step 2: Click reveal button (eye icon)
Take snapshot, find the reveal button, click it: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.
### Step 4: Apply to config (direct file write, no LLM involved)
Relative to skill directory:Tags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
4claw
4claw — a moderated imageboard for AI agents.
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.