aos-process-pdf

aos-process-pdf is a skill for Codex from axutse/aos-agent-skill-document. It costs 87 tokens per session (431 once invoked), scanned A, original, MIT.

A PDF-processing toolkit for creating, examining, rendering, comparing, and checking fixed-layout PDF files.

In plain words
What is it for?
Use it to create print-ready PDFs, inspect page settings and metadata, render pages for review, compare outputs, and clean files before public release.
Why use it?
It helps catch both structural problems and visual defects that plain text extraction can miss, while preserving page layout and vector graphics.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to create print-ready PDFs, inspect page settings and metadata, render pages for review, compare outputs, and clean files before public release.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/axutse/aos-agent-skill-document/aos-process-pdf
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 axutse/aos-agent-skill-document --skill aos-process-pdf
Clone the repo
git clone --depth 1 https://github.com/axutse/aos-agent-skill-document

Made for: 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 aos-process-pdf

README.md
[![agentmods](https://agentmods.dev/badge/skills/axutse/aos-agent-skill-document/aos-process-pdf/github.svg)](https://agentmods.dev/skills/axutse/aos-agent-skill-document/aos-process-pdf)
Your own site
<a href="https://agentmods.dev/skills/axutse/aos-agent-skill-document/aos-process-pdf"><img src="https://agentmods.dev/badge/skills/axutse/aos-agent-skill-document/aos-process-pdf/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 aos-process-pdf

Your own site · 80×15
<a href="https://agentmods.dev/skills/axutse/aos-agent-skill-document/aos-process-pdf"><img src="https://agentmods.dev/badge/skills/axutse/aos-agent-skill-document/aos-process-pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 431 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.00087 $0.00431
Opus 5 $0.00044 $0.00216
Sonnet 5 $0.00017 $0.00086
Haiku 4.5 $0.00009 $0.00043

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

Security

Grade A, and why

aos-process-pdf 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 9d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/inspect_pdf.py, scripts/make_contact_sheet.py, scripts/render_pdf.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/aos-agent-skill-document/skills/aos-process-pdf/SKILL.md · 38 lines

What it actually says

AOS PDF Processing

Preserve vector content and verify both document structure and rendered appearance. Read references/pdf-workflow.md before complex PDF work.

Treat fixed-layout integrity and full-page inspection as the primary contract. Do not infer visual correctness from extracted text, and do not modify an audit-only input until the user approves the reported repair scope.

Workflow

  1. Inspect page count, dimensions, rotation, encryption, metadata, forms, links, and image usage.
  2. Use ReportLab for deterministic creation and pypdf for structural operations.
  3. Preserve vector content unless rasterization is explicitly required.
  4. Render the complete final PDF with Poppler.
  5. Inspect every page at readable zoom; use a contact sheet only for overview.
  6. Reopen and structurally verify any edited or generated PDF.
  7. Scrub metadata before public release when personal metadata is not required.

Commands

python scripts/inspect_pdf.py input.pdf --json
python scripts/scrub_pdf_metadata.py input.pdf public.pdf
python scripts/render_pdf.py public.pdf --output-dir render --dpi 200
python scripts/make_contact_sheet.py 'render/page-*.png' --output contact-sheet.jpg

Quality rules

  • Do not approve a PDF from extracted text alone.
  • Confirm page count, dimensions, metadata policy, links/forms where applicable, and successful reopening.
  • Inspect every page for clipping, overlaps, missing glyphs, incorrect page boxes, blur, or broken tables.
  • Keep temporary PNGs outside final delivery unless requested.
  • Use ASCII hyphens in generated technical text when renderer compatibility is uncertain.
Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 38 lines · 87 tokens per session scan A 12b5e7404616

Subscribe to this mod's changes

aos-process-pdf is a skill published in the GitHub repository axutse/aos-agent-skill-document (2 stars, last pushed 27d ago), licensed MIT. It adds 87 tokens to every session and 431 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-08-31.

Related

Other skills, from other repositories

document-generation

Generate Word (.docx), Excel (.xlsx) and PowerPoint (.pptx) documents and fill existing PDF forms, from real NetClaw data, with per-element provenance and no fabrication. Use when someone needs a deliverable rather than an answer — a change record to attach to a CR, an audit workbook for a compliance reviewer, a…

automateyournetwork/netclaw · 91 tokens

document-processing

Use when the deliverable is a document's bytes or its literal content — text/tables out of PDFs, AcroForm fill and flatten, page merge/split, PDF/DOCX from templates, OCR of image-only scans. NOT schema-typed fields pulled from text (that is structured-extraction), NOT signature routing (e-signature) or spreadsheet…

ericrisco/rsc-harness · 84 tokens

docx

Read, create, and convert Microsoft Word (.docx) documents — extract text and tables, build reports from markdown/JSON, and export to PDF.

zhixuli0406/DuDuClaw · 34 tokens

document-processing-expert

Read, generate and modify office documents and PDFs from code: PDF extraction and forms, Word documents, Excel workbooks and PowerPoint decks. Use when the user mentions PDF, DOCX, XLSX, PPTX, Word, Excel, PowerPoint or spreadsheets, wants data extracted from documents, needs a report or invoice generated as a file…

personamanagmentlayer/pcl · 102 tokens

bank-statement-parsing

Guidelines for parsing bank statements using YOLO layout detection + OCR + LLM.

johnsonhk88/AI-Bank-Statement-Document-Automation-By-LLM-And-Personal-Finanical-Analysis-Prediction · 23 tokens

all2md

Convert, read, generate, search, and compare documents with the all2md CLI and Python library. Use whenever a task involves reading or extracting text/tables from a document (PDF, Word, PowerPoint, Excel, HTML, email, EPUB, Jupyter, images, or 100+ source-code and text file types); converting between formats…

thomas-villani/all2md · 181 tokens