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.
git clone --depth 1 https://github.com/gonzalezpazmonica/saviaWrote 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/agents/gonzalezpazmonica/savia/pdf-digest)<a href="https://agentmods.dev/agents/gonzalezpazmonica/savia/pdf-digest"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/savia/pdf-digest/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.
<a href="https://agentmods.dev/agents/gonzalezpazmonica/savia/pdf-digest"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/savia/pdf-digest.svg" alt="Reviewed on agentmods" width="80" 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.00088 | $0.01022 |
| Opus 5 | $0.00044 | $0.00511 |
| Sonnet 5 | $0.00018 | $0.00204 |
| Haiku 4.5 | $0.00009 | $0.00102 |
Grade A, and why
pdf-digest 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 3d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- pdf-digest — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pdf-digest — Digestion Contextual de PDFs en 4 Fases
Combina extraccion de texto (PyMuPDF) con lectura multimodal de imagenes embebidas (Claude Vision). Produce digest .md y actualiza documentos de contexto del proyecto.
Dependencia: pip install pymupdf (instalar automaticamente si falta)
Fase 1 — Extraccion bruta (sin contexto)
- Extraer texto de TODAS las paginas via PyMuPDF (
fitz.open→page.get_text()) - Extraer imagenes embebidas (
page.get_images()→fitz.Pixmap→ guardar PNG) - Para imagenes >100x100px: leer con Read (Claude Vision) y transcribir contenido
- Consolidar texto + imagenes en borrador bruto
- Identificar tipo: protocolo, manual, propuesta, informe, spec, presentacion
- Marcar con
[?]textos dudosos, caracteres mal codificados, siglas desconocidas - Detectar estructura: secciones, subsecciones, tablas, listas, diagramas
Fase 2 — Carga de contexto y resolucion
Leer ficheros del proyecto para construir diccionario de resolucion:
CLAUDE.md→ stack, equipos, entornosREADME.md→ indice documentos existentesRULES.md,GLOSSARY.md,TEAM.md,STATUS.md(si existen)
Resolver cada [?]:
- Match unico →
[resuelto: X → Y (fuente: fichero.md)] - Ambiguo → elegir el mas probable con justificacion
- Sin match → mantener
[?]con hipotesis
Fase 3 — Analisis y sintesis
- Extraer informacion estructurada segun tipo (roles, pasos, metricas, decisiones)
- Cruzar contra documentos existentes: contradicciones, datos nuevos, confirmaciones
- Evaluar vigencia: fecha PDF vs documentos del proyecto (mas reciente = verdad)
- Listar gaps: que deberia cubrir el PDF y no cubre
Fase 4 — Actualizacion de contexto (OBLIGATORIA)
- Buscar indice del proyecto:
README.mdoCLAUDE.md - Identificar documentos relevantes para la informacion extraida
- Leer cada candidato; si desactualizado o ausente → actualizar con Edit
- Respetar limite 150 lineas. Solo datos no confidenciales
- Registrar en bloque ACTUALIZACIONES del digest
- Registrar en
_digest-log.mddel proyecto
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.
- 3d ago First seen · 101 lines · 88 tokens per session scan A a9eb6e089acd
pdf-digest is an agent published in the GitHub repository gonzalezpazmonica/savia (50 stars, last pushed today), licensed MIT. It adds 88 tokens to every session and 1,022 once invoked, about $0.0004 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-09-06.
Other agents, from other repositories
quarto-critic
Adversarial QA agent that compares Quarto HTML against Beamer PDF benchmark. Produces harsh, actionable criticism. Does NOT edit files — read-only analysis only.
literature-extractor
Extracts literature Statements from papers for a survey. Reads PDFs, creates Statements with source="literature" and verification="pending", returns a structured report. Never registers theme tags, never creates Warrants or Claims.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.