Headless web search and content extraction using Brave Search. No browser required.
The below scripts use bun shebangs and can be executed directly if Bun is installed.
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
Search
scripts/search "query" # Basic search (5 results)
scripts/search "query" -n 10 # More results
scripts/search "query" --content # Include page content as markdown
scripts/search "query" -n 3 --content # Combined
Extract Page Content
scripts/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
Snippet: Description from search results
Content: (if --content flag used)
Markdown content extracted from the page...
--- Result 2 ---
...
Execution Steps
- use
{skill_path}/scripts/searchresource to perform searches. - use
{skill_path}/scripts/contentresource to fetch and extract page content from searches.