brave-search
Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Analyze pi session transcripts to discover patterns that could become AGENTS.md rules, skills, or prompt templates. Mines your usage history for automation opportunities.
Build PR-focused context packs (PR description + git diff + full changed files + related files via Scribe), then budget-fit and token-check with o200k-base.
Review a pull request for bugs, style issues, and guideline compliance. Local review - does not post to GitHub.
Build LLM-ready code dumps with optional docs, then count tokens with tokencount (o200k-base) against a context budget (for example 272k for GPT-5).
Compress images to a target file size using macOS sips. No dependencies required.
Multi-model code review. Runs code-review skill with 3 models in parallel, then synthesizes findings.
| name | brave-search |
| description | Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required. |
Web search and content extraction using the official Brave Search API. No browser required.
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).
~/.profile or ~/.zprofile for zsh):
export BRAVE_API_KEY="your-api-key-here"
cd {baseDir}
npm install
{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
-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 weekpm - Past monthpy - Past yearYYYY-MM-DDtoYYYY-MM-DD - Custom date range{baseDir}/content.js https://example.com/article
Fetches a URL and extracts readable content as markdown.
--- 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 ---
...
Copied from badlogic/pi-skills