跳到正文
TakoAPI
返回技能列表

brave-api-setup

由 garibong-labs 提供

Web & Frontend Development
1.3k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Set up Brave Search API for OpenClaw web_search.

描述

该技能的功能

Automates Brave Search API key extraction and applies it to OpenClaw configuration. Uses browser automation to retrieve the key via JavaScript evaluation, bypassing character transcription errors that can occur when an LLM reads the key directly.

Extracting the key via JavaScript evaluation instead of LLM transcription eliminates silent misconfigurations caused by visually similar characters like O/0 or l/1.

何时使用

  • Fixing a missing_brave_api_key error in OpenClaw
  • Enabling web_search for the first time
  • Re-applying a rotated Brave API key after account changes
  • Setting up a fresh OpenClaw install with search capability
  • Recovering from a broken web search config

示例工作流

输入

User asks: 'I'm getting a missing_brave_api_key error, can you fix it?'

智能体
  1. 1

    Navigate to https://api-dashboard.search.brave.com/app/keys using the openclaw browser profile

  2. 2

    Click the reveal (eye) button to expose the API key

  3. 3

    Run JavaScript evaluation to extract the exact key string from the page DOM

  4. 4

    Execute apply-api-key.js with the extracted key to write it directly to OpenClaw config

输出

OpenClaw config updated with the correct Brave API key; web_search becomes functional

前置要求

  • Brave Search API account (free plan requires credit card for signup)
  • Brave API key created in the dashboard at https://api-dashboard.search.brave.com

安装

clawhub install garibong-labs/brave-api-setup

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接