Paper Siphon logo

Paper Siphon

Community
mrshu
paper-siphon

Convert academic PDFs to clean Markdown. Use whenever you encounter a PDF paper (local file or URL) that needs to be read, analyzed, or referenced as text.

Overview

Publishermrshu
Repositoryagent-skills
Skill namepaper-siphon
Stars
22
Forks
5
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

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

Installation

Install the Paper Siphon 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/mrshu/agent-skills/tree/main/plugins/paper-siphon/skills/paper-siphon
  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/mrshu/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/plugins/paper-siphon/skills/paper-siphon .claude/skills/paper-siphon
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Paper Siphon 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 Paper Siphon 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 Paper Siphon 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.

Paper Siphon — PDF to Markdown

Convert academic PDFs into clean Markdown using paper-siphon. Runs via uvx — no installation needed.

Quick Start

bash
# Local PDF
uvx paper-siphon paper.pdf

# Remote PDF (e.g. arXiv)
uvx paper-siphon https://arxiv.org/pdf/1706.03762.pdf

# Custom output path
uvx paper-siphon paper.pdf -o paper-notes.md

By default, output is written to the same filename with a .md extension (e.g. paper.pdf → paper.md).

Choosing the Right Extraction Approach

Paper Siphon has multiple extraction pipelines. Pick the right one based on the paper's complexity.

Default pipeline (Docling-based)

Best for: most papers — standard single/double-column text, simple tables, no heavy math.

bash
uvx paper-siphon paper.pdf

This is the fastest option. It uses Docling to parse PDF structure, strips margin line numbers (common in journal proofs), and normalizes whitespace. Start here — it handles the majority of papers well.

VLM pipeline (--vlm)

Best for: papers with complex layouts — multi-column figures interleaved with text, unusual formatting, scanned documents, or when the default pipeline produces garbled output.

bash
uvx paper-siphon --vlm paper.pdf

This uses a vision-language model to interpret page images directly. It is significantly slower but handles visual complexity that pure text extraction misses. Use this when:

  • The default output has mangled paragraphs or missing sections
  • The paper has complex figure/table/text interleaving
  • The PDF is a scan rather than born-digital

On Apple Silicon (M-series), this automatically uses MLX acceleration. To disable it:

bash
uvx paper-siphon --vlm --no-mlx paper.pdf

To use the VLM pipeline with MLX dependencies explicitly included:

bash
uvx --with 'paper-siphon[mlx]' paper-siphon --vlm paper.pdf

Formula enrichment (--enrich-formula)

Best for: nudging the default pipeline's math when you want to stay on the fast text-extraction path.

bash
uvx paper-siphon --enrich-formula paper.pdf

This post-processes the default pipeline's extracted math expressions for better fidelity. Warning: resource-intensive — only enable when the paper's math content is important for the task at hand.

For genuinely math-heavy papers, prefer --vlm. In our backend benchmark the default (Docling) pipeline frequently drops display equations (emitting formula-not-decoded), scoring far lower on math than the VLM backends, which read equations off the page image as LaTeX. --enrich-formula improves the default path but does not close that gap.

Decision guide

Paper typeCommand
Standard text-heavy paperuvx paper-siphon paper.pdf
Complex layout / scanned PDFuvx paper-siphon --vlm paper.pdf
Math-heavy paperuvx paper-siphon --vlm paper.pdf
Math-heavy, staying on the fast pathuvx paper-siphon --enrich-formula paper.pdf

Rule of thumb: try the default pipeline first. Escalate to --vlm if the output is garbled or incomplete, or if the paper is math-heavy.

CLI Reference

uvx paper-siphon [OPTIONS] INPUT
OptionDescription
INPUTPath to a local PDF file, or a URL pointing directly to a PDF
-o, --output PATHCustom output file path (default: input filename with .md extension)
--vlmUse vision-language model pipeline for complex layouts
--mlx / --no-mlxEnable/disable Apple Silicon MLX acceleration (default: enabled when available)
--enrich-formulaEnrich mathematical expressions (resource-intensive)
-v, --verboseEnable detailed debug logging

Input Formats

  • Local PDF files: uvx paper-siphon ./downloads/paper.pdf
  • Remote URLs: uvx paper-siphon https://arxiv.org/pdf/1706.03762.pdf

For arXiv, use the /pdf/ URL (not /abs/). For example:

  • Correct: https://arxiv.org/pdf/1706.03762.pdf
  • Wrong: https://arxiv.org/abs/1706.03762

Common Workflows

Download and read a paper someone linked

  1. Extract the PDF:
    bash
    uvx paper-siphon https://arxiv.org/pdf/1706.03762.pdf -o attention.md
  2. Read the resulting Markdown file to answer questions or summarize.

Batch-convert a folder of PDFs

bash
for f in papers/*.pdf; do uvx paper-siphon "$f"; done

Combine with scholar-search

  1. Find a paper with scholar-search skill
  2. Get the PDF URL from the search results (look for arXiv or open-access links)
  3. Convert to Markdown:
    bash
    uvx paper-siphon https://arxiv.org/pdf/<id>.pdf -o paper.md

Frequently asked questions

What does the Paper Siphon AI skill do?

Convert academic PDFs to clean Markdown. Use whenever you encounter a PDF paper (local file or URL) that needs to be read, analyzed, or referenced as text.

Why use Paper Siphon on TypingMind?

Because you install it once and use it with any model. Paper Siphon 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 Paper Siphon in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mrshu/agent-skills/tree/main/plugins/paper-siphon/skills/paper-siphon. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Paper Siphon?

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 Paper Siphon?

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

Is the Paper Siphon AI skill free?

It is published on GitHub by mrshu. Check the repository for licensing terms. 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 👇