Paper Siphonのロゴ

Paper Siphon

コミュニティ
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.

概要

公開者mrshu
リポジトリagent-skills
スキル名paper-siphon
スター
22
フォーク
5
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    mrshuがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Paper Siphon」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/mrshu/agent-skills/tree/main/plugins/paper-siphon/skills/paper-siphon
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでPaper Siphonを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にPaper Siphonを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Paper Siphonは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

よくある質問

AIスキル「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.

TypingMindでPaper Siphonを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Paper Siphonはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにPaper Siphonをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/mrshu/agent-skills/tree/main/plugins/paper-siphon/skills/paper-siphonを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Paper Siphonを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Paper Siphonで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもPaper Siphonを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Paper Siphon」は無料ですか?

mrshuがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇