brave-search

Fetch and summarize Brave Search API results from the terminal.

30|5|Updated Aug 9, 2012
One-click install
npx skills add https://github.com/juanibiapina/dotfiles --skill brave-search-juanibiapina
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: brave-search
Source: https://github.com/juanibiapina/dotfiles/tree/main/dotfiles/agents/.agents/skills/brave-search
Command: npx skills add https://github.com/juanibiapina/dotfiles --skill brave-search-juanibiapina

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Brave Search enables fast, browserless web search and content extraction, helping you gather information without leaving the terminal.

Core Features & Use Cases

  • Web search via the Brave Search API with a lightweight setup and no browser required.
  • Content extraction: fetch page content and render readable markdown snippets for quick summaries.
  • Use Case: look up documentation, verify facts, or research topics and compile concise answers from multiple sources.

Quick Start

Run search.js '<your query>' after configuring BRAVE_API_KEY in your environment.

Frequently Asked Questions about brave-search

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

FAQPage Schema
How do I fetch web search results directly from the terminal without a browser?

You can fetch web search results directly from the terminal by running the provided search.js script with your query. This browserless approach uses the Brave Search API to return fast text results for documentation lookups or fact gathering.

Can I extract readable content from web pages using a command line script?

Yes, you can extract readable content from web pages using the included content.js script. It fetches page content and renders it into readable markdown snippets, allowing you to quickly compile concise summaries from multiple sources.

Do I need an API key to perform browserless web searches with Node.js?

Yes, you must configure a BRAVE_API_KEY in your environment to perform browserless web searches. You also need Node.js installed to run the provided scripts for querying the Brave Search API.

How do I filter web search results by country and freshness in terminal queries?

You can filter web search results by country and freshness by passing specific options to the search.js script. This allows you to control the result count and narrow down queries to find recent or region-specific documentation.

What is the best way to research a topic and compile summaries without leaving the command line?

The best way to research a topic from the command line is combining the search.js and content.js scripts. You gather multiple web search results via the API and then extract the page content into readable markdown snippets for concise answers.

Are there limitations to extracting web content as markdown snippets via a search API?

A limitation of extracting web content via a search API is that the content.js script provides summarized markdown snippets rather than full page renders. This browserless approach is optimized for quick fact gathering, not interacting with complex dynamic web elements.