Skip to content
Content
Command

/paper-trail-cascade

Acquire PDFs via the 8-source cascade (11 with opt-in extended sources) for a single ref by slug, or a batch filtered by state. Validates page 1 anti-homonymy on each download.

From plugin
paper-trail
622 skills6 agents22 commands3 hooks
$ npx -y skills add roomi-fields/paper-trail --agent claude-code

Command definition

paper-trail-cascade.md
description: Acquire PDFs via the 8-source cascade (11 with opt-in extended sources) for a single ref by slug, or a batch filtered by state. Validates page 1 anti-homonymy on each download.

`/paper-trail:cascade` — Run the PDF acquisition cascade

Invoke the `pdf-cascade` skill to push refs through the FSM via the strict acquisition cascade.

Usage

/paper-trail:cascade <slug>                # one ref by slug
/paper-trail:cascade --state candidate     # batch by state
/paper-trail:cascade --state candidate --limit 20
/paper-trail:cascade --ref <slug> --dry-run

What it does

1. Parses the argument (slug, `--state X`, optional `--limit N`, `--dry-run`, `--cited-in <SOTA_name>`) 2. Invokes the worker B :

   python -m pipeline run <args>

3. Reports session recap : `planned / done / pending / blocked / skipped_terminal` 4. Each acquired PDF is validated page 1 anti-homonymy automatically before being accepted 5. Doctor runs at the end (unless `--no-doctor`) to flag any new invariant violation

Shadow libraries

By default, the cascade has 10 sources (no Sci-Hub, no Anna's Archive). To enable shadow libs for this session (cf. `DISCLAIMER.md`) :

export RESEARCH_ENABLE_SHADOW_LIBS=1
/paper-trail:cascade --state candidate --limit 10

The cascade then has 15 sources — 17 with the browser routes available as well (Playwright + a display, see `docs/ACQUISITION_HEADFUL.md`). A disclaimer prints to stderr at the first cascade load of the session.

Output trace

Every attempt is logged in the registry under `acquisition_attempts[]` :

acquisition_attempts:
  - n: 1
    source: crossref_oa
    verdict: no_source
    reason: no_doi
  - n: 2
    source: arxiv
    verdict: success
    pdf_path: 13_Biblio_Maths/Sources/Smith_2020.pdf
    pdf_sha256: a3f5...

Use `/paper-trail:status` to see overall registry state, or `/paper-trail:doctor` to verify post-cascade consistency.

Read more
@roomi-fields
Ships withpaper-trail

Anti-hallucination plugin for academic research in Claude Code. Create literature reviews and papers guaranteed without fabricated citations.

66 skills6 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
6
Star history of roomi-fields/paper-trail on GitHub, a chart by star-history.com

Other commands on paper-trail.

paper-trail-acquire

paper-trail-acquire

Command

Troisième passe du pipeline cible refondu. Lance la cascade PDF (10 sources : Crossref OA + arXiv + OpenAlex + Unpaywall + HAL +…

paper-trail-decide

paper-trail-decide

Command

Inspect a single reference in detail (identity, PDF status, acquisition history with verdicts, citation context in vault, state…

paper-trail-doctor

paper-trail-doctor

Command

Audit the registry via the 19 mechanical invariants (I1-I19). Reports ERROR/WARN/INFO violations. Optional auto-fix for safe ones…

More commands from other plugins.