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.
npx skills add tokenbender/agent-guides --skill paper-ocr-notes-pipelinegit clone --depth 1 https://github.com/tokenbender/agent-guidesWrote 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.
[](https://agentmods.dev/skills/tokenbender/agent-guides/paper-ocr-notes-pipeline)<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>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.
| Model | Per session | Once 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 |
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.
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:
- If the user provides an output root, use it.
- Else create and use
./papers-articlesin the current working directory.
Output Contract
Create a dedicated folder:
<output-root>/<paper-slug>/
Required files:
- source file:
<paper>.pdforlink.txtfor URL-only sources, notes.mdas the primary deliverable,README.mdas a paper-local artifact and provenance index,<paper>.ocr.feedback-loop.txtas the final OCR output,<paper>.ocr.feedback-loop-comparison.mdas 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:
# <Paper Title>## TL;DR## Beginner's Guide## Paper Summary## Deep Dive## Critical Analysis## Learning Path## Key Equations Summary## References
Nested Skills
- Use
pdf-ocr-feedbackfor pagewise OCR refinement. - Use
technical-writing-workflowwhile drafting and revisingnotes.md.
Core Principles
- Reader intuition comes before technical detail.
- Do not blur distinct concepts.
- Evidence-first writing: claims point to table, figure, section, or page evidence.
- Revision is mandatory.
- Identity verification is mandatory before trusting extracted content.
- Uncertainty and limitations must be stated explicitly.
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.
- 7d ago First seen · 211 lines · 31 tokens per session scan A 57891a2e32d3
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.
Other skills, from other repositories
pydicom
Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.
foundry-hosted-agent-validation
Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.
pdf-extract-create-workflow
Complete PDF lifecycle: download, extract, and generate structured documents with reportlab.
document-direct-python
Use direct Python execution for reliable document creation including spreadsheets, PDFs, and structured reports.
pdf-verification-cli
Verify PDF page count and content using command-line tools when Python libraries unavailable.