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.

refactor: update output file formats in parallel-web references to JSON

Timothy Kassiscd54077caea1
diff --git a/scientific-skills/parallel-web/references/data-enrichment.md b/scientific-skills/parallel-web/references/data-enrichment.md
index d94c55bb..0748c4ea 100644
--- a/scientific-skills/parallel-web/references/data-enrichment.md
+++ b/scientific-skills/parallel-web/references/data-enrichment.md
@@ -13,19 +13,19 @@ 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
+parallel-cli enrich run --data '[{"company": "Google"}, {"company": "Microsoft"}]' --intent "CEO name and founding year" --target "output.json" --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
+parallel-cli enrich run --source-type csv --source "input.csv" --target "/tmp/output.json" --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"
+parallel-cli enrich run --data '...' --intent "..." --target "output.json" --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.
@@ -40,11 +40,13 @@ Tell them they can background the polling step to continue working while it runs
## Step 2: Poll for results
+Choose a short, descriptive filename based on the enrichment task (e.g., `companies-ceos`, `startups-funding`). Use lowercase with hyphens, no spaces.
+
```bash
-parallel-cli enrich poll "$TASKGROUP_ID" --timeout 540 --output "/tmp/$TARGET"
+parallel-cli enrich poll "$TASKGROUP_ID" --timeout 540 --json --output "$FILENAME.json"
```
-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.
+The `--target` flag on `enrich run` does not carry over to the poll — you must pass `--output` here to save the results. Always use `--json` to get structured JSON output.
Important:
- Use `--timeout 540` (9 minutes) to stay within tool execution limits
@@ -61,8 +63,8 @@ Enrichment of large datasets can take longer than 9 minutes. If the poll exits w
**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
+2. Preview first few rows of the output JSON
+3. Tell user the full path to the output JSON file (`$FILENAME.json`)
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.
diff --git a/scientific-skills/parallel-web/references/web-extract.md b/scientific-skills/parallel-web/references/web-extract.md
index 5b45cb15..b767629b 100644
--- a/scientific-skills/parallel-web/references/web-extract.md
+++ b/scientific-skills/parallel-web/references/web-extract.md
@@ -7,7 +7,7 @@ Extract content from: $ARGUMENTS
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"
+parallel-cli extract "$ARGUMENTS" --json -o "$FILENAME.json"
```
Options if needed:
@@ -18,7 +18,7 @@ Options if needed:
When extracting from academic sources (arXiv, PubMed, journal sites, conference proceedings), use `--objective` to focus on the most valuable sections:
```bash
-parallel-cli extract "$URL" --json --objective "extract abstract, methodology, key findings, and conclusions" -o "/tmp/$FILENAME.md"
+parallel-cli extract "$URL" --json --objective "extract abstract, methodology, key findings, and conclusions" -o "$FILENAME.json"
```
For arXiv papers, prefer the `/abs/` URL (which has structured metadata) over the raw PDF URL when available. If the user provides a PDF link, extract it directly — parallel-cli handles PDFs.
@@ -42,4 +42,4 @@ Then the extracted content verbatim, with these rules:
- Preserve all facts, names, numbers, dates, quotes
- For academic papers, preserve figure/table captions and references
-After the response, mention the output file path (`/tmp/$FILENAME.md`) so the user knows it's available for follow-up questions.
+After the response, mention the output file path (`$FILENAME.json`) 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
index 58aaacd6..24279f3d 100644
--- a/scientific-skills/parallel-web/references/web-search.md
+++ b/scientific-skills/parallel-web/references/web-search.md
@@ -7,7 +7,7 @@ Search the web for: $ARGUMENTS
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"
+parallel-cli search "$ARGUMENTS" -q "<keyword1>" -q "<keyword2>" --json --max-results 10 --excerpt-max-chars-total 27000 -o "$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.
@@ -22,7 +22,7 @@ For scientific or technical queries, run **two searches** to ensure academic sou
1. **Academic-focused search** — append `--include-domains` with scholarly domains:
```bash
- parallel-cli search "$ARGUMENTS" -q "<keyword1>" --json --max-results 10 --excerpt-max-chars-total 27000 --include-domains "scholar.google.com,arxiv.org,pubmed.ncbi.nlm.nih.gov,semanticscholar.org,biorxiv.org,medrxiv.org,ncbi.nlm.nih.gov,nature.com,science.org,ieee.org,acm.org,springer.com,wiley.com,cell.com,pnas.org,nih.gov" -o "/tmp/$FILENAME-academic.json"
+ parallel-cli search "$ARGUMENTS" -q "<keyword1>" --json --max-results 10 --excerpt-max-chars-total 27000 --include-domains "scholar.google.com,arxiv.org,pubmed.ncbi.nlm.nih.gov,semanticscholar.org,biorxiv.org,medrxiv.org,ncbi.nlm.nih.gov,nature.com,science.org,ieee.org,acm.org,springer.com,wiley.com,cell.com,pnas.org,nih.gov" -o "$FILENAME-academic.json"
```
2. **General search** — the standard command without domain restrictions, to catch relevant non-academic sources.
@@ -70,4 +70,4 @@ Other:
This Sources section is mandatory. Do not omit it. If no academic sources were found, note that and explain why (e.g., the topic is too recent, not yet studied, or inherently non-academic).
-After the Sources section, mention the output file path (`/tmp/$FILENAME.json`) so the user knows it's available for follow-up questions.
+After the Sources section, mention the output file path (`$FILENAME.json`) so the user knows it's available for follow-up questions.