Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

bx

Skill by brave

Gives AI agents web search through the Brave Search CLI, returning pre-extracted, token-budgeted content for grounding. It also covers synthesized answers, news, images, videos, places, and Goggles custom ranking.

  • Score 79
  • 198 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install bx

Built from the published package, never by AI.

git clone --depth 1 https://github.com/brave/brave-search-skills /tmp/brave-search-skills && mkdir -p ~/.claude/skills && cp -r /tmp/brave-search-skills/skills/bx ~/.claude/skills/bx

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install bx in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

bx is a command line interface for the Brave Search API. Its default command, bx "query", returns pre-extracted web content that is token-budgeted for use as grounding in retrieval-augmented generation. It also offers synthesized answers, traditional web, news, image, video, and place search, plus query suggestions and spell checks. All output is JSON printed to stdout.

Goggles let users boost, downrank, or discard domains through inline rules, a stdin pipe, or the --include-site and --exclude-site shortcuts. Token budget flags control output size, URL count, snippets, and relevance threshold. The skill is aimed at AI agents and coding assistants that need current web content, as well as fact-checking, documentation lookup, research, and news monitoring. It requires a Brave Search API key and the bx binary.

Written from the project's SKILL.md and checked against it.

What it can do

  • context (default)Returns pre-extracted web content with URLs, titles and snippets for grounding.
  • answersGives synthesized, cited answers, streamed by default, with optional deep research.
  • webReturns traditional search results across web, news, videos and discussions.
  • newsReturns news articles with freshness filters.
  • imagesSearches images, with up to 200 results.
  • videosSearches videos with duration and view data.
  • placesSearches local places and businesses across 200M+ POIs.
  • suggest and spellcheckProvides query suggestions and spell checking.
  • GogglesApplies custom ranking rules to boost, downrank or discard domains.
  • Token budget controlLimits tokens, URLs, snippets and relevance threshold in context output.

What you need

  • Brave Search API key
  • bx binary, installed with the provided install script
  • macOS or Linux
  • Brave Search subscription plan (varies by subcommand)

Try asking

  • Search the web for Rust axum middleware docs and summarize the key points.
  • Find news from the past day about Next.js 15.
  • Search only docs.rs and github.com for axum tower middleware examples.

Good to know

  • Different subcommands may require different Brave Search plans.
  • Research mode via answers --enable-research can take up to 5 minutes.
  • --include-site, --exclude-site and --goggles cannot be used together.

Security check

C
  • Downloads a script from the internet and runs itIn skills/bx/SKILL.md: curl -fsSL https://raw.githubusercontent.com/brave/brave-search-cli/main/scripts/install.sh | sh

Checked automatically: skills/bx/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to bx

All alternatives →

Compare with box, n8n-mcp-tools-expert or citation-management

bx: common questions

Does bx need an API key?

Yes. The source says it requires a Brave Search API key, which can be set with bx config set-key or the BRAVE_SEARCH_API_KEY variable.

What output format does bx produce?

All output is JSON written to stdout, and errors are written to stderr.

What are Goggles in bx?

Goggles are custom ranking rules that control which sources appear in results. The source says they are supported on the context, web and news commands.

How do I install bx?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is bx free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is bx safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality B. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to bx?

Similar skills: box, n8n-mcp-tools-expert, citation-management, exa-search.

Add to stack

Loading.