brave-search

Search the web and extract page content as Markdown via Brave Search API.

1|Updated Jan 2, 2020
One-click install
npx skills add https://github.com/otahontas/nix --skill brave-search-otahontas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: brave-search
Source: https://github.com/otahontas/nix/tree/main/home/configs/pi-coding-agent/skills-with-deps/brave-search
Command: npx skills add https://github.com/otahontas/nix --skill brave-search-otahontas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Brave-search provides browser-free web search and content extraction via Brave Search API to quickly gather information without switching to a browser or manual scraping.

Core Features & Use Cases

  • Web search via Brave API to retrieve concise results and metadata (title, link, snippet, age).
  • Content extraction: fetch readable text from result pages and convert to Markdown for downstream tasks.
  • Use Case: quickly gather documentation or factual information and paste into notes or reports, without leaving the terminal.

Quick Start

BRAVE_API_KEY=your-key node search.js "your query" BRAVE_API_KEY=your-key node search.js "your query" --content node content.js https://example.com/article

Frequently Asked Questions about brave-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform browser-free web search and content extraction in Node.js?

Browser-free web search uses the Brave Search API to retrieve results and extract readable text without launching a browser. You query the API directly to fetch titles, links, and snippets, then extract page content as Markdown for downstream tasks.

Can I extract web page content and convert it to Markdown?

Yes, content extraction fetches readable text from result pages and converts it into Markdown. This allows you to quickly gather documentation or factual information and paste it directly into notes or reports without leaving the terminal.

Do I need an API key to run Brave Search queries?

Yes, you need a BRAVE_API_KEY to run Brave Search queries. The environment variable must be set before executing the Node.js script to authenticate your requests and retrieve structured search results and metadata.

What is the best way to fetch quick documentation lookups without a browser?

Using a browserless search API is the best way to fetch quick documentation lookups without a browser. It retrieves concise results including titles, links, snippets, and ages, allowing you to gather facts rapidly without manual web scraping.

Does browserless web search support filtering results by country and freshness?

Yes, browserless web search supports filtering results by country and freshness. You can pass specific flags like --country and --freshness to refine your API query and retrieve the most relevant and recent structured search results.

Why does web content extraction return structured Markdown instead of raw HTML?

Web content extraction returns structured Markdown instead of raw HTML to ensure readability and seamless integration into downstream tasks. Converting fetched page text to Markdown allows you to easily paste extracted documentation into notes or reports.