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 znlgis/my-opencode-deepseek-config --skill office-docsgit clone --depth 1 https://github.com/znlgis/my-opencode-deepseek-configWrote 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/znlgis/my-opencode-deepseek-config/office-docs)<a href="https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/office-docs"><img src="https://agentmods.dev/badge/skills/znlgis/my-opencode-deepseek-config/office-docs.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.00090 | $0.00939 |
| Opus 5 | $0.00045 | $0.00469 |
| Sonnet 5 | $0.00018 | $0.00188 |
| Haiku 4.5 | $0.00009 | $0.00094 |
Grade A, and why
office-docs 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 2d 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 — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Office Documents (Word / Excel)
Read and write .docx and .xlsx files through bundled Python scripts that
convert to/from Markdown and CSV. The model then reads the plain-text output
with the normal read tool, or writes a text file that a script converts
back to a binary Office file.
When to use
- Extract text/content from a
.docxor.xlsxso the model can read it. - Generate a
.docxor.xlsxfrom content the model produced.
Prerequisites
Python 3 with these packages (already installed in this environment):
python-docx, openpyxl. Scripts live in scripts/ next to this file.
Reading
Word (.docx) -> Markdown
python <skill_dir>/scripts/docx2md.py <input.docx> <output.md>
Then read the .md. Omit the output path to print to stdout. Paragraphs,
headings, bullet/numbered lists, and pipe tables are preserved. Numbered
lists are written as Markdown ordered lists, so the renderer re-numbers them
rather than preserving the original values. Inline images are not extracted
(binary media).
Excel (.xlsx) -> CSV
python <skill_dir>/scripts/xlsx2csv.py <input.xlsx> <output_dir>
Writes one <sheetname>.csv per sheet into output_dir. Omit the output
dir to print the first sheet to stdout. Formulas are read as cached values.
Legacy formats (.doc / .xls)
The scripts only handle the modern OOXML formats. For a legacy .doc or
.xls, first convert via Word/Excel COM (available on this machine, Office
2007) to .docx/.xlsx, then run the script above:
$w = New-Object -ComObject Word.Application; $w.Visible = $false
$d = $w.Documents.Open('<abs path>.doc'); $d.SaveAs2('<abs path>.docx', 16); $d.Close(); $w.Quit()
(Excel: SaveAs format 51 = xlsx.) Use absolute paths for COM; a single
quote in a path must be doubled ('') to escape.
Writing
Markdown -> Word (.docx)
python <skill_dir>/scripts/md2docx.py <input.md> <output.docx>
Supports ATX headings, paragraphs, -/* unordered lists, 1. ordered
lists, and pipe tables. Inline bold/italic/code is not parsed — content is
written as plain runs. This is a lossy plain-text writer for simple
documents, not a styled round-trip.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2d ago First seen · 95 lines · 90 tokens per session scan A 80a86202a3bb
office-docs is a skill published in the GitHub repository znlgis/my-opencode-deepseek-config (58 stars, last pushed 3d ago), licensed MIT. It adds 90 tokens to every session and 939 once invoked, about $0.0005 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-09-03.
Other skills, from other repositories
excel-helper
A spreadsheet assistant for Excel, a program used to organize, calculate, and analyze tabular data. It covers formulas, pivot tables, charts, data cleaning, and VBA macros, which are small automation programs for Excel.
cash-flow-snapshot
Create a 30/60/90-day cash-flow forecast from AR, AP, opening cash, payment timing, and fixed-cost data. Use when asked about runway, payroll coverage, liquidity risks, or a near-term cash crunch.
officecli
Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.
csv_analyzer
Analyze CSV and Excel files — statistics, filtering, grouping, and data previews. Use when: user asks to read, analyze, query, summarize, or explore tabular data in CSV, TSV, or Excel files. NOT for: database queries, writing new files, or non-tabular formats.
officecli-xlsx
Use this skill any time a .xlsx file is involved -- as input, output, or both. This includes: creating spreadsheets, financial models, dashboards, or trackers; reading, parsing, or extracting data from any .xlsx file; editing, modifying, or updating existing workbooks; working with formulas, charts, pivot tables, or…
officecli
Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.