Sci Papers Downloder logo

Sci Papers Downloder

Community
alwayswdc
sci-papers-downloder

Search papers from Scopus and then download PDFs by DOI using Unpaywall first, with optional scihub-cli fallback. Includes quantity-aware and latest-aware handling.

Overview

Publisheralwayswdc
Repositorysci-papers-downloder
Skill namesci-papers-downloder
Stars
32
Forks
5
Bundled files
6
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by alwayswdc on GitHub. Read the source before you install it.

Installation

Install the Sci Papers Downloder AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/alwayswdc/sci-papers-downloder/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/alwayswdc/sci-papers-downloder.git \
  .claude/skills/sci-papers-downloder
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sci Papers Downloder in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sci Papers Downloder on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sci Papers Downloder is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

sci papers downloder

Overview

Use this pipeline:

  1. Search Scopus to get metadata (title, DOI, year, source, cited-by).
  2. Download by DOI via Unpaywall first.
  3. If needed, fallback to scihub-cli.

One-time setup (persistent env, no per-command params)

Add credentials to ~/.bashrc:

bash
# >>> sci papers downloder env >>>
export ELSEVIER_API_KEY="<your_elsevier_key>"
export UNPAYWALL_EMAIL="<your_unpaywall_email>"
# <<< sci papers downloder env <<<

For login/non-interactive shells (e.g. bash -lc), keep the same block in ~/.profile.

Apply now:

bash
source ~/.bashrc
source ~/.profile

Optional but recommended:

bash
uv tool install git+https://github.com/Oxidane-bot/scihub-cli.git

Intent mapping: quantity + freshness

This section is the no-context deterministic policy for other agents.

Quantity mapping (Chinese wording)

  • "几篇" / "一些" / "几篇就行" -> --quantity-mode few (target 5)
  • "一批" / "批量" -> --quantity-mode batch (target 20)
  • "尽可能多" / "越多越好" -> --quantity-mode max (high caps, bounded runtime)
  • explicit number (e.g. "12 篇") -> --target 12 (overrides quantity mode)
  • if quantity is not mentioned -> default --quantity-mode batch

Freshness mapping (latest papers)

  • "最新" / "近几年" / "最近" -> add --latest
    • auto adds year filter: last 3 years by default
    • auto switches sort to -coverDate
  • "最近 N 年" -> --latest --years-back N
  • explicit lower year (e.g. "2023年以来") -> --from-year 2023

Combination rules

  • "最新一批" -> --quantity-mode batch --latest
  • "最新一些" -> --quantity-mode few --latest
  • "最新尽可能多" -> --quantity-mode max --latest
  • explicit number + latest (e.g. "最新 8 篇") -> --target 8 --latest

Priority rules (must follow)

  1. explicit number (--target) > quantity keywords
  2. explicit year (--from-year) > years-back
  3. latest keyword implies date-first ranking (-coverDate)
  4. if latest is requested and no year is given, use 3-year window

Recommended command (end-to-end)

Use scripts/topic_batch_download.py for search + download in one step.

Standard batch

bash
python3 scripts/topic_batch_download.py --keywords "pedestrian simulation" --quantity-mode batch --outdir ./downloads

Latest batch (recommended for "最新")

bash
python3 scripts/topic_batch_download.py --keywords "pedestrian simulation" --quantity-mode batch --latest --outdir ./downloads

Latest with explicit window

bash
python3 scripts/topic_batch_download.py --keywords "pedestrian simulation" --quantity-mode batch --latest --years-back 2 --outdir ./downloads
python3 scripts/topic_batch_download.py --keywords "pedestrian simulation" --quantity-mode batch --from-year 2023 --outdir ./downloads

Explicit count

bash
python3 scripts/topic_batch_download.py --keywords "pedestrian simulation" --target 12 --latest --outdir ./downloads

Alternative split workflow

Search only

bash
python3 scripts/search_scopus.py --keywords "pedestrian evacuation simulation" --count 20 --sort=-citedby-count
python3 scripts/search_scopus.py --query 'TITLE-ABS-KEY("pedestrian simulation") AND PUBYEAR > 2022' --count 20 --sort=-coverDate

Download by DOI only

bash
python3 scripts/download_open_access.py --doi "10.2307/2392994" --outdir ./downloads --scihub-fallback auto
python3 scripts/download_open_access.py --doi-file ./dois.txt --outdir ./downloads --scihub-fallback auto

Fallback command resolution

download_open_access.py chooses fallback command in order:

  1. --scihub-cmd
  2. local scihub-cli in PATH
  3. uvx --from git+https://github.com/Oxidane-bot/scihub-cli.git scihub-cli

Output contract

Include:

  • query + sort + year filter (from_year)
  • total hits + scanned entries + candidate DOI count
  • attempted DOI count + downloaded count
  • per DOI status/method/path/error

Resources

  • scripts/search_scopus.py: Scopus query + metadata extraction
  • scripts/download_open_access.py: Unpaywall + fallback downloader
  • scripts/topic_batch_download.py: quantity-aware and latest-aware end-to-end runner

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Sci Papers Downloder AI skill do?

Search papers from Scopus and then download PDFs by DOI using Unpaywall first, with optional scihub-cli fallback. Includes quantity-aware and latest-aware handling.

Why use Sci Papers Downloder on TypingMind?

Because you install it once and use it with any model. Sci Papers Downloder is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sci Papers Downloder in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/alwayswdc/sci-papers-downloder/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Sci Papers Downloder?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sci Papers Downloder?

As many as you like. As long as a model supports skills, you can use Sci Papers Downloder with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sci Papers Downloder AI skill free?

Yes. It is published on GitHub by alwayswdc under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇