agentleFS
appautomatonappautomaton/document-SKILLs/AGENTS.md

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.

  • In this repository5 other files it gives its agents.

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
  1. Very specific:

    Always use uv run to execute Python scripts in these skills.

    line 9
  2. Very specific:

    All directly-run scripts declare their dependencies via PEP 723 inline metadata — uv run resolves them automatically.

    line 10
  3. Distinctive:

    When writing a new script, add a PEP 723 header:

    line 11
  4. Very specific:

    Never run bare pip install.

    line 18

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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

PackagePyPI nameUsed byPurpose
pypdfpypdfpdfPDF reading/writing, form fields, annotations
pdf2imagepdf2imagepdfPDF page to image conversion (requires poppler)
PillowPillowpdf, pptxImage processing, drawing, fonts
pdfplumberpdfplumberpdfText and table extraction
reportlabreportlabpdfPDF creation from scratch
pytesseractpytesseractpdfOCR wrapper for Tesseract
pypdfium2pypdfium2pdfPDF rendering using PDFium engine
python-pptxpython-pptxpptxPowerPoint file manipulation
markitdownmarkitdown[pptx]pptxExtract PPTX text as Markdown
openpyxlopenpyxlpdf, xlsxExcel file manipulation
pandaspandaspdf, xlsxData analysis, table operations
matplotlibmatplotlibxlsxChart and visualization creation
lxmllxmlpptx, docxXML processing and XSD schema validation
defusedxmldefusedxmlpptx, docxSecure 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.

SkillPackages
pptxpptxgenjs, 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)
docxdocx

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

PackageInstallProvidesUsed by
popplerbrew install popplerpdftoppm, pdftotext, pdfimagespdf, pptx, docx
LibreOfficebrew install --cask libreofficesofficepptx, xlsx, docx
pandocbrew install pandocpandocdocx

Optional

PackageInstallProvidesUsed by
tesseractbrew install tesseracttesseractpdf
tesseract-langbrew install tesseract-langlanguage packspdf
qpdfbrew install qpdfqpdfpdf
coreutilsbrew install coreutilsgtimeoutxlsx

Skill Structure

Each skill has:

  • SKILL.md — the prompt/instructions for the skill
  • scripts/ — Python scripts the agent calls via uv run (xlsx instead ships a single recalc.py at the skill root)
  • package.json — Node.js dependencies (docx, pptx only)
  • ooxml/ — XML pack/unpack/validate tooling (docx, pptx only)

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.