Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add dsebastien/ai-skill-arxiv --skill arxiv-analyzegit clone --depth 1 https://github.com/dsebastien/ai-skill-arxivWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dsebastien/ai-skill-arxiv/arxiv-analyze)<a href="https://agentmods.dev/skills/dsebastien/ai-skill-arxiv/arxiv-analyze"><img src="https://agentmods.dev/badge/skills/dsebastien/ai-skill-arxiv/arxiv-analyze/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dsebastien/ai-skill-arxiv/arxiv-analyze"><img src="https://agentmods.dev/badge/skills/dsebastien/ai-skill-arxiv/arxiv-analyze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00107 | $0.01591 |
| Opus 5.5 | $0.00043 | $0.00636 |
| Sonnet 5.5 | $0.00021 | $0.00318 |
| Haiku 4.5 | $0.00011 | $0.00159 |
Grade A, and why
arxiv-analyze scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
arXiv Analyze
Fetch an arXiv paper in the most token-efficient format available, then analyze it.
Fallback chain
The fetcher script tries formats in order of quality and token efficiency:
- arxiv2md (markdown) — cleanest, LaTeX math preserved, refs/TOC/citations stripped by default; rate-limited client-side to 28 req/min
- arxiv.org/html — official HTML, can be auto-converted to markdown
- ar5iv — arXiv Labs HTML renderer, broader coverage for older papers
- arxiv.org/pdf — last resort; URL returned, load with your PDF reader of choice
Opt-in tier 5: TeX source (--tier tex) — downloads arxiv.org/src/<id> (the original submitted tarball), extracts it to the cache, auto-detects the main entrypoint (main.tex / \documentclass / largest .tex), and recursively flattens all \input/\include/\import/\subimport directives. This is the canonical ground truth: available for every paper (even those without HTML renderings), equations are pristine, no third-party dependency. Use it when the paper is math-heavy, when rendered tiers fail, or when you need bibliography entries. Token cost is higher than markdown — prefer auto-tier for most reads.
Disk cache
Fetched content is cached at $XDG_CACHE_HOME/ai-skill-arxiv/<arxiv_id>/ (defaults to ~/.cache/ai-skill-arxiv/<arxiv_id>/). Subsequent fetches of the same paper + tier are instant and offline-safe. Re-reads cost zero network and zero rate-limit budget.
Structure:
~/.cache/ai-skill-arxiv/2501.11120/
├── markdown.md # arxiv2md output
├── arxiv.html # arxiv.org/html
├── ar5iv.html # ar5iv
├── src.tar.gz # TeX source tarball (only if --tier tex was used)
└── tex/ # Extracted TeX source tree
├── main.tex
└── ...
Control:
python3 scripts/arxiv_fetch.py <id> --no-cache # skip cache read, still write
python3 scripts/arxiv_fetch.py --cache-clear <id> # wipe cache for one paper
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 124 lines · 107 tokens per session scan A 638aaacebc6f
arxiv-analyze is a skill published in the GitHub repository dsebastien/ai-skill-arxiv (7 stars, last pushed 6mo ago), licensed MIT. It adds 107 tokens to every session and 1,591 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
arxiv-analyze compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| arxiv-analyzedsebastien/ai-skill-arxiv | Skill | 7 | 6mo ago | MIT | A | 107 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 35k | 2d ago | Apache-2.0 | A | 123 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 83 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 44 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 71 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 33k | yesterday | MIT | A | 43 | Claude Code, Codex |
| mapping-to-snomedmaziyarpanahi/openmed | Skill | 5.8k | yesterday | Apache-2.0 | A | 205 | Claude Code |