SciAtlas Literature Review
Use this skill to run the repository literature-review workflow. The workflow performs topic profiling, SciAtlas backend paper search, evidence organization, method clustering, time slicing, outline planning, evidence-pack construction, and optionally full section drafting/integration.
Operating Contract
- Run only
sciatlas literature-review or python run_sciatlas.py literature-review for this skill.
- Own the end-to-end novice flow: install or locate the CLI, guide registration, configure
.env or shell variables, run the workflow, inspect artifacts, and synthesize the final review result.
- Ask the user only for human-only values: missing topic/domain, email, verification code, SciAtlas token, LLM credentials that are not already configured, or one necessary scope clarification.
- Do not ask the user to run shell commands when tool access is available.
- Use
--workflow flash by default for interactive work.
- Use
--workflow full when the user requests a comprehensive formal review or when flash artifacts are too thin.
- Never disclose full API keys or tokens.
- Read saved artifacts before answering.
Zero-Start Bootstrap
- Check whether the repository command works:
python run_sciatlas.py literature-review -h
If needed, fall back to sciatlas literature-review -h after installing the full checkout.
- This dedicated workflow requires a full SciAtlas checkout. If it is missing, clone the repository, change into it, then run
python -m pip install -e ./sciatlas and python -m pip install -r requirements-workflows.txt. Do not use the GitHub #subdirectory=sciatlas package-only installation for this workflow.
- Check current environment and
.env for SCIATLAS_API_KEY and LLM settings before asking the user.
- If no SciAtlas token is configured, guide the user to
http://sciatlas.openkg.cn/register; ask for email, verification code, and returned sciatlas_xxx token only when needed.
- If LLM credentials are required and missing, ask only for the missing values. Use the user's provider values without printing them back.
- Configure the current shell or
.env yourself, then run the workflow.
Paper retrieval for this workflow must use only the provided SciAtlas backend through run_sciatlas.py search-papers. Do not add public-paper fallback retrieval (Semantic Scholar, OpenAlex, Crossref, arXiv scraping, or browser search) when the SciAtlas backend returns no papers or errors. The local literature-review code may still use LLM calls for planning, clustering, and synthesis.
Configure workflow credentials in .env or the shell:
SCIATLAS_API_BASE_URL=http://sciatlas.openkg.cn
SCIATLAS_API_KEY=<sciatlas-token>
OPENAI_API_KEY=<llm-key>
OPENAI_BASE_URL=https://api.deepseek.com
LLM_MODEL=deepseek-v4-flash
The workflow also accepts DMX-API-KEY, DMX_API_KEY, LLM_API_KEY, LLM_BASE_URL, LLM_API_URL, SEARCH_LLM_API_KEY, SEARCH_LLM_API_URL, and SEARCH_LLM_MODEL.
Run Plan
Flash path:
python run_sciatlas.py literature-review \
--query "<topic>" \
--domain "<optional field>" \
--workflow flash
Full path:
python run_sciatlas.py literature-review \
--query "<topic>" \
--domain "<optional field>" \
--workflow full
Useful overrides:
--top-k N changes the default SciAtlas search budget.
--probe-top-k N and --round-top-k N tune search breadth.
--round1-action-limit N and --round2-action-limit N tune query planning.
--report-stop-after outline|packs|full controls report generation depth.
--subject-domain general|chemistry|biology selects prompt constraints.
--smoke runs the mock search path for structure validation.
Smooth flash defaults when the backend is slow or unstable:
python run_sciatlas.py literature-review \
--query "<topic>" \
--domain "<optional field>" \
--workflow flash \
--probe-top-k 3 \
--round-top-k 3 \
--round1-action-limit 1 \
--llm-paper-limit 12 \
--report-stop-after packs \
--workflow-timeout 600 \
--llm-timeout 120 \
--outline-timeout 180
Set SCIATLAS_SEARCH_TIMEOUT for the per-action hosted search-papers timeout. If SciAtlas returns 5xx, keep the error in artifacts and do not switch to public retrieval.
Workflow Modes
flash compresses nonessential stages:
- smaller probe and round search budgets;
- fewer Round 1 actions and no Round 2 by default;
- query cleaning and relevance guard enabled;
- report generation stops after evidence packs, producing a fast outline/evidence report.
full runs the broader path:
- larger probe and round search budgets;
- Round 2 refinement enabled;
- KG policy, query cleaning, and relevance guard enabled;
- full formal review drafting and integration.
Artifacts To Read
Read the run directory:
summary.json: status, workflow mode, subprocess logs, and artifact pointers.
report.md: user-facing review, outline/evidence-pack summary, or full formal review.
lr_search/search_result.json: topic profile, time windows, paper cards, clusters, coverage report, and search actions.
lr_search/organized_search_result.json: deterministic evidence map when generated.
lr_review/formal_outline.json: planned review structure.
lr_review/citation_plan.json, section_packs/, subsection_packs/: flash evidence packs.
lr_review/formal_review.md and diagnostic_report.md: full-mode final outputs.
logs/*.txt: subprocess stdout/stderr when a stage fails.
In flash, a report that stops after packs is normal success. Do not rerun full unless the user asks or the evidence is insufficient for their requested depth.
Deliverable
Return:
- exact command used, with credentials omitted;
- workflow mode and artifact paths;
- concise topic scope;
- 5-12 representative papers or paper groups;
- method/theme clusters and timeline notes;
- review outline or full review summary;
- gaps, caveats, and next SciAtlas queries.
Keep paper claims tied to artifact titles, clusters, and evidence fields.
1---2name: sciatlas-literature-review3description: Use only the current SciAtlas literature-review workflow (`literature_review_pipeline`) to take a novice user from zero setup to a final evidence-grounded survey outline, paper map, or literature review, including setup, registration guidance, workflow configuration, SciAtlas backend retrieval, artifact reading, and synthesis. Trigger when the user asks for a literature review, related work section, paper map, survey outline, reading path, or topic overview grounded in the provided SciAtlas paper backend.4---56# SciAtlas Literature Review78Use this skill to run the repository literature-review workflow. The workflow performs topic profiling, SciAtlas backend paper search, evidence organization, method clustering, time slicing, outline planning, evidence-pack construction, and optionally full section drafting/integration.910## Operating Contract1112- Run only `sciatlas literature-review` or `python run_sciatlas.py literature-review` for this skill.13- Own the end-to-end novice flow: install or locate the CLI, guide registration, configure `.env` or shell variables, run the workflow, inspect artifacts, and synthesize the final review result.14- Ask the user only for human-only values: missing topic/domain, email, verification code, SciAtlas token, LLM credentials that are not already configured, or one necessary scope clarification.15- Do not ask the user to run shell commands when tool access is available.16- Use `--workflow flash` by default for interactive work.17- Use `--workflow full` when the user requests a comprehensive formal review or when flash artifacts are too thin.18- Never disclose full API keys or tokens.19- Read saved artifacts before answering.2021## Zero-Start Bootstrap22231. Check whether the repository command works:2425```bash26python run_sciatlas.py literature-review -h27```2829If needed, fall back to `sciatlas literature-review -h` after installing the full checkout.30312. This dedicated workflow requires a full SciAtlas checkout. If it is missing, clone the repository, change into it, then run `python -m pip install -e ./sciatlas` and `python -m pip install -r requirements-workflows.txt`. Do not use the GitHub `#subdirectory=sciatlas` package-only installation for this workflow.323. Check current environment and `.env` for `SCIATLAS_API_KEY` and LLM settings before asking the user.334. If no SciAtlas token is configured, guide the user to `http://sciatlas.openkg.cn/register`; ask for email, verification code, and returned `sciatlas_xxx` token only when needed.345. If LLM credentials are required and missing, ask only for the missing values. Use the user's provider values without printing them back.356. Configure the current shell or `.env` yourself, then run the workflow.3637Paper retrieval for this workflow must use only the provided SciAtlas backend through `run_sciatlas.py search-papers`. Do not add public-paper fallback retrieval (Semantic Scholar, OpenAlex, Crossref, arXiv scraping, or browser search) when the SciAtlas backend returns no papers or errors. The local literature-review code may still use LLM calls for planning, clustering, and synthesis.3839Configure workflow credentials in `.env` or the shell:4041```bash42SCIATLAS_API_BASE_URL=http://sciatlas.openkg.cn43SCIATLAS_API_KEY=<sciatlas-token>44OPENAI_API_KEY=<llm-key>45OPENAI_BASE_URL=https://api.deepseek.com46LLM_MODEL=deepseek-v4-flash47```4849The workflow also accepts `DMX-API-KEY`, `DMX_API_KEY`, `LLM_API_KEY`, `LLM_BASE_URL`, `LLM_API_URL`, `SEARCH_LLM_API_KEY`, `SEARCH_LLM_API_URL`, and `SEARCH_LLM_MODEL`.5051## Run Plan5253Flash path:5455```bash56python run_sciatlas.py literature-review \57 --query "<topic>" \58 --domain "<optional field>" \59 --workflow flash60```6162Full path:6364```bash65python run_sciatlas.py literature-review \66 --query "<topic>" \67 --domain "<optional field>" \68 --workflow full69```7071Useful overrides:7273- `--top-k N` changes the default SciAtlas search budget.74- `--probe-top-k N` and `--round-top-k N` tune search breadth.75- `--round1-action-limit N` and `--round2-action-limit N` tune query planning.76- `--report-stop-after outline|packs|full` controls report generation depth.77- `--subject-domain general|chemistry|biology` selects prompt constraints.78- `--smoke` runs the mock search path for structure validation.7980Smooth flash defaults when the backend is slow or unstable:8182```bash83python run_sciatlas.py literature-review \84 --query "<topic>" \85 --domain "<optional field>" \86 --workflow flash \87 --probe-top-k 3 \88 --round-top-k 3 \89 --round1-action-limit 1 \90 --llm-paper-limit 12 \91 --report-stop-after packs \92 --workflow-timeout 600 \93 --llm-timeout 120 \94 --outline-timeout 18095```9697Set `SCIATLAS_SEARCH_TIMEOUT` for the per-action hosted `search-papers` timeout. If SciAtlas returns `5xx`, keep the error in artifacts and do not switch to public retrieval.9899## Workflow Modes100101`flash` compresses nonessential stages:102103- smaller probe and round search budgets;104- fewer Round 1 actions and no Round 2 by default;105- query cleaning and relevance guard enabled;106- report generation stops after evidence packs, producing a fast outline/evidence report.107108`full` runs the broader path:109110- larger probe and round search budgets;111- Round 2 refinement enabled;112- KG policy, query cleaning, and relevance guard enabled;113- full formal review drafting and integration.114115## Artifacts To Read116117Read the run directory:118119- `summary.json`: status, workflow mode, subprocess logs, and artifact pointers.120- `report.md`: user-facing review, outline/evidence-pack summary, or full formal review.121- `lr_search/search_result.json`: topic profile, time windows, paper cards, clusters, coverage report, and search actions.122- `lr_search/organized_search_result.json`: deterministic evidence map when generated.123- `lr_review/formal_outline.json`: planned review structure.124- `lr_review/citation_plan.json`, `section_packs/`, `subsection_packs/`: flash evidence packs.125- `lr_review/formal_review.md` and `diagnostic_report.md`: full-mode final outputs.126- `logs/*.txt`: subprocess stdout/stderr when a stage fails.127128In `flash`, a report that stops after `packs` is normal success. Do not rerun full unless the user asks or the evidence is insufficient for their requested depth.129130## Deliverable131132Return:133134- exact command used, with credentials omitted;135- workflow mode and artifact paths;136- concise topic scope;137- 5-12 representative papers or paper groups;138- method/theme clusters and timeline notes;139- review outline or full review summary;140- gaps, caveats, and next SciAtlas queries.141142Keep paper claims tied to artifact titles, clusters, and evidence fields.