AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Arxiv2md

skill-deviesvi-skills-arxiv2md · by DeviesVi

Convert arXiv papers to clean Markdown using the online arxiv2md REST API plus a light cleanup pass. Use when the user wants to read, fetch, convert, inspect, or summarize an arXiv paper without local pandoc, PDFs, source downloads, or a local arxiv2md CLI.

No reviews yet
0 installs
17 views
0.0% view→install

Install

$ agentstack add skill-deviesvi-skills-arxiv2md

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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 Used
  • 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-deviesvi-skills-arxiv2md)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Arxiv2md? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

arxiv2md

Convert arXiv papers to LLM-ready Markdown through the online service at https://arxiv2md.org. The service parses arXiv's native HTML, not PDFs. Do not install or use the local arxiv2md CLI for this skill.

Standard Workflow

  1. Create an output directory for the arXiv ID.
  2. Call the online Markdown endpoint with:
  • frontmatter=true
  • remove_refs=false
  • remove_citations=false
  • remove_toc=true
  1. Save the raw API result as .md.
  2. Run scripts/clean_arxiv2md_markdown.py to produce .cleaned.md.
  3. Return both paths and note remaining conversion artifacts.

Prefer keeping citations. remove_citations=true can leave awkward empty text such as Shor , Steane , and Knill.

REST API

Base URL: https://arxiv2md.org

No auth required. Rate limit: 30 requests/minute.

Recommended Markdown Request

curl "https://arxiv2md.org/api/markdown?url=2501.11120&frontmatter=true&remove_refs=false&remove_citations=false&remove_toc=true"

Returns raw Markdown as plain text.

JSON Metadata

curl "https://arxiv2md.org/api/json?url=2501.11120"

Returns { "arxiv_id", "title", "source_url", "content" }.

Cleanup Script

Use the bundled cleanup script after saving API output:

uv run python \scripts\clean_arxiv2md_markdown.py .\1708.02246.md -o .\1708.02246.cleaned.md

When arxiv2md frontmatter mixes affiliations into the author list, pass corrected values:

uv run python \scripts\clean_arxiv2md_markdown.py .\1708.02246.md -o .\1708.02246.cleaned.md --author "Christopher Chamberland" --author "Michael E. Beverland" --affiliation "Institute for Quantum Computing and Department of Physics and Astronomy, University of Waterloo" --affiliation "Station Q Quantum Architectures and Computation Group, Microsoft Research"

The cleanup pass handles common arxiv2md/ar5iv artifacts:

  • Removes the generated TOC, where math alt-text is often noisy.
  • Fixes duplicated Abstract text.
  • Corrects common ar5iv visual math alt-text around simple inline formulas, including duplicated variables such as v 𝑣 v, hyphenated variables such as distance- d 𝑑 d, and one-variable numeric expressions such as d + 1 𝑑 1 d+1 or d = 5 𝑑 5 d=5.
  • Normalizes ar5iv delimiter fragments that many KaTeX renderers reject, such as \big{(}, \big{)}, \big{\{}, and \big{|}.
  • Converts Figure: ... plus Refer to caption: URL blocks into Markdown images.
  • Repairs double-wrapped display math such as $$ $\displaystyle ...$ (1) $$.
  • Tidies theorem-like headings such as Definition 1 ..
  • Converts definition/proof markers from Markdown headings into bold paragraphs, and removes empty duplicate definition anchors emitted by ar5iv.

Parameters

Use these query parameters for both endpoints unless noted:

| Param | Recommended | Description | | --- | --- | --- | | url | required | arXiv URL or ID, such as 2501.11120v1 or https://arxiv.org/abs/2501.11120 | | remove_refs | false | Keep bibliography/references section | | remove_toc | true | Remove generated table of contents | | remove_citations | false | Keep inline citation text | | frontmatter | true | Prepend YAML metadata, /api/markdown only |

Notes

  • The online service may still emit ar5iv artifacts in figure captions, footnotes, or complex math. Preserve the raw file beside the cleaned file for comparison.
  • The cleanup script intentionally handles only conservative formula artifacts. For complex formulas, inspect the cleaned Markdown against the raw file or arXiv HTML before making semantic corrections.
  • If a paper has broken or missing arXiv HTML, report the API failure and do not fall back to pandoc unless the user asks.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.