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 CHENyiru3/AI-Skills-Collections --skill officecligit clone --depth 1 https://github.com/CHENyiru3/AI-Skills-CollectionsWrote 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/chenyiru3/ai-skills-collections/officecli)<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/officecli"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/officecli/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/officecli"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/officecli.svg" alt="Reviewed on agentmods" width="80" 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.00058 | $0.00692 |
| Opus 5.5 | $0.00023 | $0.00277 |
| Sonnet 5.5 | $0.00012 | $0.00138 |
| Haiku 4.5 | $0.00006 | $0.00069 |
Grade A, and why
officecli 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.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
officecli
Use the local binary at ~/.local/bin/officecli.
First Check
Before using the tool:
command -v officecli
officecli --version
If officecli is missing from PATH, use the absolute path:
$HOME/.local/bin/officecli --version
Strategy
Prefer this progression:
- L1 read:
view,get,query,validate - L2 DOM edit:
set,add,remove,move,swap,batch - L3 raw XML:
raw,raw-set,add-part
Always add --json when structured output helps.
Help System
When unsure about element names, paths, or properties, run help instead of guessing:
officecli pptx set
officecli pptx set shape
officecli pptx set shape.fill
officecli docx add
officecli xlsx get
Core Commands
officecli create <file>
officecli view <file> <mode>
officecli get <file> <path> --depth N
officecli query <file> <selector>
officecli set <file> <path> --prop key=value
officecli add <file> <parent> --type <type> --prop key=value
officecli remove <file> <path>
officecli move <file> <path> --to <parent> --index N
officecli swap <file> <path1> <path2>
officecli validate <file>
officecli batch <file>
officecli raw <file> <part>
officecli raw-set <file> <part> --xpath "..." --action replace --xml '<xml/>'
Performance
For 3 or more operations on one file, prefer resident mode:
officecli open file.docx
officecli set file.docx ...
officecli add file.docx ...
officecli close file.docx
For many edits, prefer batch mode:
cat <<'EOF' | officecli batch file.xlsx
[
{"command":"set","path":"/Sheet1/A1","props":{"value":"Name","bold":"true"}}
]
EOF
Validation
Before considering the document done:
officecli view file.docx issues
officecli validate file.docx
For large files, use targeted reads:
officecli view file.docx text --max-lines 100
officecli view file.xlsx text --start 1 --end 40 --cols A,B,C
officecli view file.pptx text --start 1 --end 5
Specialized Skills
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 · 111 lines · 58 tokens per session scan A dea4a55d47e2
officecli is a skill published in the GitHub repository CHENyiru3/AI-Skills-Collections (1 stars, last pushed 7d ago), licensed MIT. It adds 58 tokens to every session and 692 once invoked, about $0.0002 per session on Opus 5.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-10-02.
Other skills, from other repositories
dcf-model
Build discounted cash flow valuation workbooks in Excel.
gog
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
xlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from…
audit-xls
Audit a spreadsheet for formula accuracy, errors, and common mistakes. Scopes to a selected range, a single sheet, or the entire model (including financial-model integrity checks like BS balance, cash tie-out, and logic sanity). Triggers on "audit this sheet", "check my formulas", "find formula errors", "QA this…
google-drive-sheets
Find, read, export, edit, and manage the user's Google Drive, Docs, Sheets, and Slides through per-user OAuth.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.