pdf-reader SKILL.md skillA

pdf-reader from kocoro-lab/kocoro is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kocoro-lab/kocoro/pdf-reader@git:20260410.b8e38fa

Pins git:20260410.b8e38fa in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
kocoro-lab/kocoro
Path
internal/skills/bundled/skills/pdf-reader/SKILL.md
Versions recorded
1
Latest version
git:20260410.b8e38fa, committed Apr 10, 2026
Size
1,930 bytes
Repository stars
415
License
MIT

Analyze PDF files attached by the user. Activates automatically when user uploads a PDF. Handles both text-based and scanned/image-based PDFs using file_read's built-in PDF rendering.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# PDF Reader

Analyze PDF files using the `file_read` tool which natively supports PDF rendering.

## How file_read handles PDFs

- `file_read` with a `.pdf` path renders pages as images for vision analysis
- Parameters: `offset` = start page (0-based), `limit` = max pages (default 5)
- Each page is rendered at 144 DPI, resized to 1568px max dimension
- Returns image blocks that you can analyze with vision

## Workflow

1. **Read the PDF**: Call `file_read` with the PDF path. It will render pages as images automatically.
   ```json
   {"path": "/path/to/file.pdf"}
   ```

2. **For multi-page PDFs**: Read in batches using offset and limit.
   ```json
   {"path": "/path/to/file.pdf", "offset": 5, "limit": 5}
   ```

3. **Analyze the content**: The rendered pages come back as images. Describe what you see — text, tables, charts, forms, signatures, stamps, etc.

4. **Extract text if needed**: For text-heavy PDFs where you need exact content, use bash with python:
   ```bash
   python3 -c "
   import subprocess
   subprocess.check_call(['pip3', 'install', 'pymupdf', '-q'])
   import fitz
   doc = fitz.open('/path/to/file.pdf')
   for i, page in enumerate(doc):
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kocoro-lab/kocoro/pdf-reader@sha256:59361e9e18575566

The line at the top of this page pins the label git:20260410.b8e38fa, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_avbyfmc6p43hpgv4.svg)](https://markdownregistry.com/a/art_avbyfmc6p43hpgv4)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Apr 10, 2026.

versioncommittedcommitsizeaudit
git:20260410.b8e38fa latest2026-04-10 b8e38fa 1,930 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1930 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

kocoro-lab/kocoro · 415 stars · license MIT · pushed 2026-10-14 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_avbyfmc6p43hpgv4
GET https://markdownregistry.com/api/v1/resolve?ref=kocoro-lab/kocoro/pdf-reader
GET https://markdownregistry.com/api/v1/blob/59361e9e1857556601fdcf0b16590239b8157ce9c208de8912cefda036dc3c53

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from kocoro-lab/kocoro

AGENTS.md AGENTS.md file
kocoro-lab/kocoro · AGENTS.md
git:20260902.8ff9919 · audit A · 415 stars
CLAUDE.md CLAUDE.md file
kocoro-lab/kocoro · CLAUDE.md
git:20261014.9afd864 · audit A · 415 stars
CLAUDE.md@internal/migrate/claudecode/testdata/claude_home_basic CLAUDE.md file
kocoro-lab/kocoro · internal/migrate/claudecode/testdata/claude_home_basic/CLAUDE.md
git:20260514.57e7468 · audit B · 415 stars
dir-style SKILL.md skill
kocoro-lab/kocoro · internal/migrate/claudecode/testdata/claude_home_basic/skills/dir-style/SKILL.md · dir layout
git:20260514.57e7468 · audit B · 415 stars
algorithmic-art SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/algorithmic-art/SKILL.md · Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users…
git:20260313.0cda0f4 · audit B · 415 stars
brand-guidelines SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/brand-guidelines/SKILL.md · Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having…
git:20260313.0cda0f4 · audit A · 415 stars
canvas-design SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/canvas-design/SKILL.md · Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user…
git:20260313.0cda0f4 · audit A · 415 stars
claude-api SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/claude-api/SKILL.md · Build apps with the Claude API or Anthropic SDK. TRIGGER when: code imports…
git:20260313.0cda0f4 · audit A · 415 stars
doc-coauthoring SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/doc-coauthoring/SKILL.md · Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation…
git:20260313.0cda0f4 · audit A · 415 stars
frontend-design SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/frontend-design/SKILL.md · Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to…
git:20260313.0cda0f4 · audit A · 415 stars
internal-comms SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/internal-comms/SKILL.md · A set of resources to help me write all kinds of internal communications, using the formats that my company likes to…
git:20260313.0cda0f4 · audit A · 415 stars
kocoro-generative-ui SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/kocoro-generative-ui/SKILL.md · Generate interactive, inline HTML/SVG widgets (charts, diagrams, forms, dashboards, illustrations) that render in…
v1.0.3 · audit B · 415 stars

Every file in kocoro-lab/kocoro

Browse by kind, by grade A, or by owner.