zjunlp / sciatlas-literature-review
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.
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-revieworpython run_sciatlas.py literature-reviewfor this skill. - Own the end-to-end novice flow: install or locate the CLI, guide registration, configure
.envor 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 flashby default for interactive work. - Use
--workflow fullwhen 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 -hIf 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 ./sciatlasandpython -m pip install -r requirements-workflows.txt. Do not use the GitHub#subdirectory=sciatlaspackage-only installation for this workflow. - Check current environment and
.envforSCIATLAS_API_KEYand 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 returnedsciatlas_xxxtoken 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
.envyourself, 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-flashThe 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 flashFull path:
python run_sciatlas.py literature-review \
--query "<topic>" \
--domain "<optional field>" \
--workflow fullUseful overrides:
--top-k Nchanges the default SciAtlas search budget.--probe-top-k Nand--round-top-k Ntune search breadth.--round1-action-limit Nand--round2-action-limit Ntune query planning.--report-stop-after outline|packs|fullcontrols report generation depth.--subject-domain general|chemistry|biologyselects prompt constraints.--smokeruns 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 180Set 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.mdanddiagnostic_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.