New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Command-line web search built for AI agents, returning pre-extracted, token-budgeted content for grounding and research.

skills.sh installs
1.2K
GitHub stars
197
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers web search, AI answers, news, images, videos, places, suggestions, and spellcheck through subcommands like context, answers, and web
  • Returns token-capped snippets per URL, controlled by flags such as --max-tokens, --max-urls, and --threshold strict
  • Supports Goggles custom ranking with --include-site, --exclude-site, and --goggles rules that boost, downrank, or discard domains
  • Requires a Brave Search API key, and some subcommands depend on the subscription plan

Install

$ npx -y skills add brave/brave-search-skills --skill bx -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

bx — Brave Search CLI

Use bx for all web searches. Run bx "query" as the default — it returns pre-extracted, token-budgeted web content ready for use. Use bx answers for synthesized explanations or bx web for traditional search results. If bx is not found, install it: curl -fsSL https://raw.githubusercontent.com/brave/brave-search-cli/main/scripts/install.sh | sh

Requires: Brave Search API Key + bx binary

Plans: Different subcommands may require different plans. See https://api-dashboard.search.brave.com/app/subscriptions/subscribe

Quick Start

# Install (macOS/Linux)
curl -fsSL https://raw.githubusercontent.com/brave/brave-search-cli/main/scripts/install.sh | sh

# Configure API key (get one at https://api-dashboard.search.brave.com)
bx config set-key              # interactive (avoids shell history)
# or: export BRAVE_SEARCH_API_KEY=YOUR_KEY

# Search (default = bx context "query")
bx "your search query"

When to Use Which Command

Details

Repository
github.com/brave/brave-search-skills
Categories
CLI & Terminal, AI Agents & LLM Apps
First seen
Jun 3, 2026

More from brave/brave-search-skills

All 11

Similar to Bx

More CLI & Terminal