跳到正文
cccskills
免费在 GitHub 公开

brave-search

Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(6)

  • SKILL.md2.3 KB
  • .gitignore14 B
  • content.js2.5 KB
  • package-lock.json20.0 KB
  • package.json332 B
  • search.js5.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Brave Search

Web search and content extraction using the official Brave Search API. No browser required.

Setup

Requires a Brave Search API account with a free subscription. A credit card is required to create the free subscription (you won't be charged).

  1. Create an account at https://api-dashboard.search.brave.com/register
  2. Create a "Free AI" subscription
  3. Create an API key for the subscription
  4. Add to your shell profile (~/.profile or ~/.zprofile for zsh):
    export BRAVE_API_KEY="your-api-key-here"
    
  5. Install dependencies (run once):
    cd {baseDir}
    npm install
    

Search

{baseDir}/search.js "query"                         # Basic search (5 results)
{baseDir}/search.js "query" -n 10                   # More results (max 20)
{baseDir}/search.js "query" --content               # Include page content as markdown
{baseDir}/search.js "query" --freshness pw          # Results from last week
{baseDir}/search.js "query" --freshness 2024-01-01to2024-06-30  # Date range
{baseDir}/search.js "query" --country DE            # Results from Germany
{baseDir}/search.js "query" -n 3 --content          # Combined options

Options

  • -n <num> - Number of results (default: 5, max: 20)
  • --content - Fetch and include page content as markdown
  • --country <code> - Two-letter country code (default: US)
  • --freshness <period> - Filter by time:
    • pd - Past day (24 hours)
    • pw - Past week
    • pm - Past month
    • py - Past year
    • YYYY-MM-DDtoYYYY-MM-DD - Custom date range

Extract Page Content

{baseDir}/content.js https://example.com/article

Fetches a URL and extracts readable content as markdown.

Output Format

--- Result 1 ---
Title: Page Title
Link: https://example.com/page
Age: 2 days ago
Snippet: Description from search results
Content: (if --content flag used)
  Markdown content extracted from the page...

--- Result 2 ---
...

When to Use

  • Searching for documentation or API references
  • Looking up facts or current information
  • Fetching content from specific URLs
  • Any task requiring web search without interactive browsing

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Interactive browser automation via Chrome DevTools Protocol. Use when you need to interact with web pages, test frontends, or when user interaction with a visible browser is required.

中文简介正在准备中。当前显示原文说明。

badlogic/pi-skills26372026年6月7日 更新

gccli

免费

Google Calendar CLI for listing calendars, viewing/creating/updating events, and checking availability.

中文简介正在准备中。当前显示原文说明。

badlogic/pi-skills26372026年6月7日 更新

gdcli

免费

Google Drive CLI for listing, searching, uploading, downloading, and sharing files and folders.

中文简介正在准备中。当前显示原文说明。

badlogic/pi-skills26372026年6月7日 更新

gmcli

免费

Gmail CLI for searching emails, reading threads, sending messages, managing drafts, and handling labels/attachments.

中文简介正在准备中。当前显示原文说明。

badlogic/pi-skills26372026年6月7日 更新

Local speech-to-text transcription on Apple Silicon macOS. Supports wav directly and other audio formats via ffmpeg.

中文简介正在准备中。当前显示原文说明。

badlogic/pi-skills26372026年6月7日 更新

vscode

免费

VS Code integration for viewing diffs and comparing files. Use when showing file differences to the user.

中文简介正在准备中。当前显示原文说明。

badlogic/pi-skills26372026年6月7日 更新

查看 badlogic 的全部技能

报告此技能的问题