跳到正文
TakoAPI
返回技能列表

brave-headless

由 kelexine 提供

Web & Frontend Development
495下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Runs search.js with the query and --content flag

  2. 2

    Brave Search API returns top results with URLs

  3. 3

    Content fetcher retrieves each page in parallel up to the concurrency limit

  4. 4

    Readability extracts main article text, converted to Markdown

  5. 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-headless

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接