Install
$ agentstack add skill-yhbcode000-paper-share-skills-paper-download-arxiv-paper-source ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Download arXiv Paper TeX Source
Given an arXiv link or bare arXiv ID, download the paper's TeX source from https://arxiv.org/e-print/ and unpack it for downstream pipelines. This is the required first step whenever the user provides an arXiv link and the TeX source (not just the PDF) should feed the pipeline — TeX source preserves tables, equations, and figures exactly and skips MinerU.
When to use
- User supplies an arXiv URL (
arxiv.org/abs/…,arxiv.org/pdf/…,
arxiv.org/e-print/…, export.arxiv.org/…) or a bare ID (2509.07996, 2509.07996v4) as the input to any paper pipeline.
- A consumer skill needs the paper source on disk (
paper_src/) but only has
an arXiv reference.
Invocation
uv run --no-project python \
"/paper-download-arxiv-paper-source/scripts/download_source.py" \
"" [--output DIR] [--force]
--outputdefaults to the session cwd.--forcere-downloads even if the archive already exists.
Output contract
Under the output dir:
arXiv-.tar.gz— downloaded e-print archive (gzip/tar).paper_src/— extracted TeX source (flattened if the archive wraps in a
single top-level directory; unsafe members are rejected).
- PDF-only submissions (no TeX source on arXiv):
arXiv-.pdfinstead. - Single-file TeX submissions:
arXiv-.texinstead.
On success stdout ends with TEX_SOURCES: (or PDF_ONLY: ). Consume these lines — never guess file names.
Idempotency
Re-running with the same ID in the same output dir skips the download (stdout starts SKIP) unless --force is given; extraction is still verified.
Failure
Nonzero exit + ERROR: message on stderr (parse failure, network failure, empty body, unexpected payload, unsafe archive member, no .tex in archive). The pipeline must stop and report — never silently fall back to the PDF.
Fallback note
If the script reports PDF_ONLY: , the paper has no TeX source on arXiv. Consumers then use that PDF with the MinerU path (e.g. paper-to-beamer Phase 2's DECISION GATE) instead of reading TeX.
Consumed by
paper-to-beamerPhase 1 (arXiv link/ID input)paper-to-bilibilislides mode (entries witharxiv_id, no local source)paper-venue-discoverystep 1 (fetch source when only a link is given)
Related skills
- skill://paper-to-beamer
- skill://paper-to-bilibili
- skill://paper-venue-discovery
- skill://paper-to-beamer-workflow
- skill://paper-bilibili-multi-part-series-upload
- skill://paper-bilibili-series-upload
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: yhbcode000
- Source: yhbcode000/paper-share-skills
- License: Apache-2.0
- Homepage: https://blog.yhbcode000.tech/paper-share-skills/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.