Skip to content
HUIAHUB

brave/brave-search-skills/skills/bx

Brave Search CLI skill

Guides coding agents to use Brave Search for web research, RAG grounding, fact-checking, documentation lookup, news, images, videos, places, and custom search ranking.

Agent skillAgent skillsMIT

What Brave Search CLI skill does

This skill teaches a coding agent to use Brave's bx command-line tool when a task needs information from the web. The agent needs the separate bx executable and a Brave Search API key. For ordinary lookups, it runs bx "query", which uses the default context command. That returns JSON containing source URLs, page titles, and extracted text snippets. The skill applies this workflow to documentation searches, debugging, fact-checking, and grounding answers in retrieved content.

If the initial results are too broad, the agent can reduce the token budget, limit the number of URLs, or select a stricter relevance threshold. Site filters and Brave Goggles let it include, exclude, or change the ranking of particular sources. For generated explanations, the agent uses bx answers. Research mode supports iterative searches across multiple sources. Other commands retrieve traditional web results, recent news, images, videos, local places, query suggestions, and spelling corrections.

The output depends on the chosen command. Context searches return structured source material, answer requests return generated explanations with citations, and other searches return JSON results for their respective categories. The skill documents command selection, output fields, and error handling. It contains instructions for using the CLI rather than the executable itself.

Install

npx openskills install brave/brave-search-skills

Read the security check below before you run it. The repository's own instructions win if they differ.

Security check

What the skill's files do, from reading them. A flag that nobody has checked yet says "Not checked", never "No".

Runs scripts
No
Uses the network
Yes
Installs hooks
No
Asks for secrets
Yes

The folder scan found no bundled scripts or installed hooks. The skill instructs an agent to run the separate bx executable, which makes network requests and requires a Brave Search API key. Its configuration commands can store the key locally. The SKILL.md also suggests a CLI installer that downloads and executes a shell script. Review that script before running it. The listed OpenSkills command uses a third-party installer, so check its behavior and installation destination. Keep API credentials in scoped agent configuration and review what commands the agent can execute.

Scan details: SKILL.md mentions an API key, token or secret variable. SKILL.md instructions include web requests or URLs to fetch. Checked at commit 62793e0c49ed.

Use cases

  • Find current documentation and code examples while debugging.
  • Retrieve source text for RAG grounding and fact-checking.
  • Research technical questions using cited answers and iterative searches.
  • Search news, images, videos, and local places through CLI commands.

Limitations

  • Requires the separate `bx` CLI executable and a Brave Search API key.
  • Different CLI subcommands may require different Brave Search API plans.
  • Research mode can take up to five minutes and needs an appropriate client timeout.
  • The listed OpenSkills command installs from the repository, which contains skills beyond `bx`.

Sources