Parallel Search
by @normallygaussian
AI-powered web search via Parallel API. Returns ranked results with LLM-optimized excerpts. Use for up-to-date research, fact-checking, and domain-scoped sea...
clawhub install parallel-searchπ About This Skill
name: parallel-search description: "AI-powered web search via Parallel API. Returns ranked results with LLM-optimized excerpts. Use for up-to-date research, fact-checking, and domain-scoped searching." homepage: https://parallel.ai
Parallel Search
High-accuracy web search built for AI agents. Returns ranked results with intelligent excerpts optimized for LLM consumption.
When to Use
Trigger this skill when the user asks for:
Quick Start
parallel-cli search "your query" --json --max-results 5
CLI Reference
Basic Usage
parallel-cli search "" [options]
Common Flags
| Flag | Description |
|------|-------------|
| -q, --query " | Add keyword filter (repeatable, 3-8 recommended) |
| --max-results N | Number of results (1-20, default: 10) |
| --json | Output as JSON |
| --after-date YYYY-MM-DD | Filter for recent content |
| --include-domains domain.com | Limit to specific domains (repeatable, max 10) |
| --exclude-domains domain.com | Exclude domains (repeatable, max 10) |
| --excerpt-max-chars-total N | Limit total excerpt size (default: 8000) |
Examples
Basic search:
parallel-cli search "When was the United Nations founded?" --json --max-results 5
With keyword filters:
parallel-cli search "Latest developments in quantum computing" \
-q "quantum" -q "computing" -q "2026" \
--json --max-results 10
Domain-scoped search:
parallel-cli search "React hooks best practices" \
--include-domains react.dev --include-domains github.com \
--json --max-results 5
Recent news only:
parallel-cli search "AI regulation news" \
--after-date 2026-01-01 \
--json --max-results 10
Best-Practice Prompting
Objective
Write 1-3 sentences describing:Keyword Queries
Add 3-8 keyword queries including:Response Format
Returns structured JSON with:
search_id β unique identifierresults[] β array of results:url β source URL
- title β page title
- excerpts[] β relevant text excerpts
- publish_date β when availableOutput Handling
When turning results into a user-facing answer:
Running Out of Context?
For long conversations, save results and use sessions_spawn:
parallel-cli search "" --json -o /tmp/search-.json
Then spawn a sub-agent:
{
"tool": "sessions_spawn",
"task": "Read /tmp/search-.json and synthesize a summary with sources.",
"label": "search-summary"
}
Error Handling
| Exit Code | Meaning | |-----------|---------| | 0 | Success | | 1 | Unexpected error (network, parse) | | 2 | Invalid arguments | | 3 | API error (non-2xx) |
Prerequisites
1. Get an API key at parallel.ai 2. Install the CLI:
curl -fsSL https://parallel.ai/install.sh | bash
export PARALLEL_API_KEY=your-key
References
β‘ When to Use
π‘ Examples
Basic search:
parallel-cli search "When was the United Nations founded?" --json --max-results 5
With keyword filters:
parallel-cli search "Latest developments in quantum computing" \
-q "quantum" -q "computing" -q "2026" \
--json --max-results 10
Domain-scoped search:
parallel-cli search "React hooks best practices" \
--include-domains react.dev --include-domains github.com \
--json --max-results 5
Recent news only:
parallel-cli search "AI regulation news" \
--after-date 2026-01-01 \
--json --max-results 10
βοΈ Configuration
1. Get an API key at parallel.ai 2. Install the CLI:
curl -fsSL https://parallel.ai/install.sh | bash
export PARALLEL_API_KEY=your-key