brave-search

brave-search is a skill for Claude Code, Codex from davidtoby/agent-skills. It costs 32 tokens per session (291 once invoked), scanned A, a copy of brave-search, MIT.

A skill for searching the web and extracting page content through the Brave Search API, without opening a browser. An API is a service interface that lets software request data from another service.

In plain words
What is it for?
Use it to run searches, return a chosen number of results, include readable page content, or extract content from a specific URL.
Why use it?
It provides a terminal-based way to find documentation, facts, and web pages when interactive browsing is unnecessary.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to run searches, return a chosen number of results, include readable page content, or extract content from a specific URL.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davidtoby/agent-skills/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 davidtoby/agent-skills --skill brave-search
Clone the repo
git clone --depth 1 https://github.com/davidtoby/agent-skills

Made for: Claude Code, Codex.

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/davidtoby/agent-skills/brave-search/github.svg)](https://agentmods.dev/skills/davidtoby/agent-skills/brave-search)
Your own site
<a href="https://agentmods.dev/skills/davidtoby/agent-skills/brave-search"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/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/davidtoby/agent-skills/brave-search"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/brave-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 291 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00032 $0.00291
Opus 5.5 $0.00013 $0.00116
Sonnet 5.5 $0.00006 $0.00058
Haiku 4.5 $0.00003 $0.00029

Measured 3mo ago against content hash 594ef4c5f830, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

brave-search scanned grade A with 0 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 3mo ago.

The scan reads SKILL.md. This mod also ships 38 executable files (content.js, node_modules/@asamuzakjp/css-color/dist/browser/css-color.min.js, node_modules/@asamuzakjp/css-color/dist/cjs/index.cjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to brave-search — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/.archive/umbrella-curation-2026-04-29/openclaw-imports/brave-search/SKILL.md · 58 lines

What it actually says

Headless web search and content extraction using Brave Search. No browser required.

Setup

Run once before first use:

cd ~/.hermes/skills/openclaw-imports/brave-search
npm ci

Needs env: BRAVE_API_KEY.

./search.js "query"                    # Basic search (5 results)
./search.js "query" -n 10              # More results
./search.js "query" --content          # Include page content as markdown
./search.js "query" -n 3 --content     # Combined

Extract Page Content

./content.js https://example.com/article

Fetches a URL and extracts readable content as markdown.

Output Format

--- Result 1 ---
Title: Page Title
Link: https://example.com/page
Snippet: Description from search results
Content: (if --content flag used)
  Markdown content extracted from the page...

--- Result 2 ---
...

When to Use

  • Searching for documentation or API references
  • Looking up facts or current information
  • Fetching content from specific URLs
  • Any task requiring web search without interactive browsing
Files

What ships with it

60 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. 3mo ago First seen · 58 lines · 32 tokens per session scan A 594ef4c5f830

Subscribe to this mod's changes

brave-search is a skill published in the GitHub repository davidtoby/agent-skills (11 stars, last pushed 11d ago), licensed MIT. It adds 32 tokens to every session and 291 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to brave-search, differing in 2 lines, and is treated as a copy.

Related

brave-search compared with skills from other repositories

brave-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
brave-searchdavidtoby/agent-skillsSkill1111d agoMITA32Claude Code, Codex
officecli-pitch-deckiOfficeAI/OfficeCLISkill34ktodayApache-2.0A163Claude Code, Codex
morph-pptiOfficeAI/OfficeCLISkill34ktodayApache-2.0A169Claude Code, Codex
officecli-academic-paperiOfficeAI/OfficeCLISkill34ktodayApache-2.0A141Claude Code, Codex
officecli-pptxiOfficeAI/OfficeCLISkill34ktodayApache-2.0A106Claude Code, Codex
officecliiOfficeAI/OfficeCLISkill34ktodayApache-2.0A56Claude Code, Codex
morph-ppt-3diOfficeAI/OfficeCLISkill34ktodayApache-2.0A37Claude Code, Codex