From k-dense-ai-claude-scientific-writer
Looks up current research info via parallel-cli search (fast web/academic) or Parallel Chat API (deep synthesis), auto-routing for papers, data gathering, scientific verification.
npx claudepluginhub k-dense-ai/claude-scientific-writer --plugin claude-scientific-writerThis skill is limited to using the following tools:
This skill provides real-time research information lookup with **intelligent backend routing**:
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
This skill provides real-time research information lookup with intelligent backend routing:
parallel-cli search with --include-domains for scholarly sources.core model): Secondary backend for complex, multi-source deep research requiring extended synthesis (60s-5min latency). Use only when explicitly needed.
The skill automatically detects query type and routes to the optimal backend.Use this skill when you need:
When creating documents with this skill, always consider adding scientific diagrams and schematics to enhance visual communication.
If your document does not already contain schematics or diagrams:
python scripts/generate_schematic.py "your diagram description" -o figures/output.png
The skill automatically routes queries to the best backend based on content:
Query arrives
|
+-- Needs deep multi-source synthesis? (user says "deep research", "exhaustive")
| YES --> Parallel Chat API (core model, 60s-5min)
|
+-- Everything else (general research, academic queries, market data, technical info)
--> parallel-cli search (fast, default)
Primary backend for all standard research queries. Fast, cost-effective, and supports academic source prioritization.
For scientific/technical queries, run two searches to ensure academic coverage:
# 1. Academic-focused search
parallel-cli search "your research query" -q "keyword1" -q "keyword2" \
--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 sources/research_<topic>-academic.json
# 2. General search (catches non-academic sources)
parallel-cli search "your research query" -q "keyword1" -q "keyword2" \
--json --max-results 10 --excerpt-max-chars-total 27000 \
-o sources/research_<topic>-general.json
Options:
--after-date YYYY-MM-DD for time-sensitive queries--include-domains domain1.com,domain2.com to limit to specific sourcesMerge results, leading with academic sources. For non-scientific queries, a single general search is sufficient.
All other queries route here by default, including:
Queries containing these terms trigger the two-search pattern with academic domain prioritization:
find papers, find articles, research papers on, published studiescite, citation, doi, pubmed, pmidpeer-reviewed, journal article, scholarly, arxiv, preprintsystematic review, meta-analysis, literature searchfoundational papers, seminal papers, landmark papers, highly citedOnly used when the user explicitly requests deep, exhaustive, or comprehensive research. Much slower and more expensive than parallel-cli search.
You can force a specific backend:
# Force parallel-cli search (fast web search)
parallel-cli search "your query" -q "keyword" --json --max-results 10 -o sources/research_<topic>.json
# Force Parallel Chat API (deep research, slow)
python research_lookup.py "your query" --force-backend parallel-chat
# Force parallel-cli (explicit)
python research_lookup.py "your query" --force-backend parallel-cli
Primary backend. Fast, cost-effective web search with academic source prioritization via the parallel-web skill.
Query Examples:
- "Recent advances in CRISPR gene editing 2025"
- "Compare mRNA vaccines vs traditional vaccines for cancer treatment"
- "AI adoption in healthcare industry statistics"
- "Global renewable energy market trends and projections"
- "Explain the mechanism underlying gut microbiome and depression"
# Example: research on CRISPR advances
parallel-cli search "Recent advances in CRISPR gene editing 2025" \
-q "CRISPR" -q "gene editing" -q "2025" \
--json --max-results 10 --excerpt-max-chars-total 27000 \
--include-domains "scholar.google.com,arxiv.org,pubmed.ncbi.nlm.nih.gov,nature.com,science.org,cell.com,pnas.org,nih.gov" \
-o sources/research_crispr_advances-academic.json
parallel-cli search "Recent advances in CRISPR gene editing 2025" \
-q "CRISPR" -q "gene editing" \
--json --max-results 10 --excerpt-max-chars-total 27000 \
-o sources/research_crispr_advances-general.json
Response includes:
Uses the two-search pattern when academic keywords are detected. Prioritizes scholarly databases via --include-domains.
Query Examples:
- "Find papers on transformer attention mechanisms in NeurIPS 2024"
- "Foundational papers on quantum error correction"
- "Systematic review of immunotherapy in non-small cell lung cancer"
- "Cite the original BERT paper and its most influential follow-ups"
- "Published studies on CRISPR off-target effects in clinical trials"
Response includes:
Used only when user explicitly requests deep/exhaustive research. Provides comprehensive, multi-source synthesis via the Chat API (core model). 60s-5min latency.
Query Examples:
- "Deep research on the current state of quantum computing error correction"
- "Exhaustive analysis of mRNA vaccine platforms for cancer immunotherapy"
Use parallel-cli search (default) for quick lookups:
parallel-cli search "Western blot protocol for protein detection" \
-q "western blot" -q "protocol" \
--json --max-results 10 --excerpt-max-chars-total 27000 \
-o sources/research_western_blot.json
Use parallel-cli search (default) for current data:
parallel-cli search "Global AI market size and growth projections 2025" \
-q "AI market" -q "statistics" -q "growth" \
--json --max-results 10 --excerpt-max-chars-total 27000 \
--after-date 2024-01-01 \
-o sources/research_ai_market.json
CRITICAL: When searching for papers, ALWAYS prioritize high-quality, influential papers.
| Paper Age | Citation Threshold | Classification |
|---|---|---|
| 0-3 years | 20+ citations | Noteworthy |
| 0-3 years | 100+ citations | Highly Influential |
| 3-7 years | 100+ citations | Significant |
| 3-7 years | 500+ citations | Landmark Paper |
| 7+ years | 500+ citations | Seminal Work |
| 7+ years | 1000+ citations | Foundational |
Tier 1 - Premier Venues (Always prefer):
Tier 2 - High-Impact Specialized (Strong preference):
Tier 3 - Respected Specialized (Include when relevant):
# Primary backend (parallel-cli) - REQUIRED
# Install parallel-cli if not already available:
curl -fsSL https://parallel.ai/install.sh | bash
# Or: uv tool install "parallel-web-tools[cli]"
# Authenticate:
parallel-cli auth
# Or: export PARALLEL_API_KEY="your_parallel_api_key"
# Authenticate parallel-cli (primary backend)
parallel-cli auth
# Or set API key directly:
export PARALLEL_API_KEY="your_parallel_api_key"
# Deep research backend (Parallel Chat API) - optional, same key
# Uses PARALLEL_API_KEY
parallel-cli search (PRIMARY):
parallel-cli search with --json output--include-domains for scholarly sources-o filename.json for follow-up and reproducibilityParallel Chat API (deep research only):
https://api.parallel.ai (OpenAI SDK compatible)core (60s-5min latency, complex multi-source synthesis)openai# Fast web search via parallel-cli (DEFAULT — recommended) — ALWAYS save to sources/
parallel-cli search "your query" -q "keyword1" -q "keyword2" \
--json --max-results 10 --excerpt-max-chars-total 27000 \
-o sources/research_<topic>.json
# Academic-focused search via parallel-cli — ALWAYS save to sources/
parallel-cli search "your query" -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,nature.com,science.org,cell.com,pnas.org,nih.gov" \
-o sources/research_<topic>-academic.json
# Time-sensitive search via parallel-cli
parallel-cli search "your query" -q "keyword" \
--json --max-results 10 --after-date 2024-01-01 \
-o sources/research_<topic>.json
# Extract full content from a specific URL (use parallel-web extract)
parallel-cli extract "https://example.com/paper" --json
# Force Parallel Deep Research (slow, exhaustive) — via research_lookup.py
python research_lookup.py "your query" --force-backend parallel -o sources/research_<topic>.md
# Auto-routed via research_lookup.py — ALWAYS save to sources/
python research_lookup.py "your query" -o sources/research_YYYYMMDD_HHMMSS_<topic>.md
# Batch queries via research_lookup.py — ALWAYS save to sources/
python research_lookup.py --batch "query 1" "query 2" "query 3" -o sources/batch_research_<topic>.md
Every research-lookup result MUST be saved to the project's sources/ folder.
This is non-negotiable. Research results are expensive to obtain and critical for reproducibility.
| Backend | -o Flag Target | Filename Pattern |
|---|---|---|
| parallel-cli search (default) | sources/research_<topic>.json | research_<brief_topic>.json or research_<brief_topic>-academic.json |
| Parallel Chat API (deep research) | sources/research_<topic>.md | research_YYYYMMDD_HHMMSS_<brief_topic>.md |
| Batch queries | sources/batch_<topic>.md | batch_research_YYYYMMDD_HHMMSS_<brief_topic>.md |
CRITICAL: Every search MUST save results to the sources/ folder using the -o flag.
CRITICAL: Saved files MUST preserve all citations, source URLs, and DOIs.
# parallel-cli search (DEFAULT) — save JSON to sources/
parallel-cli search "Recent advances in CRISPR gene editing 2025" \
-q "CRISPR" -q "gene editing" \
--json --max-results 10 --excerpt-max-chars-total 27000 \
--include-domains "scholar.google.com,arxiv.org,pubmed.ncbi.nlm.nih.gov,nature.com,science.org,cell.com,pnas.org,nih.gov" \
-o sources/research_crispr_advances-academic.json
parallel-cli search "Recent advances in CRISPR gene editing 2025" \
-q "CRISPR" -q "gene editing" \
--json --max-results 10 --excerpt-max-chars-total 27000 \
-o sources/research_crispr_advances-general.json
# Deep research via Parallel Chat API — save to sources/
python research_lookup.py "AI regulation landscape" --force-backend parallel-chat \
-o sources/research_20250217_144000_ai_regulation.md
# Batch queries — save to sources/
python research_lookup.py --batch "mRNA vaccines efficacy" "mRNA vaccines safety" \
-o sources/batch_research_20250217_144500_mrna_vaccines.md
Each output format preserves citations differently:
| Format | Citations Included | When to Use |
|---|---|---|
| parallel-cli JSON (default) | Full result objects: title, url, publish_date, excerpts | Standard use — structured, parseable, fast |
| Text (research_lookup.py) | Sources (N): section with [title] (date) + URL + Additional References (N): with DOIs and academic URLs | Deep research (Parallel Chat API) — human-readable |
JSON (--json via research_lookup.py) | Full citation objects: url, title, date, snippet, doi, type | When you need maximum citation metadata from deep research |
For parallel-cli search, saved JSON files include: full search results with title, URL, publish date, and content excerpts for each result. For Parallel Chat API backend, saved files include: research report + Sources list (title, URL) + Additional References (DOIs, academic URLs).
Use --json when you need to:
sources/ folder documents exactly how all research information was gatheredsources/ for existing results before making new API callsBefore calling research_lookup.py, check if a relevant result already exists:
ls sources/ # Check existing saved results
If a prior lookup covers the same topic, re-read the saved file instead of making a new API call.
When saving research results, always log:
[HH:MM:SS] SAVED: Research lookup to sources/research_20250217_143000_crispr_advances.md (3,800 words, 8 citations)
[HH:MM:SS] SAVED: Paper search to sources/papers_20250217_143500_transformer_attention.md (6 papers found)
This skill enhances scientific writing by providing:
sources/sources/sources/sources/sources/| Task | Tool |
|---|---|
| General web search (fast) | parallel-cli search (built into this skill) |
| Academic-focused web search | parallel-cli search --include-domains (built into this skill) |
| URL content extraction | parallel-cli extract (parallel-web skill) |
| Deep research (exhaustive) | research-lookup via Parallel Chat API or parallel-web deep research |
| Academic paper search | research-lookup (auto-routes via parallel-cli with academic domains) |
| Google Scholar search | citation-management skill |
| PubMed search | citation-management skill |
| DOI to BibTeX | citation-management skill |
| Metadata verification | parallel-cli extract (parallel-web skill) |
Known Limitations:
parallel-cli to be installed and authenticatedFallback Behavior:
parallel-cli is not found, install with curl -fsSL https://parallel.ai/install.sh | bash or uv tool install "parallel-web-tools[cli]"Query: "Recent advances in transformer attention mechanisms 2025"
Backend: parallel-cli search (default, fast)
Commands:
parallel-cli search "Recent advances in transformer attention mechanisms 2025" \
-q "transformer" -q "attention" -q "2025" \
--json --max-results 10 --excerpt-max-chars-total 27000 \
--include-domains "arxiv.org,semanticscholar.org,nature.com,science.org,ieee.org,acm.org" \
-o sources/research_transformer_attention-academic.json
parallel-cli search "Recent advances in transformer attention mechanisms 2025" \
-q "transformer" -q "attention" \
--json --max-results 10 --excerpt-max-chars-total 27000 \
-o sources/research_transformer_attention-general.json
Response: Synthesized findings with inline citations from academic and general sources, covering recent papers, key innovations, and performance benchmarks.
Query: "Find papers on CRISPR off-target effects in clinical trials"
Backend: parallel-cli search with --include-domains targeting scholarly sources
Response: Results from arxiv, pubmed, nature, science, and other academic sources with titles, URLs, dates, and content excerpts.
Query: "Compare and contrast mRNA vaccines vs traditional vaccines for cancer treatment"
Backend: parallel-cli search (default, fast)
Response: Synthesized comparison from multiple web sources with inline citations, structured analysis, and evidence quality notes.
Query: "Global AI adoption in healthcare statistics 2025"
Backend: parallel-cli search (default, fast)
parallel-cli search "Global AI adoption in healthcare statistics 2025" \
-q "AI healthcare" -q "adoption statistics" \
--json --max-results 10 --excerpt-max-chars-total 27000 \
--after-date 2024-01-01 \
-o sources/research_ai_healthcare_adoption.json
Response: Current market data, adoption rates, growth projections, and regional analysis with source citations.
This skill serves as the primary research interface with intelligent tri-backend routing:
core model): Deep, exhaustive multi-source synthesis (on explicit request only)