Перейти к содержимому
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 — любой кодинг-агент, которым пользуетесь.

Ссылки