Agent skill
brave-search
Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required.
Install this agent skill to your Project
npx add-skill https://github.com/SawyerHood/middleman/tree/main/apps/backend/src/swarm/skills/builtins/brave-search
SKILL.md
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).
- Create an account at https://api-dashboard.search.brave.com/register
- Create a "Free AI" subscription
- Create an API key for the subscription
- Configure
BRAVE_API_KEYin the app Settings → Environment Variables. (Fallback for standalone usage: exportBRAVE_API_KEYin your shell.) - Dependencies are installed via the backend workspace package.
If running this skill standalone, install once from this skill directory:
bash
npm install
Search
middleman brave-search search "query" # Basic search (5 results)
middleman brave-search search "query" -n 10 # More results (max 20)
middleman brave-search search "query" --content # Include page content as markdown
middleman brave-search search "query" --freshness pw # Results from last week
middleman brave-search search "query" --freshness 2024-01-01to2024-06-30 # Date range
middleman brave-search search "query" --country DE # Results from Germany
middleman brave-search search "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 weekpm- Past monthpy- Past yearYYYY-MM-DDtoYYYY-MM-DD- Custom date range
Extract Page Content
middleman brave-search content 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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
memory
Update persistent swarm memory in ${SWARM_MEMORY_FILE} when the user explicitly asks to remember, update, or forget durable information.
image-generation
Generate images using Google Gemini (gemini-3-pro-image-preview). Requires GEMINI_API_KEY.
cron-scheduling
Create, list, and remove persistent scheduled tasks using cron expressions.
dev-browser
Browser automation with persistent page state. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "test the website", "log into", or any browser interaction request.
verl-rl-training
Provides guidance for training LLMs with reinforcement learning using verl (Volcano Engine RL). Use when implementing RLHF, GRPO, PPO, or other RL algorithms for LLM post-training at scale with flexible infrastructure backends.
openrlhf-training
High-performance RLHF framework with Ray+vLLM acceleration. Use for PPO, GRPO, RLOO, DPO training of large models (7B-70B+). Built on Ray, vLLM, ZeRO-3. 2× faster than DeepSpeedChat with distributed architecture and GPU resource sharing.
Didn't find tool you were looking for?