Skip to content

Turn any AI agent into an AI Scientist. The #1 Agent Skills library for science, used by 250,000+ scientists worldwide. 177 ready-to-use validated skills plus 100+ scientific databases covering biology, chemistry, medicine, and drug discovery. Compatible with Cursor, Claude Code, Codex, Pi, Antigravity, and the open Agent Skills standard.

Update parallel-web skill

Timothy Kassis33c927f3bfff
diff --git a/scientific-skills/parallel-web/SKILL.md b/scientific-skills/parallel-web/SKILL.md
new file mode 100644
index 00000000..4873fe2a
--- /dev/null
+++ b/scientific-skills/parallel-web/SKILL.md
@@ -0,0 +1,93 @@
+---
+name: parallel-web
+description: "All-in-one web toolkit powered by parallel-cli. Use this skill whenever the user needs to search the web, fetch/extract URL content, enrich data with web-sourced fields, or run deep research reports. Covers: web search (fast lookups, research, current info), URL extraction (fetching pages, articles, PDFs), bulk data enrichment (adding fields to CSV/lists from the web), and deep research (exhaustive multi-source reports). Also handles setup, status checks, and result retrieval. Use this skill for ANY web-related task — even if the user doesn't mention 'parallel' or 'web' explicitly. If they want to look something up, fetch a page, enrich a dataset, or investigate a topic, this is the skill to use."
+compatibility: Requires parallel-cli and internet access.
+metadata:
+ author: K-Dense, Inc.
+---
+
+# Parallel Web Toolkit
+
+A unified skill for all web-powered tasks: searching, extracting, enriching, and researching.
+
+## Routing — pick the right capability
+
+Read the user's request and match it to one of the capabilities below. For web search, extract, enrichment, and deep research, read the corresponding reference file for detailed instructions.
+
+| User wants to... | Capability | Where |
+|---|---|---|
+| Look something up, research a topic, find current info | **Web Search** | `references/web-search.md` |
+| Fetch content from a specific URL (webpage, article, PDF) | **Web Extract** | `references/web-extract.md` |
+| Add web-sourced fields to a list of companies/people/products | **Data Enrichment** | `references/data-enrichment.md` |
+| Get an exhaustive, multi-source report (user says "deep research", "exhaustive", "comprehensive") | **Deep Research** | `references/deep-research.md` |
+| Install or authenticate parallel-cli | **Setup** | Below |
+| Check status of a running research/enrichment task | **Status** | Below |
+| Retrieve completed research results by run ID | **Result** | Below |
+
+### Decision guide
+
+- **Default to Web Search** for a single lookup, research question, or "what is X?" query. It's fast and cost-effective.
+- **Use Web Extract** when the user provides a URL or asks you to read/fetch a specific page. Prefer this over the built-in WebFetch tool.
+- **Use Data Enrichment** when the user has **multiple entities** (a CSV, a list of companies/people/products, or even a short inline list) and wants to find or add the same kind of information for each one. The key signal is a repeated lookup across a set of items — e.g., "find the CEO for each of these companies" or "get the founding year for Apple, Stripe, and Anthropic." Even if the user doesn't say "enrich," use `parallel-cli enrich` whenever the task is the same query applied to multiple entities. Do NOT use Web Search in a loop for this — the enrichment pipeline handles batching, parallelism, and structured output automatically.
+- **Use Deep Research only** when the user explicitly asks for deep, exhaustive, or comprehensive research. It is 10-100x slower and more expensive than Web Search — never default to it.
+- If `parallel-cli` is not found when running any command, follow the Setup section below.
+
+## Context chaining
+
+Several capabilities support multi-turn context via `interaction_id`. When a research or enrichment task completes, it returns an `interaction_id`. If the user asks a follow-up question related to that task, pass `--previous-interaction-id` to carry context forward automatically. This avoids restating what was already found.
+
+---
+
+## Setup
+
+If `parallel-cli` is not installed, install and authenticate:
+
+```bash
+curl -fsSL https://parallel.ai/install.sh | bash
+```
+
+If unable to install that way, use uv instead:
+
+```bash
+uv tool install "parallel-web-tools[cli]"
+```
+
+Then authenticate. First, check if a `.env` file exists in the project root and contains `PARALLEL_API_KEY`. If so, load it with `dotenv`:
+
+```bash
+dotenv -f .env run parallel-cli auth
+```
+
+If `dotenv` isn't available, install it with `pip install python-dotenv[cli]` or `uv pip install python-dotenv[cli]`.
+
+If there's no `.env` file or it doesn't contain the key, fall back to interactive login:
+
+```bash
+parallel-cli login
+```
+
+Or set the key manually: `export PARALLEL_API_KEY="your-key"`
+
+Verify with:
+
+```bash
+parallel-cli auth
+```
+
+If `parallel-cli` is not found after install, add `~/.local/bin` to PATH.
+
+## Check task status
+
+```bash
+parallel-cli research status "$RUN_ID" --json
+```
+
+Report the current status to the user (running, completed, failed, etc.).
+
+## Get completed result
+
+```bash
+parallel-cli research poll "$RUN_ID" --json
+```
+
+Present results in a clear, organized format.
diff --git a/scientific-skills/parallel-web/references/data-enrichment.md b/scientific-skills/parallel-web/references/data-enrichment.md
new file mode 100644
index 00000000..d94c55bb
--- /dev/null
+++ b/scientific-skills/parallel-web/references/data-enrichment.md
@@ -0,0 +1,70 @@
+# Data Enrichment
+
+Enrich: $ARGUMENTS
+
+## Before starting
+
+Inform the user that enrichment may take several minutes depending on the number of rows and fields requested.
+
+## Step 1: Start the enrichment
+
+Use ONE of these command patterns (substitute user's actual data):
+
+For inline data:
+
+```bash
+parallel-cli enrich run --data '[{"company": "Google"}, {"company": "Microsoft"}]' --intent "CEO name and founding year" --target "output.csv" --no-wait --json
+```
+
+For CSV file:
+
+```bash
+parallel-cli enrich run --source-type csv --source "input.csv" --target "output.csv" --source-columns '[{"name": "company", "description": "Company name"}]' --intent "CEO name and founding year" --no-wait --json
+```
+
+If this is a **follow-up** to a previous research or enrichment task where you know the `interaction_id`, add context chaining:
+
+```bash
+parallel-cli enrich run --data '...' --intent "..." --target "output.csv" --no-wait --json --previous-interaction-id "$INTERACTION_ID"
+```
+
+By chaining `interaction_id` values across requests, each follow-up automatically has the full context of prior turns — so you can enrich entities discovered in earlier research without restating what was already found.
+
+**IMPORTANT:** Always include `--no-wait` so the command returns immediately instead of blocking.
+
+Parse the output to extract the `taskgroup_id`, `interaction_id`, and monitoring URL. Immediately tell the user:
+- Enrichment has been kicked off
+- The monitoring URL where they can track progress
+
+Tell them they can background the polling step to continue working while it runs.
+
+## Step 2: Poll for results
+
+```bash
+parallel-cli enrich poll "$TASKGROUP_ID" --timeout 540 --output "/tmp/$TARGET"
+```
+
+Use the same target filename from step 1. The `--target` flag on `enrich run` does not carry over to the poll — you must pass `--output` here to save the results.
+
+Important:
+- Use `--timeout 540` (9 minutes) to stay within tool execution limits
+
+### If the poll times out
+
+Enrichment of large datasets can take longer than 9 minutes. If the poll exits without completing:
+1. Tell the user the enrichment is still running server-side
+2. Re-run the same `parallel-cli enrich poll` command to continue waiting
+
+## Response format
+
+**After step 1:** Share the monitoring URL (for tracking progress).
+
+**After step 2:**
+1. Report number of rows enriched
+2. Preview first few rows of the output CSV
+3. Tell user the full path to the output CSV file
+4. Share the `interaction_id` and tell the user they can ask follow-up questions that build on this enrichment
+
+Do NOT re-share the monitoring URL after completion — the results are in the output file.
+
+**Remember the `interaction_id`** — if the user asks a follow-up question that relates to this enrichment, use it as `--previous-interaction-id` in the next research or enrichment command.
diff --git a/scientific-skills/parallel-web/references/deep-research.md b/scientific-skills/parallel-web/references/deep-research.md
new file mode 100644
index 00000000..d2cfc1ce
--- /dev/null
+++ b/scientific-skills/parallel-web/references/deep-research.md
@@ -0,0 +1,77 @@
+# Deep Research
+
+Research topic: $ARGUMENTS
+
+## When to use (vs web search)
+
+ONLY use this capability when the user explicitly requests deep/exhaustive research. Deep research is 10-100x slower and more expensive than web search. For normal "research X" requests, quick lookups, or fact-checking, use **web search** instead.
+
+## Step 1: Start the research
+
+```bash
+parallel-cli research run "$ARGUMENTS" --processor pro-fast --no-wait --json
+```
+
+If this is a **follow-up** to a previous research or enrichment task where you know the `interaction_id`, add context chaining:
+
+```bash
+parallel-cli research run "$ARGUMENTS" --processor lite --no-wait --json --previous-interaction-id "$INTERACTION_ID"
+```
+
+By chaining `interaction_id` values across requests, each follow-up question automatically has the full context of prior turns — so you can drill deeper into a topic without restating what was already researched. Use `--processor lite` for follow-ups since the heavy research was already done in the initial turn and the follow-up just needs to build on that context.
+
+This returns instantly. Do NOT omit `--no-wait` — without it the command blocks for minutes and will time out.
+
+Processor options (choose based on user request):
+
+| Processor | Expected latency | Use when |
+|-----------|-----------------|----------|
+| `pro-fast` | 30s - 5 min | Default — good balance of depth and speed |
+| `ultra-fast` | 1 - 10 min | Deeper analysis, more sources (~2x cost) |
+| `ultra` | 5 - 25 min | Maximum depth, only when explicitly requested (~3x cost) |
+
+Parse the JSON output to extract the `run_id`, `interaction_id`, and monitoring URL. Immediately tell the user:
+- Deep research has been kicked off
+- The expected latency for the processor tier chosen (from the table above)
+- The monitoring URL where they can track progress
+
+Tell them they can background the polling step to continue working while it runs.
+
+## Step 2: Poll for results
+
+Choose a descriptive filename based on the topic (e.g., `ai-chip-market-2026`, `react-vs-vue-comparison`). Use lowercase with hyphens, no spaces.
+
+```bash
+parallel-cli research poll "$RUN_ID" -o "$FILENAME" --timeout 540
+```
+
+Important:
+- Use `--timeout 540` (9 minutes) to stay within tool execution limits
+- Do NOT pass `--json` — the full output is large and will flood context. The `-o` flag writes results to files instead.
+- The `-o` flag generates two output files:
+ - `$FILENAME.json` — metadata and basis
+ - `$FILENAME.md` — formatted markdown report
+- The poll command prints an **executive summary** to stdout when the research completes. Share this executive summary with the user — it gives them a quick overview without having to open the files.
+
+### If the poll times out
+
+Higher processor tiers can take longer than 9 minutes. If the poll exits without completing:
+1. Tell the user the research is still running server-side
+2. Re-run the same `parallel-cli research poll` command to continue waiting
+
+## Response format
+
+**After step 1:** Share the monitoring URL (for tracking progress only — it is not the final report).
+
+**After step 2:**
+1. Share the **executive summary** that the poll command printed to stdout
+2. Tell the user the two generated file paths:
+ - `$FILENAME.md` — formatted markdown report
+ - `$FILENAME.json` — metadata and basis
+3. Share the `interaction_id` and tell the user they can ask follow-up questions that build on this research (e.g., "drill deeper into X" or "compare that to Y")
+
+Do NOT re-share the monitoring URL after completion — the results are in the files, not at that link.
+
+Ask the user if they would like to read through the files for more detail. Do NOT read the file contents into context unless the user asks.
+
+**Remember the `interaction_id`** — if the user asks a follow-up question that relates to this research, use it as `--previous-interaction-id` in the next research or enrichment command.
diff --git a/scientific-skills/parallel-web/references/web-extract.md b/scientific-skills/parallel-web/references/web-extract.md
new file mode 100644
index 00000000..4455f97e
--- /dev/null
+++ b/scientific-skills/parallel-web/references/web-extract.md
@@ -0,0 +1,28 @@
+# URL Extraction
+
+Extract content from: $ARGUMENTS
+
+## Command
+
+Choose a short, descriptive filename based on the URL or content (e.g., `vespa-docs`, `react-hooks-api`). Use lowercase with hyphens, no spaces.
+
+```bash
+parallel-cli extract "$ARGUMENTS" --json -o "/tmp/$FILENAME.md"
+```
+
+Options if needed:
+- `--objective "focus area"` to focus on specific content
+
+## Response format
+
+Return content as:
+
+**[Page Title](URL)**
+
+Then the extracted content verbatim, with these rules:
+- Keep content verbatim - do not paraphrase or summarize
+- Parse lists exhaustively - extract EVERY numbered/bulleted item
+- Strip only obvious noise: nav menus, footers, ads
+- Preserve all facts, names, numbers, dates, quotes
+
+After the response, mention the output file path (`/tmp/$FILENAME.md`) so the user knows it's available for follow-up questions.
diff --git a/scientific-skills/parallel-web/references/web-search.md b/scientific-skills/parallel-web/references/web-search.md
new file mode 100644
index 00000000..81d49317
--- /dev/null
+++ b/scientific-skills/parallel-web/references/web-search.md
@@ -0,0 +1,47 @@
+# 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.
+
+```bash
+parallel-cli search "$ARGUMENTS" -q "<keyword1>" -q "<keyword2>" --json --max-results 10 --excerpt-max-chars-total 27000 -o "/tmp/$FILENAME.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
+
+## Parsing results
+
+Do not set `max_output_tokens` on the command execution — the output is already bounded by `--max-results` and `--excerpt-max-chars-total`. Capping output tokens will truncate the JSON and break parsing.
+
+Parse the JSON from stdout. For each result, extract:
+- title, url, publish_date
+- Useful content from excerpts (skip navigation noise like menus, footers, "Skip to content")
+
+## 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:
+
+```
+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.
+
+After the Sources section, mention the output file path (`/tmp/$FILENAME.json`) so the user knows it's available for follow-up questions.