brave-search

Query the Brave Search API and convert page content to Markdown.

223|6|Updated May 25, 2018
One-click install
npx skills add https://github.com/megalithic/dotfiles --skill brave-search-megalithic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: brave-search
Source: https://github.com/megalithic/dotfiles/tree/main/home/programs/ai/pi-coding-agent/skills-with-deps/brave-search
Command: npx skills add https://github.com/megalithic/dotfiles --skill brave-search-megalithic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Perform web searches and extract readable content without a browser.

Core Features & Use Cases

  • Brave Search Web API: query and fetch results programmatically.
  • Content extraction: fetch page content and convert to Markdown for ready-to-use summaries.
  • Use Case: researchers and knowledge workers can quickly gather relevant docs and extract key passages for briefs.

Quick Start

Run the Brave Search tool with a query to return results and optionally fetch page content. Example: search.js "AI safety" --content -n 5

Frequently Asked Questions about brave-search

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

FAQPage Schema
How do I perform web searches and extract readable content without a browser?

You can perform web searches and extract readable content without a browser by using a Node.js workflow to query the Brave Search API, parse results, and render excerpts in Markdown. This automates fetching relevant docs for research.

How do I convert web page content to Markdown for research briefs?

Converting web page content to Markdown is done by fetching the page content and extracting readable passages. This workflow targets key paragraphs and renders them as ready-to-use Markdown summaries for knowledge briefs.

Do I need a Brave Search API key to automate web content extraction?

Yes, you need a Brave Search API key to automate web content extraction. The Node.js workflow requires this key to query the API programmatically, fetch search results, and extract page content without a browser.

What is the best way to automate fetching search results and page excerpts?

The best way to automate fetching search results and page excerpts is running a Node.js script that queries the Brave Search Web API. It parses results and optionally fetches page content to output Markdown excerpts.

Can I limit the number of search results when querying the Brave Search API?

Yes, you can limit the number of search results when querying the Brave Search API by passing a parameter like -n 5 in the command line. This restricts the output to a specified number of relevant results.

Does web content extraction work for gathering docs across different topics?

Web content extraction works for gathering docs across different topics by querying the search API with varied terms. It fetches relevant results and extracts readable passages regardless of the research subject.