parallel-web-search — Claude Code skill: CLI web search with JSON
A skill that runs web searches through parallel-cli and saves the full result set to JSON. Useful when you need keyword flags, domain filters, or a file to follow up on.
npx skills add parallel-web/parallel-agent-skills --skill parallel-web-search -a claude-codeWhat parallel-web-search does
The skill takes a query and calls parallel-cli search. The first argument is the objective in plain language; add -q flags for specific keywords. Full results go to a JSON file via -o, and since stdout can get truncated, the saved file is the one to read. Options cover --after-date, --include-domains, --exclude-domains, the turbo, fast and advanced modes, and geo targeting with --location.
Answers follow the skill's rules: every claim carries an inline citation, and a Sources section listing all URLs is mandatory. Publish dates appear only when the search returned them. On an error or empty results, the skill says to report what happened instead of inventing an answer.
You need parallel-cli installed and authenticated, plus internet access. If the command is missing, the skill points to /parallel:parallel-cli-setup. A 403 can mean permissions, policy or billing, so check parallel-cli auth --json — a zero exit code alone does not prove you are authenticated. For ordinary lookups the author suggests trying the web_search MCP tool first when it is available.
What it helps with
- pull fresh sources on a topic with publish dates
- restrict a search to specific domains and drop noisy ones
- save results to JSON and revisit them later
- build an answer with a citation under every fact
- run geo-targeted searches with
--location
Example prompts for the agent
- search the web for the latest React 19 news and save the results to a file
- look up parallel computing in Python, only python.org and docs.python.org
- find articles about AI chips from the past month and cite your sources
How to install parallel-web-search
1Skills CLI (Vercel)
npx skills add parallel-web/parallel-agent-skills --skill parallel-web-search -a claude-code2Manually: put the files in place
~/.claude/skills/parallel-web-search/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/parallel-web-search/
1Skills CLI (Vercel)
npx skills add parallel-web/parallel-agent-skills --skill parallel-web-search -a codex2Manually: put the files in place
.agents/skills/parallel-web-search/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add parallel-web/parallel-agent-skills --skill parallel-web-search -a cursor2Manually: put the files in place
.cursor/skills/parallel-web-search/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install parallel-web/parallel-agent-skills parallel-web-search2Manually: put the files in place
.github/skills/parallel-web-search/SKILL.md1Skills CLI (Vercel)
npx skills add parallel-web/parallel-agent-skills --skill parallel-web-search -a gemini-cli2Platform CLI
gemini skills install https://github.com/parallel-web/parallel-agent-skills --path skills/parallel-web-searchManually: put the files in place
.devin/skills/parallel-web-search/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add parallel-web/parallel-agent-skills --skill parallel-web-search -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about parallel-web-search
How do I install parallel-web-search in Claude?
Through the skills marketplace: first npx skills add parallel-web/parallel-agent-skills --skill parallel-web-search -a claude-code, then the same path places the file at ~/.claude/skills/parallel-web-search/SKILL.md. Make sure parallel-cli is installed and authenticated.
What does parallel-web-search do?
It runs web searches through parallel-cli, saves the full output to a JSON file, and writes an answer with inline citations and a mandatory Sources section.
What do I need for the skill to work?
An installed, authenticated parallel-cli and internet access. If the command is not found, the skill suggests running /parallel:parallel-cli-setup.
Source text
SKILL.md · MIT
--- name: parallel-web-search description: "CLI-backed web search. Use when the user explicitly invokes this skill, needs CLI-only controls or saved JSON output, or no Parallel web_search MCP tool is available. When the bundled Parallel Search MCP is available, prefer its web_search tool for ordinary lookups and current-information queries. Only use parallel-deep-research if the user explicitly requests deep or exhaustive research." user-invocable: true argument-hint: <query> context: fork agent: parallel:parallel-subagent compatibility: Requires parallel-cli and internet access. allowed-tools: Bash(parallel-cli:*) metadata: author: parallel --- # Web Search Search the web for: $ARGUMENTS ## Command Choose a short, descriptive filename based on the query (e.g., `ai-chip-news`, `react-vs-vue`). Use lowercase with hyphens, no spaces. Substitute it into the command **inline** — `$FILENAME` and `<keyword>` below are placeholders, not shell variables; do not copy them verbatim. ```bash parallel-cli search "$ARGUMENTS" -q "<keyword1>" -q "<keyword2>" --json --max-results 10 --excerpt-max-chars-total 27000 -o "/tmp/$FILENAME.json" ``` Concrete example for a query about React 19: ```bash parallel-cli search "latest React 19 features and adoption" -q "React 19" -q "concurrent rendering" --json --max-results 10 --excerpt-max-chars-total 27000 -o "/tmp/react-19-features.json" ``` The first argument is the **objective** — a natural language description of what you're looking for. It replaces multiple keyword searches with a single call for broad or complex queries. Add `-q` flags for specific keyword queries to supplement the objective. The `-o` flag saves the full results to a JSON file for follow-up questions. Options if needed: - `--after-date YYYY-MM-DD` for time-sensitive queries - `--include-domains domain1.com,domain2.com` to limit to specific sources - `--exclude-domains domain.com` to filter out noisy sources - `--mode turbo` for simple fact lookups where speed matters most; supports English and Japanese queries - `--mode fast` for high-quality search within an approximately one-second latency budget; requires CLI ≥ 0.9.2, and latency is not guaranteed - `--mode advanced` for harder questions (multi-step, agentic search). Keep the default `basic` unless the request needs another mode - `--location us` (ISO 3166-1 alpha-2) for geo-targeted results - `--session-id "<returned-session-id>"` to group related Search/Extract calls when a prior response returned one. A `session_id` or `search_id` is not a Task interaction ID or research run ID; never send it to research status/poll or `--previous-interaction-id` ## Parsing results **Read the saved `-o` JSON file as the authoritative payload.** Result and excerpt limits bound requested content, but stdout can still exceed the tool's output limit. Truncated stdout is not parseable JSON and is not proof of incomplete saved results. Inspect an existing output path before using it because Search overwrites that file. For each result, extract: - title, url, and publish_date if provided; omit unknown dates - Useful content from excerpts (skip navigation noise like menus, footers, "Skip to content") Check the exit status, returned API error and `warnings` before presenting results. On an error or empty `results`, report what happened and do not fabricate an answer. An old output file is not evidence that a failed request succeeded. For sparse results, state the coverage limits; refine the objective or queries only when useful for the user's request. ## Response format **CRITICAL: Every claim must have an inline citation.** Use markdown links like [Title](URL) pulling only from the JSON output. Never invent or guess URLs. Synthesize a response that: - Leads with the key answer/finding - Includes specific facts, names, numbers, dates - Cites every fact inline as [Source Title](url) — do not leave any claim uncited - Organizes by theme if multiple topics **End with a Sources section** listing every URL referenced: ```text Sources: - [Source Title](https://example.com/article) (Feb 2026) - [Another Source](https://example.com/other) (Jan 2026) ``` This Sources section is mandatory. Do not omit it. Only include source dates that were returned or verified in the retrieved content. Leave the date out when unknown. After the Sources section, mention the output file path (`/tmp/$FILENAME.json`) so the user knows it's available for follow-up questions. ## Setup If `parallel-cli` is not found, install and authenticate: ```bash /parallel:parallel-cli-setup ``` If a documented command or option is missing, check the installed version and upgrade through its installation method: standalone `parallel-cli update`, pipx `pipx upgrade parallel-web-tools`, uv `uv tool upgrade parallel-web-tools`, Homebrew `brew upgrade parallel-web/tap/parallel-cli`, or npm `npm update -g parallel-web-cli`. Verify help in the same terminal before retrying. For authentication errors, inspect `parallel-cli auth --json` and its `authenticated` boolean; exit zero alone does not prove authentication. A `403` can indicate permissions, policy or billing. Report the actual error; check balance only for a billing-specific failure and never add funds without explicit confirmation.
© parallel · MIT · parallel-web/parallel-agent-skills