Skill Tracer
Skills › Scientific Agent Skills › research-lookup › README.md

README.md

115 lines · skills/research-lookup/README.md at 5f2bc03

Open on GitHub

Most marks come from matching words in the file, so treat them as pointers.

1# Research Lookup
2
3Parallel-first evidence compilation for scientific manuscripts. Academic retrieval
4targets 60 verified, unique references by default and produces a research packet with
5structured study evidence, claim provenance, contradictions, gaps, and section briefs.
6
7`SKILL.md` is the authoritative workflow and safety reference.
8

Research Lookup

Parallel-first evidence compilation for scientific manuscripts. Academic retrieval targets 60 verified, unique references by default and produces a research packet with structured study evidence, claim provenance, contradictions, gaps, and section briefs.

SKILL.md is the authoritative workflow and safety reference.

Raw lines 1 to 8
9## Routing
11| Request | Backend |
12|---|---|
13| Manuscript literature or many academic references | Parallel Search + Extract |
14| Fast current-information lookup | Parallel Search |
15| Explicit deep/exhaustive report | Parallel Research |
16| Explicit OpenAI-compatible synthesis | Parallel Chat |
17| Optional alternative/failure fallback | Perplexity through OpenRouter |
19A bare query uses Parallel Search. Parallel Chat remains available through
20`--force-backend chat`, but automatic routing never selects it. The legacy
21`--force-backend parallel` flag remains an alias for explicit Parallel Research.

Routing

RequestBackend
Manuscript literature or many academic referencesParallel Search + Extract
Fast current-information lookupParallel Search
Explicit deep/exhaustive reportParallel Research
Explicit OpenAI-compatible synthesisParallel Chat
Optional alternative/failure fallbackPerplexity through OpenRouter

A bare query uses Parallel Search. Parallel Chat remains available through --force-backend chat, but automatic routing never selects it. The legacy --force-backend parallel flag remains an alias for explicit Parallel Research.

Raw lines 9 to 22
23## Setup
25```bash
26uv tool install "parallel-web-tools[cli]==0.9.3"
27parallel-cli login
28parallel-cli auth
29```
31CLI login may be replaced by `PARALLEL_API_KEY`. `OPENROUTER_API_KEY` is needed only
32for explicit Perplexity use or an enabled fallback. Explicit Chat requires
33`PARALLEL_API_KEY` in the process environment.
34Both direct HTTP backends need `requests`; the CLI uses its own isolated tool
35environment. Headless login in 0.9.3 is `parallel-cli login --no-browser`.

Setup

uv tool install "parallel-web-tools[cli]==0.9.3"
parallel-cli login
parallel-cli auth

CLI login may be replaced by PARALLEL_API_KEY. OPENROUTER_API_KEY is needed only for explicit Perplexity use or an enabled fallback. Explicit Chat requires PARALLEL_API_KEY in the process environment. Both direct HTTP backends need requests; the CLI uses its own isolated tool environment. Headless login in 0.9.3 is parallel-cli login --no-browser.

Raw lines 23 to 36
37## Manuscript packet
39```bash
40python skills/research-lookup/scripts/research_lookup.py \
41 "Evidence for the manuscript research question" \
42 --academic \
43 --target-references 60 \
44 --context-file manuscript-context.json \
45 --packet-dir sources/manuscript-research \
46 --json
47```
49The academic workflow runs bounded searches for primary studies, reviews and
50meta-analyses, seminal publications, methods/mechanisms, and contradictory evidence.
51It deduplicates candidates and verifies the strongest sources in batches with
52Parallel Extract.
54Packet artifacts include:
56- complete packet in JSON and Markdown
57- normalized references in JSON and BibTeX
58- evidence matrix
59- claim-to-source map
60- synthesis of consensus, conflicts, patterns, and gaps
61- Introduction, Methods-rationale, and Discussion briefs
62- coverage diagnostics and reproducible search ledger
64The target is not padded. If 60 credible references cannot be verified, the packet
65reports the shortfall.
66`verified_references` means nonempty excerpts were retrieved by Extract, excluding
67flagged retractions. DOI/PMID detection alone does not count. Review identity, claim
68support, and correction/retraction status yourself before using the bibliography.

Manuscript packet

python skills/research-lookup/scripts/research_lookup.py \
  "Evidence for the manuscript research question" \
  --academic \
  --target-references 60 \
  --context-file manuscript-context.json \
  --packet-dir sources/manuscript-research \
  --json

The academic workflow runs bounded searches for primary studies, reviews and meta-analyses, seminal publications, methods/mechanisms, and contradictory evidence. It deduplicates candidates and verifies the strongest sources in batches with Parallel Extract.

Packet artifacts include:

  • complete packet in JSON and Markdown
  • normalized references in JSON and BibTeX
  • evidence matrix
  • claim-to-source map
  • synthesis of consensus, conflicts, patterns, and gaps
  • Introduction, Methods-rationale, and Discussion briefs
  • coverage diagnostics and reproducible search ledger

The target is not padded. If 60 credible references cannot be verified, the packet reports the shortfall. verified_references means nonempty excerpts were retrieved by Extract, excluding flagged retractions. DOI/PMID detection alone does not count. Review identity, claim support, and correction/retraction status yourself before using the bibliography.

Raw lines 37 to 69
Runs code python skills/research-lookup/scripts/research_lookup.py :40
70## Preserved compatibility
72- reusable `ResearchLookup` class
73- `--batch`, `--json`, and `-o/--output`
74- explicit backend selection
75- per-query error isolation
76- DOI/URL citation extraction
77- human-readable and structured output
78- result fields such as `success`, `query`, `response`, `citations`, `sources`,
79 `timestamp`, `backend`, `model`, and `usage`

Preserved compatibility

  • reusable ResearchLookup class
  • --batch, --json, and -o/--output
  • explicit backend selection
  • per-query error isolation
  • DOI/URL citation extraction
  • human-readable and structured output
  • result fields such as success, query, response, citations, sources, timestamp, backend, model, and usage
Raw lines 70 to 80
81## Other modes
83```bash
84# Fast bounded Search
85python skills/research-lookup/scripts/research_lookup.py \
86 "Latest official guidance" --no-academic
88# Explicit Parallel Research
89python skills/research-lookup/scripts/research_lookup.py \
90 "Comprehensive review of topic" \
91 --force-backend research \
92 --processor pro
94# Explicit Parallel Chat (never automatic)
95python skills/research-lookup/scripts/research_lookup.py \
96 "Synthesize the strongest evidence" \
97 --force-backend chat \
98 --chat-model core
100# Explicit Perplexity
101python skills/research-lookup/scripts/research_lookup.py \
102 "Find academic evidence" \
103 --force-backend perplexity
104```

Other modes

# Fast bounded Search
python skills/research-lookup/scripts/research_lookup.py \
  "Latest official guidance" --no-academic

# Explicit Parallel Research
python skills/research-lookup/scripts/research_lookup.py \
  "Comprehensive review of topic" \
  --force-backend research \
  --processor pro

# Explicit Parallel Chat (never automatic)
python skills/research-lookup/scripts/research_lookup.py \
  "Synthesize the strongest evidence" \
  --force-backend chat \
  --chat-model core

# Explicit Perplexity
python skills/research-lookup/scripts/research_lookup.py \
  "Find academic evidence" \
  --force-backend perplexity
Raw lines 81 to 105
Runs code python skills/research-lookup/scripts/research_lookup.py :85
106## Boundaries
108This skill compiles external evidence. It does not generate the user's unpublished
109Results or guarantee a PRISMA-complete systematic review. Use `literature-review` for
110formal database searching, screening, exclusion tracking, and risk-of-bias procedures;
111use `scientific-writing` to turn the packet into manuscript prose.
113API contracts were reviewed on 2026-09-30 against official schemas, CLI 0.9.3,
114and public OpenRouter model metadata. Service examples are illustrative; regression
115tests mock paid calls. See [API contracts](references/api-contracts.md).

Boundaries

This skill compiles external evidence. It does not generate the user's unpublished Results or guarantee a PRISMA-complete systematic review. Use literature-review for formal database searching, screening, exclusion tracking, and risk-of-bias procedures; use scientific-writing to turn the packet into manuscript prose.

API contracts were reviewed on 2026-09-30 against official schemas, CLI 0.9.3, and public OpenRouter model metadata. Service examples are illustrative; regression tests mock paid calls. See API contracts.

Raw lines 106 to 115
Names a skill literature-review :109
Names a skill scientific-writing :111