brave-search

brave-search is a skill for Claude Code from bdmorin/the-no-shop. It costs 100 tokens per session (1,546 once invoked), scanned C, original, MIT.

A skill for using the Brave Search REST API, which provides web, news, image, video, local-place, spelling, and AI-assisted search endpoints.

In plain words
What is it for?
Use it to perform live web, news, image, video, local, suggestion, spellcheck, context, or cited-answer searches.
Why use it?
It gives agents a documented way to retrieve current information and search results from Brave Search.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the brave-search plugin — 1 skill shipped together

Good fit Use it to perform live web, news, image, video, local, suggestion, spellcheck, context, or cited-answer searches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bdmorin/the-no-shop/brave-search
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bdmorin/the-no-shop --skill brave-search
Clone the repo
git clone --depth 1 https://github.com/bdmorin/the-no-shop

Made for: Claude Code.

Or install brave-search, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for brave-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/bdmorin/the-no-shop/brave-search/github.svg)](https://agentmods.dev/skills/bdmorin/the-no-shop/brave-search)
Your own site
<a href="https://agentmods.dev/skills/bdmorin/the-no-shop/brave-search"><img src="https://agentmods.dev/badge/skills/bdmorin/the-no-shop/brave-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for brave-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/bdmorin/the-no-shop/brave-search"><img src="https://agentmods.dev/badge/skills/bdmorin/the-no-shop/brave-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,546 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.01546
Opus 5 $0.00050 $0.00773
Sonnet 5 $0.00020 $0.00309
Haiku 4.5 $0.00010 $0.00155

Measured 11d ago against content hash b6523213ef39, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

brave-search scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

Read the key from environment: `$(printenv BRAVE_SEARCH_API_KEY)`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: "Bash(curl *)"
plugins/brave-search/skills/brave-search/SKILL.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Brave Search API

Base URL: https://api.search.brave.com/res/v1

Authentication

Every request requires these headers:

X-Subscription-Token: <BRAVE_SEARCH_API_KEY>
Accept: application/json
Accept-Encoding: gzip
Cache-Control: no-cache

Missing Cache-Control: no-cache returns 422. Missing token returns 401.

Read the key from environment: $(printenv BRAVE_SEARCH_API_KEY)

Endpoints — Quick Reference

Endpoint Path Key params
Web Search GET /web/search q, count, offset, freshness, country, extra_snippets
LLM Context GET /llm/context q, count, maximum_number_of_tokens, context_threshold_mode
Answers POST /chat/completions OpenAI-format, model="brave", enable_citations, enable_research
Image Search GET /images/search q, count (max 200), safesearch
Video Search GET /videos/search q, count, freshness
News Search GET /news/search q, count (max 50), freshness
Suggest GET /suggest/search q, count
Spellcheck GET /spellcheck/search q
Local POIs GET /local/pois ids[] (from web search, max 20)
Local Descriptions GET /local/descriptions ids[] (from web search, max 20)
Rich Results GET /web/rich key (callback_key from web response)
Summarizer GET /summarizer/search key (from web search with summary=1)
curl -s --compressed \
  "https://api.search.brave.com/res/v1/web/search?q=YOUR+QUERY&count=10" \
  -H "X-Subscription-Token: $(printenv BRAVE_SEARCH_API_KEY)" \
  -H "Accept: application/json" \
  -H "Accept-Encoding: gzip" \
  -H "Cache-Control: no-cache"

Response fields you'll use most:

  • web.results[] — array of results: .title, .url, .description, .extra_snippets[]
  • query.more_results_available — boolean, check before fetching next page
  • locations.results[] — local business POIs (if query is location-sensitive)
  • rich — rich result hint (weather, stocks, etc. if enable_rich_callback=1)

Read the full file on GitHub · 147 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 147 lines · 100 tokens per session scan C b6523213ef39

Subscribe to this mod's changes

brave-search is a skill published in the GitHub repository bdmorin/the-no-shop (10 stars, last pushed 5mo ago), licensed MIT. It adds 100 tokens to every session and 1,546 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 2 findings (harvests environment variables, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

vast-ai-gpu-cloud

Safely inspect and operate Vast.ai marketplace instances with the vastai CLI, live offer data, and explicit approval before paid or destructive actions.

synthetic-sciences/openscience · 34 tokens

ci-self-heal

A diagnostic guide for analysing failed continuous-integration checks. Continuous integration, or CI, automatically tests and builds code changes; this guide classifies failures and suggests fixes without editing the code.

rushengzhou/sid-code · 73 tokens

claude-code-migration

A guided tool for copying Claude Code settings and project configuration into sid-code. It checks what can be moved, asks before writing, and records what was transferred.

rushengzhou/sid-code · 100 tokens

code-review

A review process for a pull request, which is a proposed set of code changes. It examines the changed code and its surrounding files for bugs, security problems, design issues, and lint errors.

rushengzhou/sid-code · 49 tokens

security-audit

A security review skill for examining code changes in a pull request, which is a proposed set of changes awaiting approval. It reports issues such as injection, exposed secrets, unsafe authentication, weak cryptography, vulnerable dependencies, and infrastructure mistakes.

rushengzhou/sid-code · 85 tokens

incident-rca

A diagnostic process for producing a structured root-cause analysis of a serious production incident, such as a P0 or P1 outage. It compares logs, measurements, request traces, code changes, and architecture decisions, and gives ranked explanations and actions.

rushengzhou/sid-code · 82 tokens