Arxiv Doc Builder logo

Arxiv Doc Builder

Community
ultimatile
arxiv-doc-builder

Convert an arXiv paper to Markdown for reading or implementation reference. Use when asked to convert, fetch, or create documentation for an arXiv paper by its ID, or when a paper with a known arXiv ID needs to be read or referenced. Fetches the LaTeX source when available (plus the PDF) and converts it with pandoc; PDF-only papers get a naive single-column fallback.

Overview

Publisherultimatile
Repositoryarxiv-skills
Skill namearxiv-doc-builder
Stars
50
Forks
3
Bundled files
45
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 45 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ultimatile on GitHub. Read the source before you install it.

Installation

Install the Arxiv Doc Builder AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ultimatile/arxiv-skills/tree/main/skills/arxiv-doc-builder
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ultimatile/arxiv-skills.git /tmp/arxiv-skills
mkdir -p .claude/skills
cp -r /tmp/arxiv-skills/skills/arxiv-doc-builder .claude/skills/arxiv-doc-builder
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Arxiv Doc Builder in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Arxiv Doc Builder on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Arxiv Doc Builder is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

arXiv Document Builder

Procedure

  1. Run the converter:

    bash
    # Using global command (recommended)
    convert-paper ARXIV_ID [--output-dir DIR]
    
    # Using script directly
    uv run --project "SKILL_DIR" "SKILL_DIR/arxiv_doc_builder/convert_paper.py" ARXIV_ID [--output-dir DIR]
    • SKILL_DIR: replace with the absolute path of the directory this SKILL.md is in. It is a placeholder, not a shell variable. Keep the double quotes around it, so a path containing spaces stays one argument. The command then runs from any working directory.
    • --output-dir: Directory where {SAFE_ID}/{SAFE_ID}.md will be created. Default: current working directory (not a papers/ subdirectory). {SAFE_ID}, here and below, is ARXIV_ID with / replaced by _, as in hep-th/9711200 → hep-th_9711200. A new-style ID contains no /, so it is used unchanged.
    • Use absolute paths to control output location precisely.

    convert-paper does the metadata lookup, downloads, extraction, and directory creation itself; do not run curl, tar, or mkdir for them.

  2. On success, convert-paper prints the Markdown file's path on its Output: line. The file opens with a YAML frontmatter block of provenance metadata; references/output-format.md documents its fields, including what metadata_status records. The File Organization section of references/output-format.md shows the layout of the paper's directory, {SAFE_ID}/.

When Conversion Fails or Falls Back to PDF

If you edited a file under {SAFE_ID}/source/ and re-ran convert-paper, read references/source-edits.md first and follow it before any line below.

When you made no such edit, or once that file no longer tells you to edit again or re-run, read the file that the line matching the output points to. For an output not listed here, act on what the output itself says.

Whichever file you follow, change the source only as it directs. Do NOT attempt broad preprocessing (replacing documentclass, expanding \newcommand, removing environments, etc.) — pandoc handles revtex4/revtex4-2, custom commands, picture environments, and theorem environments correctly.

  • convert-paper exits with code 2 after printing Error: Found N files with \documentclass → references/multiple-documentclass.md
  • It prints Pandoc conversion failed:, and the pandoc message after it contains unexpected ( or unexpected [ → references/unknown-arity-macros.md
  • It prints Pandoc conversion failed:, and the pandoc message after it contains neither → references/pandoc-failures.md
  • It prints Pandoc did not finish within or Pandoc exceeded the <N> MB memory watchdog, or a pandoc run has not returned → references/pandoc-runaway.md
  • It prints No LaTeX source, falling back to naive PDF conversion... → references/pdf-conversion.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Arxiv Doc Builder AI skill do?

Convert an arXiv paper to Markdown for reading or implementation reference. Use when asked to convert, fetch, or create documentation for an arXiv paper by its ID, or when a paper with a known arXiv ID needs to be read or referenced. Fetches the LaTeX source when available (plus the PDF) and converts it with pandoc; PDF-only papers get a naive single-column fallback.

Why use Arxiv Doc Builder on TypingMind?

Because you install it once and use it with any model. Arxiv Doc Builder is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Arxiv Doc Builder in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ultimatile/arxiv-skills/tree/main/skills/arxiv-doc-builder. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Arxiv Doc Builder?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Arxiv Doc Builder?

As many as you like. As long as a model supports skills, you can use Arxiv Doc Builder with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Arxiv Doc Builder AI skill free?

Yes. It is published on GitHub by ultimatile under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇