Skip to content
Back to skills

Brave Search

ASecurity

Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required.

  • 1,689 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added February 7, 2026
documentationbashgitapidocumentation

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumUses curl or wget to download content

Pro scans all 3 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add Dicklesworthstone/pi_agent_rust --skill brave-search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Brave Search?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Brave Search
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dicklesworthstone-brave-search/badge)](https://www.skillsdirectory.com/skills/dicklesworthstone-brave-search)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: brave-search
description: Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required.
---

# Brave Search

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

## Requirements

- [uv](https://docs.astral.sh/uv/) (dependencies managed automatically via inline metadata)
- `BRAVE_API_KEY` environment variable

## Search

```bash
{baseDir}/search.py "query"                    # Basic search (5 results)
{baseDir}/search.py "query" -n 10              # More results
{baseDir}/search.py "query" --content          # Include page content as markdown
{baseDir}/search.py "query" -n 3 --content     # Combined
```

## Extract Page Content

```bash
{baseDir}/content.py 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 ---
...
```

## Special URL Handling (CRITICAL)

**DO NOT use Brave Search for these URLs. Use the correct tool instead:**

- **GitHub URLs**: **ALWAYS** use the `gh` CLI instead (e.g., `gh api`, `gh repo view`, `gh issue view`, etc.)
- **`.md` file URLs**: **ALWAYS** use `curl` to fetch the raw file content directly (e.g., `curl -sL https://example.com/docs/guide.md`)

## When to Use

- Searching for documentation or API references
- Looking up facts or current information
- Fetching content from specific URLs (except GitHub URLs or `.md` files — see above)
- Any task requiring web search without interactive browsing

Files in this skill

  • SKILL.md1.7 KB
  • content.py2.4 KB
  • search.py4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…