paper-ocr-notes-pipeline

paper-ocr-notes-pipeline is a skill for Claude Code, Codex from tokenbender/agent-guides. It costs 31 tokens per session (1,549 once invoked), scanned A, original, Apache-2.0.

A workflow for turning a research paper in PDF or at a URL into checked text and teaching notes. OCR, or optical character recognition, reads text from scanned or image-based pages.

In plain words
What is it for?
It helps ingest papers, preserve source links or PDFs, create OCR output and comparison reports, and produce a self-contained notes package.
Why use it?
It keeps the source, extracted text, notes, and processing history together. This makes it easier to check where claims came from and correct recognition errors.

Skill for Claude CodeCodex

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

Good fit It helps ingest papers, preserve source links or PDFs, create OCR output and comparison reports, and produce a self-contained notes package.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tokenbender/agent-guides/paper-ocr-notes-pipeline
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 tokenbender/agent-guides --skill paper-ocr-notes-pipeline
Clone the repo
git clone --depth 1 https://github.com/tokenbender/agent-guides

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 paper-ocr-notes-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/tokenbender/agent-guides/paper-ocr-notes-pipeline.svg)](https://agentmods.dev/skills/tokenbender/agent-guides/paper-ocr-notes-pipeline)
Your own site
<a href="https://agentmods.dev/skills/tokenbender/agent-guides/paper-ocr-notes-pipeline"><img src="https://agentmods.dev/badge/skills/tokenbender/agent-guides/paper-ocr-notes-pipeline.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,549 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.
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.00031 $0.01549
Opus 5 $0.00015 $0.00775
Sonnet 5 $0.00006 $0.00310
Haiku 4.5 $0.00003 $0.00155

Measured 7d ago against content hash 57891a2e32d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

paper-ocr-notes-pipeline 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 7d 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.

claude-skills/paper-ocr-notes-pipeline/SKILL.md · 211 lines

How it starts

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

Paper OCR Notes Pipeline

This skill is a reusable policy for paper ingestion and note production. It must stay self-contained and work in any workspace.

Do not require any companion README.md or local notes file to run this workflow. If one exists, treat it only as supplemental context.

Objective

Generate a self-contained notes package from a paper source while preserving provenance, factual grounding, OCR quality, and teachability.

Inputs

  • One of: a PDF path, a paper URL, or an arXiv abs URL.
  • Optional: preferred folder slug.
  • Optional: output root directory.

Output Root Resolution

Use this priority order:

  1. If the user provides an output root, use it.
  2. Else create and use ./papers-articles in the current working directory.

Output Contract

Create a dedicated folder:

<output-root>/<paper-slug>/

Required files:

  • source file: <paper>.pdf or link.txt for URL-only sources,
  • notes.md as the primary deliverable,
  • README.md as a paper-local artifact and provenance index,
  • <paper>.ocr.feedback-loop.txt as the final OCR output,
  • <paper>.ocr.feedback-loop-comparison.md as the OCR replacement report.

notes.md must be sufficient for a new reader to learn the paper without opening extra files.

Canonical Notes Sections

Use these headings in order:

  1. # <Paper Title>
  2. ## TL;DR
  3. ## Beginner's Guide
  4. ## Paper Summary
  5. ## Deep Dive
  6. ## Critical Analysis
  7. ## Learning Path
  8. ## Key Equations Summary
  9. ## References

Nested Skills

  • Use pdf-ocr-feedback for pagewise OCR refinement.
  • Use technical-writing-workflow while drafting and revising notes.md.

Core Principles

  1. Reader intuition comes before technical detail.
  2. Do not blur distinct concepts.
  3. Evidence-first writing: claims point to table, figure, section, or page evidence.
  4. Revision is mandatory.
  5. Identity verification is mandatory before trusting extracted content.
  6. Uncertainty and limitations must be stated explicitly.

Read the full file on GitHub · 211 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. 7d ago First seen · 211 lines · 31 tokens per session scan A 57891a2e32d3

Subscribe to this mod's changes

paper-ocr-notes-pipeline is a skill published in the GitHub repository tokenbender/agent-guides (368 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 31 tokens to every session and 1,549 once invoked, about $0.0002 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.