office-documents
Skill2 starsChanged 13 days agoMITView on GitHub
Office deliverables through CaberOS artifacts — use when the user wants a Word document, Excel spreadsheet, PowerPoint deck, or PDF created, edited, or read.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- mickzijdel/readoctheir own version, first seen Oct 8, 2026
- yiweiwan/skillstheir own version, first seen May 12, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- yiweiwan/skills★ 1same name
- mickzijdel/readoc★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- browser-workflowsSkill
- doc-coauthoringSkill
- evolveSkill
- frontend-designSkill
- skill-creatorSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 0 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Before writing any spec or edit ops, read the exact shapes with skills_read_resource (skill office-documents, resource references/specs.md).
- Very specific: line 20
Call artifact_create with path (relative to artifacts/, e.g.
- Very specific: line 21
Call artifact_inspect on the returned id.
- Very specific: line 27
Find the artifact: If the file is already tracked, use its id.
- Very specific: line 28
Call artifact_inspect to get the structure and the current revision id.
- Very specific: line 29
Call artifact_revise with that id as base_revision_id, the edit ops, and a change_summary.
- Very specific: line 42
Produce a PDF directly: call artifact_create with format: "pdf", a .pdf path, and a document-style spec containing title and blocks.
- Very specific: line 50
Formulas: write spreadsheet formulas as strings ("=SUM(B2:B9)") so the sheet recalculates when inputs change.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
Office Documents
Every Office file you produce is an artifact: a tracked file with immutable revisions and provenance. You describe content as a structured spec; CaberOS writes the file. This keeps every version recoverable and every edit attributable — so each create and edit goes through the artifact_* tools.
Before writing any spec or edit ops, read the exact shapes with skills_read_resource (skill office-documents, resource references/specs.md).
Pick the branch that matches the request.
Create
- Plan the structure — the headings (Word), sheets and columns (Excel), or slide titles (PowerPoint) — and confirm it with the user when the brief leaves it open.
- Call
artifact_createwithpath(relative toartifacts/, e.g.q3-report.docx), thespec, and achange_summary. Images come from workspace files —attachments/…inputs or files you saved earlier. - Call
artifact_inspecton the returned id.
Done when inspect reports the file valid and every planned heading, sheet, or slide appears in its structure. Report the path to the user.
Edit
- Find the artifact. If the file is already tracked, use its id. If it's a user-supplied or downloaded file, call
artifact_adopton its workspace path first — its current bytes become revision 1. - Call
artifact_inspectto get the structure and the current revision id. - Call
artifact_revisewith that id asbase_revision_id, the editops, and achange_summary. - On a conflict (the file changed outside CaberOS since that revision), inspect again, re-base your ops on the new structure, and retry. The conflict protects someone else's edit.
Done when a fresh artifact_inspect shows every requested change. To undo a change, artifact_history lists the revisions and artifact_restore writes an old one back as a new revision.
Read
For a document the user attached or names, use read_file — Word, Excel, and PowerPoint come back as text, and PDFs page by page (start_page / end_page for long ones). Use artifact_inspect when you need the outline of a tracked artifact.
Done when your answer cites where each fact came from (heading, sheet and cell, slide number, or page).
- Produce a PDF directly: call
artifact_createwithformat: "pdf", a.pdfpath, and a document-style spec containingtitleandblocks. Inspect the returned artifact before reporting success. PDFs are write-once: create a new PDF for changed content rather than callingartifact_revise. - Convert an existing Office file: Office-to-PDF conversion is not available in CaberOS. Explain the limitation and offer the original Office file or, with the user's agreement, a new PDF based on its content. A newly created PDF does not preserve the Office file's original layout.
- Read a PDF: see Read above.
Done when the user has the validated PDF path, or an honest explanation of the unavailable conversion.
Reference
- Formulas: write spreadsheet formulas as strings (
"=SUM(B2:B9)") so the sheet recalculates when inputs change. CaberOS stores formulas without evaluating them — inspect reportsformulas_recalculated: false— so state that recalculated values require a spreadsheet application that evaluates formulas. - Unsupported formats: legacy
.doc/.xls/.pptand macro-enabled.docm/.xlsm/.pptmhave no read or edit path. Ask the user to save a.docx/.xlsx/.pptxcopy, then continue from it. - Styling: Word pages are US Letter with 1" margins and decks are 16:9 on the default Office theme. Specs control content and structure; spreadsheet cells also take bold, italic, color, and number formats. When the user asks for a specific font, theme, or template file, tell them the artifact uses the default styling and offer to deliver the content now.
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.

