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.
Python agent-skillsai-scientistbioinformaticschemoinformaticsclaudeclaude-skillsclaudecodeclinical-researchcomputational-biologydata-analysisdrug-discoverygenomicsmaterials-sciencemetabolomicsproteomicsscientific-computingscientific-visualization
Update Parallel Web skill
Timothy Kassis3c09cdef68f6
diff --git a/README.md b/README.mdindex 7ea5ae8f..e1f25236 100644--- a/README.md+++ b/README.md@@ -2,10 +2,10 @@> **🔔 Claude Scientific Skills is now Scientific Agent Skills.** Same skills, broader compatibility — now works with any AI agent that supports the open [Agent Skills](https://agentskills.io/) standard, not just Claude.-> **New: [K-Dense BYOK](https://github.com/K-Dense-AI/k-dense-byok)** — A free, open-source AI co-scientist that runs on your desktop, powered by Scientific Agent Skills. Bring your own API keys, pick from 40+ models, and get a full research workspace with web search, file handling, 100+ scientific databases, and access to all 134 skills in this repo. Your data stays on your computer, and you can optionally scale to cloud compute via [Modal](https://modal.com/) for heavy workloads. [Get started here.](https://github.com/K-Dense-AI/k-dense-byok)+> **New: [K-Dense BYOK](https://github.com/K-Dense-AI/k-dense-byok)** — A free, open-source AI co-scientist that runs on your desktop, powered by Scientific Agent Skills. Bring your own API keys, pick from 40+ models, and get a full research workspace with web search, file handling, 100+ scientific databases, and access to all 133 skills in this repo. Your data stays on your computer, and you can optionally scale to cloud compute via [Modal](https://modal.com/) for heavy workloads. [Get started here.](https://github.com/K-Dense-AI/k-dense-byok)[](LICENSE.md)-[](#whats-included)+[](#whats-included)[](#whats-included)[](https://agentskills.io/)[](#getting-started)@@ -13,7 +13,7 @@[](https://www.linkedin.com/company/k-dense-inc)[](https://www.youtube.com/@K-Dense-Inc)-A comprehensive collection of **134 ready-to-use scientific and research skills** (covering cancer genomics, drug-target binding, molecular dynamics, RNA velocity, geospatial science, time series forecasting, 78+ scientific databases, and more) for any AI agent that supports the open [Agent Skills](https://agentskills.io/) standard, created by [K-Dense](https://k-dense.ai). Works with **Cursor, Claude Code, Codex, and more**. Transform your AI agent into a research assistant capable of executing complex multi-step scientific workflows across biology, chemistry, medicine, and beyond.+A comprehensive collection of **133 ready-to-use scientific and research skills** (covering cancer genomics, drug-target binding, molecular dynamics, RNA velocity, geospatial science, time series forecasting, 78+ scientific databases, and more) for any AI agent that supports the open [Agent Skills](https://agentskills.io/) standard, created by [K-Dense](https://k-dense.ai). Works with **Cursor, Claude Code, Codex, and more**. Transform your AI agent into a research assistant capable of executing complex multi-step scientific workflows across biology, chemistry, medicine, and beyond.---@@ -46,7 +46,7 @@ These skills enable your AI agent to seamlessly work with specialized scientific## 📦 What's Included-This repository provides **134 scientific and research skills** organized into the following categories:+This repository provides **133 scientific and research skills** organized into the following categories:- **100+ Scientific & Financial Databases** - A unified database-lookup skill provides direct access to 78 public databases (PubChem, ChEMBL, UniProt, COSMIC, ClinicalTrials.gov, FRED, USPTO, and more), plus dedicated skills for DepMap, Imaging Data Commons, PrimeKG, and U.S. Treasury Fiscal Data. Multi-database packages like BioServices (~40 bioinformatics services), BioPython (38 NCBI sub-databases via Entrez), and gget (20+ genomics databases) add further coverage- **70+ Optimized Python Package Skills** - Explicitly defined skills for RDKit, Scanpy, PyTorch Lightning, scikit-learn, BioPython, pyzotero, BioServices, PennyLane, Qiskit, OpenMM, MDAnalysis, scVelo, TimesFM, and others — with curated documentation, examples, and best practices. Note: the agent can write code using *any* Python package, not just these; these skills simply provide stronger, more reliable performance for the packages listed@@ -92,7 +92,7 @@ Each skill includes:- **Multi-Step Workflows** - Execute complex pipelines with a single prompt### 🎯 **Comprehensive Coverage**-- **134 Skills** - Extensive coverage across all major scientific domains+- **133 Skills** - Extensive coverage across all major scientific domains- **100+ Databases** - Unified access to 78+ databases via database-lookup, plus dedicated data access skills and multi-database packages like BioServices, BioPython, and gget- **70+ Optimized Python Package Skills** - RDKit, Scanpy, PyTorch Lightning, scikit-learn, BioServices, PennyLane, Qiskit, OpenMM, scVelo, TimesFM, and others (the agent can use any Python package; these are the pre-documented, higher-performing paths)@@ -320,7 +320,7 @@ If so, **[K-Dense Web](https://k-dense.ai)** was built for you. It is the full A| Feature | This Repo | K-Dense Web ||---------|-----------|-------------|-| Scientific Skills | 134 skills | **200+ skills** (exclusive access) |+| Scientific Skills | 133 skills | **200+ skills** (exclusive access) || Setup | Manual installation | **Zero setup, works instantly** || Compute | Your machine | **Cloud GPUs and HPC included** || Workflows | Prompt and code | **End-to-end research pipelines** |@@ -383,7 +383,7 @@ If so, **[K-Dense Web](https://k-dense.ai)** was built for you. It is the full A## 📚 Available Skills-This repository contains **134 scientific and research skills** organized across multiple domains. Each skill provides comprehensive documentation, code examples, and best practices for working with scientific libraries, databases, and tools.+This repository contains **133 scientific and research skills** organized across multiple domains. Each skill provides comprehensive documentation, code examples, and best practices for working with scientific libraries, databases, and tools.### Skill Categories@@ -474,7 +474,7 @@ This repository contains **134 scientific and research skills** organized across#### 📚 **Scientific Communication** (20+ skills)- Literature: Paper Lookup (PubMed, PMC, bioRxiv, medRxiv, arXiv, OpenAlex, Crossref, Semantic Scholar, CORE, Unpaywall), Literature Review- Advanced paper search: BGPT Paper Search (25+ structured fields per paper — methods, results, sample sizes, quality scores — from full text, not just abstracts)-- Web search: Perplexity Search (AI-powered search with real-time information), Parallel Web (synthesized summaries with citations)+- Web search: Parallel Web (synthesized summaries with citations)- Research notebooks: Open Notebook (self-hosted NotebookLM alternative — PDFs, videos, audio, web pages; 16+ AI providers; multi-speaker podcast generation)- Writing: Scientific Writing, Peer Review- Document processing: XLSX, MarkItDown, Document Skills@@ -697,7 +697,7 @@ If you use Scientific Agent Skills in your research or project, please cite it atitle = {Scientific Agent Skills: A Comprehensive Collection of Scientific Tools for AI Agents},year = {2026},url = {https://github.com/K-Dense-AI/scientific-agent-skills},- note = {134 skills covering databases, packages, integrations, and analysis tools}+ note = {133 skills covering databases, packages, integrations, and analysis tools}}```diff --git a/SECURITY.md b/SECURITY.mdindex ba158a27..b3779817 100644--- a/SECURITY.md+++ b/SECURITY.md@@ -62,7 +62,6 @@| open-notebook | 🟡 MEDIUM | 18 | ✅ | 21.2s || parallel-web | 🟡 MEDIUM | 5 | ✅ | 29.7s || pennylane | 🟡 MEDIUM | 5 | ✅ | 24.4s |-| perplexity-search | 🟡 MEDIUM | 6 | ✅ | 24.3s || phylogenetics | 🟡 MEDIUM | 9 | ✅ | 23.0s || protocolsio-integration | 🟡 MEDIUM | 6 | ✅ | 24.9s || pufferlib | 🟡 MEDIUM | 4 | ✅ | 25.2s |@@ -2231,38 +2230,6 @@> File: `references/devices_backends.md`> **Remediation:** Replace hardcoded API key examples with environment variable patterns: api_key=os.environ.get('IONQ_API_KEY'). Add explicit security warnings in documentation. Recommend using secrets management solutions.-### perplexity-search — 🟡 MEDIUM--- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Installation- > The skill instructs users to install litellm and python-dotenv without version pins (e.g., 'uv pip install litellm'). Unpinned dependencies are vulnerable to supply chain attacks where a malicious version of a package could be published and automatically installed. LiteLLM is a large dependency with broad network access capabilities.- > File: `SKILL.md`- > **Remediation:** Pin dependencies to specific versions (e.g., 'uv pip install litellm==1.x.x'). Provide a requirements.txt or pyproject.toml with pinned versions and hash verification.--- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected- > Script iterates through environment variables in scientific-skills/perplexity-search/scripts/perplexity_search.py- > File: `scientific-skills/perplexity-search/scripts/perplexity_search.py`- > **Remediation:** Remove environment variable collection unless explicitly required and documented--- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected- > Script iterates through environment variables in scientific-skills/perplexity-search/scripts/setup_env.py- > File: `scientific-skills/perplexity-search/scripts/setup_env.py`- > **Remediation:** Remove environment variable collection unless explicitly required and documented--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Environment Variable Access Combined with External Network Calls- > The static analyzer flagged a cross-file exfiltration chain: setup_env.py reads/writes the OPENROUTER_API_KEY environment variable, and perplexity_search.py reads the same variable and passes it to LiteLLM which makes external network calls. While this is the intended and legitimate behavior of the skill (the API key is needed to authenticate with OpenRouter), it is worth noting that the API key is transmitted to an external service (openrouter.ai) on every query. This is expected behavior but represents a data flow that users should be aware of.- > File: `scripts/perplexity_search.py:68`- > **Remediation:** This is expected behavior. Ensure users understand their queries and API key are transmitted to OpenRouter/Perplexity. Document data privacy implications clearly. Consider adding a notice about query logging by third-party services.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Written to .env File Without Gitignore Enforcement- > The setup_env.py script writes the OpenRouter API key to a .env file on disk. While the SKILL.md documentation mentions adding .env to .gitignore, the script itself does not check for or create a .gitignore entry, nor does it warn the user if the .env file is in a git-tracked directory. This could lead to accidental credential exposure if the user commits the .env file.- > File: `scripts/setup_env.py:38`- > **Remediation:** After writing the .env file, check if the directory is a git repository and warn the user if .env is not in .gitignore. Optionally, automatically add .env to .gitignore.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Passed via CLI Argument (Potential Exposure in Process List)- > The setup_env.py script accepts the OpenRouter API key as a command-line argument (--api-key). On multi-user systems, command-line arguments are visible in the process list (e.g., via 'ps aux'), which could expose the API key to other users on the same machine. Additionally, the script echoes the raw API key in its 'Next steps' output, which could be captured in logs or terminal history.- > File: `scripts/setup_env.py:113`- > **Remediation:** Avoid accepting secrets as CLI arguments. Use interactive prompts (getpass module) or read from a file. Mask the key in any output. Ensure shell history is not recording the key.-### phylogenetics — 🟡 MEDIUM- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License and Compatibility Metadatadiff --git a/docs/scientific-skills.md b/docs/scientific-skills.mdindex 2638da82..25224b36 100644--- a/docs/scientific-skills.md+++ b/docs/scientific-skills.md@@ -158,7 +158,6 @@- **LaTeX Posters** - Create professional research posters in LaTeX using beamerposter, tikzposter, or baposter. Support for conference presentations, academic posters, and scientific communication with layout design, color schemes, multi-column formats, figure integration, and poster-specific best practices. Features compliance with conference size requirements (A0, A1, 36×48"), complex multi-column layouts, and integration of figures, tables, equations, and citations. Use cases: conference poster sessions, thesis defenses, symposia presentations, and research group templates- **Market Research Reports** - Generate comprehensive market research reports (50+ pages) in the style of top consulting firms (McKinsey, BCG, Gartner). Features professional LaTeX formatting, extensive visual generation, deep integration with research-lookup for data gathering, and multi-framework strategic analysis including Porter's Five Forces, PESTLE, SWOT, TAM/SAM/SOM, and BCG Matrix. Use cases: investment decisions, strategic planning, competitive landscape analysis, market sizing, and market entry evaluation- **Paper-2-Web** - Autonomous pipeline for transforming academic papers into multiple promotional formats using the Paper2All system. Converts LaTeX or PDF papers into: (1) Paper2Web - interactive, layout-aware academic homepages with responsive design, interactive figures, and mobile support; (2) Paper2Video - professional presentation videos with slides, narration, cursor movements, and optional talking-head generation using Hallo2; (3) Paper2Poster - print-ready conference posters with custom dimensions, professional layouts, and institution branding. Supports GPT-4/GPT-4.1 models, batch processing, QR code generation, multi-language content, and quality assessment metrics. Use cases: conference materials, video abstracts, preprint enhancement, research promotion, poster sessions, and academic website creation-- **Perplexity Search** - AI-powered web search using Perplexity models via LiteLLM and OpenRouter for real-time, web-grounded answers with source citations. Provides access to multiple Perplexity models: Sonar Pro (general-purpose, best cost-quality balance), Sonar Pro Search (most advanced agentic search with multi-step reasoning), Sonar (cost-effective for simple queries), Sonar Reasoning Pro (advanced step-by-step analysis), and Sonar Reasoning (basic reasoning). Key features include: single OpenRouter API key setup (no separate Perplexity account), real-time access to current information beyond training data cutoff, comprehensive query design guidance (domain-specific patterns, time constraints, source preferences), cost optimization strategies with usage monitoring, programmatic and CLI interfaces, batch processing support, and integration with other scientific skills. Installation uses uv pip for LiteLLM, with detailed setup, troubleshooting, and security documentation. Use cases: finding recent scientific publications and research, conducting literature searches across domains, verifying facts with source citations, accessing current developments in any field, comparing technologies and approaches, performing domain-specific research (biomedical, clinical, technical), supplementing PubMed searches with real-time web results, and discovering latest developments post-database indexing- **PPTX Posters** - Create professional research posters using PowerPoint/HTML formats for researchers who prefer WYSIWYG tools over LaTeX. Features design principles, layout templates, quality checklists, and export guidance for poster sessions. Use cases: conference posters when LaTeX is not preferred, quick poster creation, and collaborative poster design- **Scientific Schematics** - Create publication-quality scientific diagrams using Nano Banana Pro AI with smart iterative refinement. Uses Gemini 3 Pro for quality review with document-type-specific thresholds (journal: 8.5/10, conference: 8.0/10, poster: 7.0/10). Specializes in neural network architectures, system diagrams, flowcharts, biological pathways, and complex scientific visualizations. Features natural language input, automatic quality assessment, and publication-ready output. Use cases: creating figures for papers, generating workflow diagrams, visualizing experimental designs, and producing graphical abstracts- **Scientific Slides** - Build slide decks and presentations for research talks using PowerPoint and LaTeX Beamer. Features slide structure, design templates, timing guidance, and visual validation. Emphasizes visual engagement with minimal text, research-backed content with proper citations, and story-driven narrative. Use cases: conference presentations, academic seminars, thesis defenses, grant pitches, and professional talksdiff --git a/pyproject.toml b/pyproject.tomlindex f96ea27d..b40c6e12 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[project]name = "scientific-agent-skills"-version = "2.36.0"+version = "2.37.0"description = "A set of ready to use Agent Skills for research, science, engineering, analysis, finance and writing."readme = "README.md"requires-python = ">=3.13"diff --git a/scientific-skills/parallel-web/SKILL.md b/scientific-skills/parallel-web/SKILL.mdindex 4873fe2a..f70adfb9 100644--- a/scientific-skills/parallel-web/SKILL.md+++ b/scientific-skills/parallel-web/SKILL.md@@ -1,6 +1,6 @@---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."+description: "All-in-one web toolkit powered by parallel-cli, with a strong emphasis on academic and scientific sources. 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 — prioritizing peer-reviewed papers, preprints, and scholarly databases), URL extraction (fetching pages, articles, academic PDFs), bulk data enrichment (adding fields to CSV/lists from the web), and deep research (exhaustive multi-source reports grounded in academic literature). 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, investigate a topic, find academic papers, check citations, or review scientific literature, this is the skill to use."compatibility: Requires parallel-cli and internet access.metadata:author: K-Dense, Inc.@@ -8,7 +8,7 @@ metadata:# Parallel Web Toolkit-A unified skill for all web-powered tasks: searching, extracting, enriching, and researching.+A unified skill for all web-powered tasks: searching, extracting, enriching, and researching — with academic and scientific sources as the default priority.## Routing — pick the right capability@@ -26,12 +26,22 @@ Read the user's request and match it to one of the capabilities below. For web s### 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.+- **Default to Web Search** for a single lookup, research question, or "what is X?" query. It's fast and cost-effective. When the query touches a scientific or technical topic, include academic domains (see `references/web-search.md`) to surface peer-reviewed and preprint sources alongside general results.+- **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. Particularly useful for extracting full text from academic PDFs, preprint servers, and journal articles.- **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.+- **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. Deep research is especially valuable for literature reviews and multi-paper synthesis.- If `parallel-cli` is not found when running any command, follow the Setup section below.+### Academic source priority++Across all capabilities, prefer academic and scientific sources when the query is technical or scientific in nature. This means:+- Peer-reviewed journal articles and conference proceedings over blog posts or news articles+- Preprints (arXiv, bioRxiv, medRxiv) when peer-reviewed versions aren't available+- Institutional and government sources (NIH, WHO, NASA, NIST) over commercial sites+- Primary research over secondary summaries++When citing academic sources, include author names and publication year where available (e.g., [Smith et al., 2025](url)) in addition to the standard citation format. If a DOI is present, prefer the DOI link.+## Context chainingSeveral 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.diff --git a/scientific-skills/parallel-web/references/deep-research.md b/scientific-skills/parallel-web/references/deep-research.mdindex d2cfc1ce..7f53e478 100644--- a/scientific-skills/parallel-web/references/deep-research.md+++ b/scientific-skills/parallel-web/references/deep-research.md@@ -8,6 +8,8 @@ ONLY use this capability when the user explicitly requests deep/exhaustive resea## Step 1: Start the research+Frame the research objective to prioritize academic literature. If the user's query is scientific or technical, prepend context to the arguments that steers toward scholarly sources — e.g., instead of `"effects of sleep deprivation"`, use `"peer-reviewed research and clinical studies on the effects of sleep deprivation"`. This nudges the research agent toward primary literature without excluding relevant non-academic sources.+```bashparallel-cli research run "$ARGUMENTS" --processor pro-fast --no-wait --json```@@ -65,10 +67,11 @@ Higher processor tiers can take longer than 9 minutes. If the poll exits without**After step 2:**1. Share the **executive summary** that the poll command printed to stdout-2. Tell the user the two generated file paths:+2. Briefly assess the source quality: how many of the cited sources are peer-reviewed journals, preprints, or institutional reports vs. news articles or blog posts. If academic coverage is thin, flag this to the user and suggest a follow-up search targeting specific databases (e.g., "I can search PubMed/arXiv specifically for more primary sources on this").+3. 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")+4. 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.diff --git a/scientific-skills/parallel-web/references/web-extract.md b/scientific-skills/parallel-web/references/web-extract.mdindex 4455f97e..5b45cb15 100644--- a/scientific-skills/parallel-web/references/web-extract.md+++ b/scientific-skills/parallel-web/references/web-extract.md@@ -13,16 +13,33 @@ parallel-cli extract "$ARGUMENTS" --json -o "/tmp/$FILENAME.md"Options if needed:- `--objective "focus area"` to focus on specific content+## Academic content handling++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"+```++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.+## Response formatReturn content as:**[Page Title](URL)**+For academic papers, include structured metadata when available:+- **Authors:** list of authors+- **Published:** date and venue/journal+- **DOI:** if available+- **Abstract:** the paper's abstract+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+- For academic papers, preserve figure/table captions and referencesAfter 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.mdindex 81d49317..58aaacd6 100644--- a/scientific-skills/parallel-web/references/web-search.md+++ b/scientific-skills/parallel-web/references/web-search.md@@ -16,6 +16,21 @@ Options if needed:- `--after-date YYYY-MM-DD` for time-sensitive queries- `--include-domains domain1.com,domain2.com` to limit to specific sources+## Academic source strategy++For scientific or technical queries, run **two searches** to ensure academic sources surface alongside general results:++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"+ ```++2. **General search** — the standard command without domain restrictions, to catch relevant non-academic sources.++Merge results, leading with academic sources. If only one search is practical (e.g., clearly non-scientific query), skip the academic-focused search.++**When to use the two-search pattern:** Any query involving scientific claims, medical information, research findings, technical mechanisms, statistical data, or anything where primary literature would be more reliable than secondary reporting.+## Parsing resultsDo 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.@@ -26,22 +41,33 @@ Parse the JSON from stdout. For each result, extract:## 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.+**CRITICAL: Every claim must have an inline citation.** Use markdown links pulling only from the JSON output. Never invent or guess URLs.++For academic sources, use author-year citation style where metadata is available:+- Academic: [Smith et al., 2025](url) or [Smith & Jones, 2024](url)+- Non-academic: [Source Title](url)Synthesize a response that:-- Leads with the key answer/finding+- Leads with findings from peer-reviewed or preprint sources when available+- Clearly distinguishes between claims backed by primary research vs. secondary reporting- Includes specific facts, names, numbers, dates-- Cites every fact inline as [Source Title](url) — do not leave any claim uncited+- Cites every fact inline — do not leave any claim uncited- Organizes by theme if multiple topics+- Notes the evidence quality (e.g., "a randomized controlled trial found..." vs. "a blog post reports...")-**End with a Sources section** listing every URL referenced:+**End with a Sources section** listing every URL referenced, grouped by type:```Sources:++Academic / Peer-reviewed:+- [Smith et al., 2025 — Title of Paper](https://doi.org/...) (Nature, 2025)+- [Jones & Lee, 2024 — Title of Paper](https://arxiv.org/...) (arXiv preprint)++Other:- [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.+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.