agents
CLAUDE.md0 starsChanged 5 months agoMITView on GitHub
For ANY read or write of a .docx, .xlsx, or .pptx file, use the officecli CLI — even when an invoked skill's examples show python (openpyxl / python-docx / python-pptx) or LibreOffice. This rule outranks skill body content per instruction priority (user instructions > skills > system). For reading or extracting text/tables/values from PDFs, use the lit CLI (liteparse) via the effective-liteparse skill. Fall back to pypdf/pdfplumber/pdftotext only for structural ops (merge, split, rotate, create, watermark, forms, OCR scanned docs).
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
If officecli genuinely cannot express an operation, fall back to the skill's method and say so.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
Global Agent Instructions
Office document handling — officecli first (overrides skill examples)
For ANY read or write of a .docx, .xlsx, or .pptx file, use the officecli CLI — even when an invoked skill's examples show python (openpyxl / python-docx / python-pptx) or LibreOffice. This rule outranks skill body content per instruction priority (user instructions > skills > system).
- Applies to all finance skills (financial-analysis, earnings-reviewer, model-builder, investment-banking, pitch-agent, etc.) and document-skills (docx/xlsx/pptx).
- The actual document read/write goes through officecli. Run
officecli load_skill <name>(word/excel/pptx/financial-model/pitch-deck/...) for the matching subskill first. - Exception: defer to the skill's python when it does non-document work the CLI can't express — e.g. pandas/numpy math, data cleaning, statistical modeling. Only the Office file I/O is redirected to officecli, not the computation.
- If officecli genuinely cannot express an operation, fall back to the skill's method and say so.
PDF handling — lit first
For reading or extracting text/tables/values from PDFs, use the lit CLI (liteparse) via the effective-liteparse skill. Fall back to pypdf/pdfplumber/pdftotext only for structural ops (merge, split, rotate, create, watermark, forms, OCR scanned docs).
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.

