document-SKILLs
AGENTS.md165 starsChanged 5 months agoMITView on GitHub
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). 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. pdf and xlsx do not use Node packages. On macOS, brew bundle at the repo root installs everything below. The Brewfile keeps optional tools commented out and skips uv and node when they are…
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Always use uv run to execute Python scripts in these skills.
- Very specific: line 10
All directly-run scripts declare their dependencies via PEP 723 inline metadata — uv run resolves them automatically.
- Distinctive: line 11
When writing a new script, add a PEP 723 header:
- Very specific: line 18
Never run bare pip install.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Document Skills
Skills for creating, reading, and manipulating PDF, PPTX, XLSX, and DOCX files.
CLAUDE.mdin this directory is a symlink to this file (AGENTS.md).
Python
- Always use
uv runto execute Python scripts in these skills. - All directly-run scripts declare their dependencies via PEP 723 inline metadata —
uv runresolves them automatically. (Library modules imported by those scripts inherit the runner's environment and need no header of their own.) No manualpip installneeded. - 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 reading/writing, form fields, annotations | |
| pdf2image | pdf2image | PDF page to image conversion (requires poppler) | |
| Pillow | Pillow | pdf, pptx | Image processing, drawing, fonts |
| pdfplumber | pdfplumber | Text and table extraction | |
| reportlab | reportlab | PDF creation from scratch | |
| pytesseract | pytesseract | OCR wrapper for Tesseract | |
| pypdfium2 | pypdfium2 | 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.
| Skill | Packages |
| pptx | pptxgenjs, playwright (launches Chromium for HTML→image rendering), sharp, react, react-dom, react-icons (the last four serve agent-written html2pptx scripts, not html2pptx.js itself) |
| docx | docx |
pdf and xlsx do not use Node packages.
System Tools (brew or apt-get)
On macOS, brew bundle at the repo root installs everything below. The Brewfile keeps optional tools commented out and skips uv and node when they are already on the PATH.
Required
| Package | Install | Provides | Used by |
| poppler | brew install poppler | pdftoppm, pdftotext, pdfimages | pdf, pptx, docx |
| LibreOffice | brew install --cask libreoffice | soffice | pptx, xlsx, docx |
| pandoc | brew install pandoc | pandoc | docx |
Optional
| Package | Install | Provides | Used by |
| tesseract | brew install tesseract | tesseract | |
| tesseract-lang | brew install tesseract-lang | language packs | |
| qpdf | brew install qpdf | qpdf | |
| coreutils | brew install coreutils | gtimeout | xlsx |
Skill Structure
Each skill has:
SKILL.md— the prompt/instructions for the skillscripts/— Python scripts the agent calls viauv run(xlsx instead ships a singlerecalc.pyat the skill root)package.json— Node.js dependencies (docx, pptx only)ooxml/— XML pack/unpack/validate tooling (docx, pptx only)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

