arxiv-html
Convert any arxiv URL (abs, pdf, versioned) to HTML format for better parsing. Use when you encounter arxiv.org URLs that need to be fetched or read.
When & Why to Use This Skill
The arxiv-html skill is a specialized utility designed to convert ArXiv URLs—including abstract, PDF, and versioned links—into a clean HTML format. This transformation is optimized for AI parsing, allowing agents to read and extract information from academic papers more accurately than traditional PDF processing, thereby streamlining the research and data extraction process.
Use Cases
- Case 1: Converting ArXiv PDF links to HTML to enable more accurate summarization and content extraction by AI agents.
- Case 2: Automating literature reviews by transforming multiple ArXiv citations into a parseable format for data synthesis.
- Case 3: Handling versioned research papers (e.g., v1, v2) to ensure the agent fetches the specific iteration required for analysis.
- Case 4: Improving the accessibility of scientific data by bypassing complex PDF layouts in favor of structured web content.
| name | arxiv-html |
|---|---|
| description | Convert any arxiv URL (abs, pdf, versioned) to HTML format for better parsing. Use when you encounter arxiv.org URLs that need to be fetched or read. |
| allowed-tools | Bash(python3:*) |
ArXiv URL to HTML Conversion
When to Use
Use this whenever you see an arxiv URL and need to fetch or parse its content. The HTML version is much better for content extraction than PDF.
How to Convert
Run the conversion script:
python3 ~/.claude/skills/arxiv-html/convert.py "URL"
Conversion Rules
| Input Format | Example | Output |
|---|---|---|
| abs | arxiv.org/abs/2401.12345 |
arxiv.org/html/2401.12345 |
arxiv.org/pdf/2401.12345.pdf |
arxiv.org/html/2401.12345 |
|
| versioned | arxiv.org/abs/2401.12345v2 |
arxiv.org/html/2401.12345v2 |
Version Handling
- If URL has version (v1, v2, etc.), preserve it
- If no version, get latest (no version suffix)
Fallback Behavior
- Try HTML URL first (best for parsing)
- If HTML returns 404 or fails, use abs URL instead (older papers may not have HTML)