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.
npx skills add matingai/crab --skill office-routergit clone --depth 1 https://github.com/matingai/crabWrote 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.
[](https://agentmods.dev/skills/matingai/crab/office-router)<a href="https://agentmods.dev/skills/matingai/crab/office-router"><img src="https://agentmods.dev/badge/skills/matingai/crab/office-router.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.00525 |
| Opus 5 | $0.00019 | $0.00262 |
| Sonnet 5 | $0.00008 | $0.00105 |
| Haiku 4.5 | $0.00004 | $0.00052 |
Grade A, and why
office-router 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 6d 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.
What it actually says
Office Router
Use this skill first when the user mentions an Office file or asks for an Office-style deliverable and the exact workflow is not yet clear.
Routing
- Call
office_inspecton the target path before planning edits. - Route by actual format and reported capabilities, not by the user's label alone.
- If the file is
.xlsx, switch tooffice/xlsx-edit. - If the file is
.docx, switch tooffice/docx-edit. - If the file is
.pptx, switch tooffice/pptx-review. - If the file is unsupported, stop and explain the limitation instead of guessing.
- If the user wants a new presentation but has not required
.pptx, preferslides/slidev-deckinstead of the.pptxworkflow.
Choose The Execution Path
Start with the built-in office_* tools when the task is mostly structural:
- inspect or summarize an Office file
- simple workbook cell or sheet edits
- paragraph-level
.docxrewrites - slide review or extraction from
.pptx
Escalate to a workspace script via write_file + execute_code when the user likely expects high fidelity or complex document behavior:
- exact template preservation
- formatting, widths, merges, formulas, charts, comments, or images
.pptxcreation or direct modification- large data cleanup or conversions
- deterministic repeatability across multiple files
Prefer Slidev over .pptx creation when the user is asking for:
- a new slide deck from notes
- a pitch deck draft
- a presentation that will be iterated in-browser
- a deck outline before final export
Prefer a short script file over giant one-off shell commands. Save outputs to a new path unless the user explicitly wants in-place replacement.
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.
- 6d ago First seen · 65 lines · 38 tokens per session scan A 203384043ee3
office-router is a skill published in the GitHub repository matingai/crab (4 stars, last pushed 2mo ago), licensed MIT. It adds 38 tokens to every session and 525 once invoked, about $0.0002 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-31.
Other skills, from other repositories
ppt-master
AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable Brand/Style/Layout/Deck workspaces, filling native PPTX templates, and enhancing finished PPTX files. Use when the user asks to create, generate, reconstruct, regenerate, beautify, redesign…
office-artifacts
Use when creating, opening, reading, or editing Office artifacts such as LibreOffice-native ODT/ODS/ODP files and compatibility DOCX/XLSX/PPTX files with the officeartifact tool.
document-processing-expert
Read, generate and modify office documents and PDFs from code: PDF extraction and forms, Word documents, Excel workbooks and PowerPoint decks. Use when the user mentions PDF, DOCX, XLSX, PPTX, Word, Excel, PowerPoint or spreadsheets, wants data extracted from documents, needs a report or invoice generated as a file…
pptx
Read, create, and convert Microsoft PowerPoint (.pptx) presentations — extract slide text to JSON/markdown, build decks from JSON/markdown outlines, and export to PDF.
xlsx
Read, create, and convert Microsoft Excel (.xlsx) and CSV spreadsheets — extract sheets and tables to JSON, build workbooks from JSON/CSV, and export to PDF.
document-creator
Use when creating, editing, and generating Office documents programmatically — Word, PowerPoint, Excel, and PDF. One interface for all document formats with shared methodology.