pdf-to-markdown

pdf-to-markdown is a skill for Claude Code, Codex from hdu-ailab/EasyResearch. It costs 128 tokens per session (1,249 once invoked), scanned A, original, MIT.

A document converter that turns research PDFs into Markdown, a plain-text format that is easier for coding agents to read.

In plain words
What is it for?
It helps convert accessible papers for research analysis, paper notes, surveys, component extraction, experiments, and citation checking.
Why use it?
It makes paper contents available as searchable text without requiring agents to interpret the PDF layout directly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps convert accessible papers for research analysis, paper notes, surveys, component extraction, experiments, and citation checking.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hdu-ailab/easyresearch/pdf-to-markdown
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hdu-ailab/EasyResearch --skill pdf-to-markdown
Clone the repo
git clone --depth 1 https://github.com/hdu-ailab/EasyResearch

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pdf-to-markdown

README.md
[![agentmods](https://agentmods.dev/badge/skills/hdu-ailab/easyresearch/pdf-to-markdown/github.svg)](https://agentmods.dev/skills/hdu-ailab/easyresearch/pdf-to-markdown)
Your own site
<a href="https://agentmods.dev/skills/hdu-ailab/easyresearch/pdf-to-markdown"><img src="https://agentmods.dev/badge/skills/hdu-ailab/easyresearch/pdf-to-markdown/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pdf-to-markdown

Your own site · 80×15
<a href="https://agentmods.dev/skills/hdu-ailab/easyresearch/pdf-to-markdown"><img src="https://agentmods.dev/badge/skills/hdu-ailab/easyresearch/pdf-to-markdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,249 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 124
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00128 $0.01249
Opus 5 $0.00064 $0.00624
Sonnet 5 $0.00026 $0.00250
Haiku 4.5 $0.00013 $0.00125

Measured 10d ago against content hash 834485801fa9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

pdf-to-markdown scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/skills/pdf-to-markdown/SKILL.md · 155 lines

How it starts

The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PDF To Markdown

Tool

Use the MarkItDown CLI from the EasyResearch skill venv (created by first-run setup, never by npm install):

$EASYRESEARCH_VENV/bin/markitdown input.pdf -o output.md

On Windows the venv layout differs — use:

$markitdown = Join-Path $env:EASYRESEARCH_VENV 'Scripts\markitdown.exe'
& $markitdown input.pdf -o output.md

If $EASYRESEARCH_VENV is unset or the binary is missing, fall back to markitdown on PATH. Verify with:

echo $EASYRESEARCH_VENV
$EASYRESEARCH_VENV/bin/markitdown --help

PowerShell verification on Windows:

$env:EASYRESEARCH_VENV
& (Join-Path $env:EASYRESEARCH_VENV 'Scripts\markitdown.exe') --help

When To Use

Use MarkItDown when:

  • A research paper PDF must be converted into Markdown for agent reading.
  • The project workflow needs ref_papers/pdf/ converted into ref_papers/text/.
  • The PDF is public, user-provided, or otherwise legally accessible.
  • The converted text will be used for paper-material-package, survey writing, component extraction, experiments, or citation verification.

Do not use it to bypass paywalls, login walls, captcha, DRM, or institutional access restrictions.

Standard Research Workflow

For paper projects rooted at the exact session cwd:

ref_papers/
  pdf/
  text/
  source.json

Convert one PDF:

$EASYRESEARCH_VENV/bin/markitdown ref_papers/pdf/paper.pdf -o ref_papers/text/paper.md

Batch conversion pattern:

for pdf in ref_papers/pdf/*.pdf; do
  name=$(basename "$pdf" .pdf)
  "$EASYRESEARCH_VENV/bin/markitdown" "$pdf" -o "ref_papers/text/$name.md"
done

Native Windows PowerShell batch conversion:

$markitdown = Join-Path $env:EASYRESEARCH_VENV 'Scripts\markitdown.exe'
Get-ChildItem -LiteralPath 'ref_papers\pdf' -Filter '*.pdf' | ForEach-Object {
  $output = Join-Path 'ref_papers\text' ($_.BaseName + '.md')
  & $markitdown $_.FullName -o $output
}

Follow a different existing user layout only when the dispatch explicitly supplies it.

Read the full file on GitHub · 155 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 155 lines · 128 tokens per session scan A 834485801fa9

Subscribe to this mod's changes

pdf-to-markdown is a skill published in the GitHub repository hdu-ailab/EasyResearch (13 stars, last pushed yesterday), licensed MIT. It adds 128 tokens to every session and 1,249 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

overleaf

Sync and manage Overleaf LaTeX projects from the command line. Pull projects locally, push changes back, compile PDFs, and download compile outputs like .bbl files for arXiv submissions. Use when working with LaTeX, Overleaf, academic papers, or arXiv.

aloth/olcli · 62 tokens

review-paper

Review an attached academic economics paper PDF with independent specialist audits and a complete evidence-grounded report, resume an interrupted paper review, or export a completed Reviewer report as PDF. Not for a summary, a rewrite, or proofreading alone.

Ingar30/reviewer · 49 tokens

alterlab-treatment-plans

Generates concise (3-4 page), focused medical treatment plans in LaTeX/PDF format across all clinical specialties — general medical treatment, rehabilitation therapy, mental health care, chronic disease management, perioperative care, and pain management — using SMART goal frameworks, evidence-based interventions with…

AlterLab-IEU/AlterLab-Academic-Skills · 107 tokens

alterlab-open-notebook

Run Open Notebook, a self-hosted open-source alternative to Google NotebookLM with a full REST API, for AI-powered research and document analysis. Use when organizing research materials into notebooks, ingesting diverse content sources (PDFs, videos, audio, web pages, Office documents), generating AI-powered notes and…

AlterLab-IEU/AlterLab-Academic-Skills · 173 tokens

alterlab-pdf-explore

Explore a single PDF in depth — parse it once, then answer questions across its sections, figures, tables, and appendices — comparing methods across sections, extracting every instance of a pattern within the document, and reading values off its charts and tables. Use when interrogating one paper or report end-to-end…

AlterLab-IEU/AlterLab-Academic-Skills · 150 tokens

alterlab-markitdown

Convert files and Office documents to clean, LLM-friendly Markdown with Microsoft MarkItDown (markitdown CLI/Python), supporting PDF, DOCX, PPTX, XLSX, images (EXIF + OCR), audio (transcription), HTML, CSV, JSON, XML, ZIP archives, EPUB e-books, and YouTube transcript URLs, with optional AI image descriptions. Use…

AlterLab-IEU/AlterLab-Academic-Skills · 147 tokens