brave-headless
kelexine द्वारा
Web & Frontend Developmentसंक्षिप्त
Headless web search and content extraction via the Brave Search API.
विवरण
यह स्किल क्या करती है
Headless web search and content extraction using the Brave Search API. Runs as a CLI tool without a browser, returning search results and full page content as plain text or JSON. Includes retry logic, circuit breaking, and bounded parallel fetching.
Combines search and content extraction in one tool with production-grade fault tolerance, avoiding the overhead of running a full browser like Playwright or Puppeteer.
इसे कब इस्तेमाल करें
- Searching the web from an AI agent workflow
- Extracting readable content from a URL for summarization
- Piping search results into downstream scripts
- Looking up documentation pages without a browser
- Researching topics and collecting structured output
उदाहरण वर्कफ़्लो
User asks: 'Find recent articles about WebAssembly and extract their content'
- 1
Runs search.js with the query and --content flag
- 2
Brave Search API returns top results with URLs
- 3
Content fetcher retrieves each page in parallel up to the concurrency limit
- 4
Readability extracts main article text, converted to Markdown
- 5
Results are printed as structured plain text or newline-delimited JSON
Numbered results with title, URL, snippet, and extracted Markdown content for each page
आवश्यकताएँ
- BRAVE_API_KEY environment variable
- Brave Search API account (free tier available at brave.com/search/api)
इंस्टॉलेशन
clawhub install kelexine/brave-headlessCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।