document-SKILLs AGENTS.md

document-SKILLs AGENTS.md is an instructions file for Codex, OpenCode from appautomaton/document-SKILLs. It costs 991 tokens per session, scanned A, original, MIT.

A project instruction file for tools that create and edit PDF, PowerPoint, spreadsheet, and Word files. It explains how to run the included Python scripts and manage their packages.

In plain words
What is it for?
Use it when working on document-generation skills, including reading PDFs, extracting tables, processing images, creating PDFs, or editing office files.
Why use it?
It prevents agents from using the wrong Python installation or installing packages unsafely, and ensures scripts receive the dependencies they need.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/appautomaton/document-skills/agents-md
Clone the repo
git clone --depth 1 https://github.com/appautomaton/document-SKILLs

Made for: Codex, OpenCode.

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 document-SKILLs AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/appautomaton/document-skills/agents-md.svg)](https://agentmods.dev/instructions/appautomaton/document-skills/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/appautomaton/document-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/appautomaton/document-skills/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 991 This file is loaded in full into every session.
When invoked 991 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00991 $0.00991
Opus 5 $0.00495 $0.00495
Sonnet 5 $0.00198 $0.00198
Haiku 4.5 $0.00099 $0.00099

Measured 4d ago against content hash 18cc4b099436, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

document-SKILLs AGENTS.md 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 4d 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.

AGENTS.md · 78 lines

How it starts

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

Document Skills

Skills for creating, reading, and manipulating PDF, PPTX, XLSX, and DOCX files.

CLAUDE.md in this directory is a symlink to this file (AGENTS.md).

Python

  • Always use uv run to execute Python scripts in these skills.
  • All directly-run scripts declare their dependencies via PEP 723 inline metadata — uv run resolves them automatically. (Library modules imported by those scripts inherit the runner's environment and need no header of their own.) No manual pip install needed.
  • When writing a new script, add a PEP 723 header:
    # /// script
    # requires-python = ">=3.12"
    # dependencies = ["pypdf", "Pillow"]
    # ///
    
  • Never run bare pip install. Never use the system Python (/usr/bin/python3).

Python Packages

Package PyPI name Used by Purpose
pypdf pypdf pdf PDF reading/writing, form fields, annotations
pdf2image pdf2image pdf PDF page to image conversion (requires poppler)
Pillow Pillow pdf, pptx Image processing, drawing, fonts
pdfplumber pdfplumber pdf Text and table extraction
reportlab reportlab pdf PDF creation from scratch
pytesseract pytesseract pdf OCR wrapper for Tesseract
pypdfium2 pypdfium2 pdf PDF rendering using PDFium engine
python-pptx python-pptx pptx PowerPoint file manipulation
markitdown markitdown[pptx] pptx Extract PPTX text as Markdown
openpyxl openpyxl pdf, xlsx Excel file manipulation
pandas pandas pdf, xlsx Data analysis, table operations
matplotlib matplotlib xlsx Chart and visualization creation
lxml lxml pptx, docx XML processing and XSD schema validation
defusedxml defusedxml pptx, docx Secure XML parsing (XXE protection)

Node.js

Each skill that needs Node packages has its own package.json and node_modules/. Run npm install in the skill directory once to set up.

Read the full file on GitHub · 78 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. 4d ago First seen · 78 lines · 991 tokens per session scan A 18cc4b099436

Subscribe to this mod's changes

document-SKILLs AGENTS.md is an instructions file published in the GitHub repository appautomaton/document-SKILLs (157 stars, last pushed 16d ago), licensed MIT. It adds 991 tokens to every session, about $0.0050 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.

Related

Other instructions, from other repositories

markdown-exporter AGENTS.md

Instructions for bowenliang123/markdown-exporter, covering agent coding guidelines for md-exporter, 🔧 build, lint, and test commands, package management, code quality and formatting and alternative: run from project root using provided script.

bowenliang123/markdown-exporter · 1,274 tokens

PDF-Writer CLAUDE.md

Instructions for galkahana/PDF-Writer, covering claude code context - pdf-writer development guide, project overview, coding standards discovered, project structure and key components.

galkahana/PDF-Writer · 1,432 tokens

archlang CLAUDE.md

Instructions for ChanMeng666/archlang, covering claude.md, orientation (the rest is in agents.md), non-negotiable invariants (break these and ci fails), verify your work the way the tool is used and conventions.

ChanMeng666/archlang · 3,136 tokens

zpdf CLAUDE.md

Instructions for Xero-Team/zpdf, covering claude.md, build & test commands, architecture, key design constraints and code patterns.

Xero-Team/zpdf · 1,770 tokens

GroupDocs.Comparison.Mcp AGENTS.md

AGENTS.md instructions for groupdocs-comparison/GroupDocs.Comparison.Mcp, covering agents.md — guide for ai coding agents, what this repo is, mcp tools exposed, folder layout and dependencies.

groupdocs-comparison/GroupDocs.Comparison.Mcp · 1,356 tokens

pdf-mcp copilot-instructions.md

Copilot instructions for sandraschi/pdf-mcp, covering github copilot instructions (pdf-mcp), session context (pdf-mcp) and standards.

sandraschi/pdf-mcp · 246 tokens