Brave Search
Lightweight web search and page extraction through the Brave Search API, with no browser required.
- CCM score
- 68 of 100
- skills.sh installs
- 1.4K
- GitHub stars
- 2.7K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers web search with result counts, country targeting, and freshness filters, plus readable markdown extraction from any given URL
- Includes
search.jswith options for-n(up to 20 results),--content,--country, and--freshnessvalues from past day to custom date ranges - Provides
content.jsto fetch a single URL and return its readable body as markdown - Designed for looking up documentation, facts, and current information when interactive browsing is unnecessary
Install
$ npx -y skills add badlogic/pi-skills --skill brave-search -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Brave Search
Web search and content extraction using the official Brave Search API. No browser required.
Setup
Requires a Brave Search API account with a free subscription. A credit card is required to create the free subscription (you won't be charged).
- Create an account at https://api-dashboard.search.brave.com/register
- Create a "Free AI" subscription
- Create an API key for the subscription
- Add to your shell profile (
~/.profileor~/.zprofilefor zsh):export BRAVE_API_KEY="your-api-key-here" - Install dependencies (run once):
cd {baseDir} npm install
Search
{baseDir}/search.js "query" # Basic search (5 results)
{baseDir}/search.js "query" -n 10 # More results (max 20)
{baseDir}/search.js "query" --content # Include page content as markdown
{baseDir}/search.js "query" --freshness pw # Results from last week
{baseDir}/search.js "query" --freshness 2024-01-01to2024-06-30 # Date range
{baseDir}/search.js "query" --country DE # Results from Germany
{baseDir}/search.js "query" -n 3 --content # Combined options
Details
- Repository
- github.com/badlogic/pi-skills
- Categories
- Browser Automation & Scraping, Research & Academic
- First seen
- Jun 3, 2026
Questions
What does the brave-search skill do?
The brave-search skill runs web searches and extracts page content through the official Brave Search API. It needs no browser, so it stays lightweight for looking up documentation, facts, or other web content.
What do I need before using brave-search?
You need a Brave Search API account with a free subscription, which requires a credit card but charges nothing. Create a Free AI subscription, generate an API key, export it as BRAVE_API_KEY in your shell profile, and run npm install in the skill folder. Node.js is needed for the scripts.
How do I install the brave-search skill?
Run npx -y skills add badlogic/pi-skills --skill brave-search -y in your project to install it. Once installed, the agent can search the web and extract readable markdown from a given URL.
Where does brave-search stand in the Browser Automation & Scraping category?
brave-search sits in the Browser Automation & Scraping category alongside agent-browser, playwright-cli, anti-detect-browser and browser-act. It stands apart because it searches with the Brave API and reads pages without launching a browser.
More from badlogic/pi-skills
All 4Similar to Brave Search
More Browser Automation & ScrapingDuckDuckGoMCP servernickclyde1.6K starsWeb search and page content extraction through DuckDuckGo, with no API key required.
BraveMCP serverbraveWeb, local, image, video, and news search, plus AI-grounded answers, through the Brave Search API.
web-search-braveSkilljwynia/agent-skills316 installsWeb search through Brave's API with country, language, freshness, and extra-snippet controls for localized results.
searchSkillbrowserbase/skills2.9K installsWeb search API that returns structured URLs, titles, authors, and dates without launching a browser session.
scraplingSkillhyperpuncher/dotagents280 installsTerminal-driven web scraper that extracts page content into markdown, HTML, or text without writing code.