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 cyborg-garden/hermes-agent-mt --skill microsoft-officegit clone --depth 1 https://github.com/cyborg-garden/hermes-agent-mtWrote 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/cyborg-garden/hermes-agent-mt/microsoft-office)<a href="https://agentmods.dev/skills/cyborg-garden/hermes-agent-mt/microsoft-office"><img src="https://agentmods.dev/badge/skills/cyborg-garden/hermes-agent-mt/microsoft-office/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/cyborg-garden/hermes-agent-mt/microsoft-office"><img src="https://agentmods.dev/badge/skills/cyborg-garden/hermes-agent-mt/microsoft-office.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.00019 | $0.02265 |
| Opus 5.5 | $0.00008 | $0.00906 |
| Sonnet 5.5 | $0.00004 | $0.00453 |
| Haiku 4.5 | $0.00002 | $0.00227 |
Grade C, and why
microsoft-office scanned grade C with 1 finding 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 16d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
case "$old" in hermes-docs-venv.??????) rm -rf "$old" ;; esac This is a copy
100% identical to microsoft-office — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Microsoft Office Skill
Create, read, edit, and template Word (.docx), PowerPoint (.pptx), and
Excel (.xlsx, .csv) files offline with small Python CLIs built on
python-docx, python-pptx, and openpyxl. Office itself is never needed. It does
not open legacy binary formats (.doc, .ppt, .xls) and does not render
pages without LibreOffice.
When to Use
Pick the format, then read its reference with skill_view before working:
| File | Reference | Typical asks |
|---|---|---|
.docx |
references/word.md |
reports, letters, contracts, {{token}} templates, tracked changes, comments |
.pptx |
references/powerpoint.md |
pitch decks, brand-template decks, chart refreshes, speaker notes, slide PNGs |
.xlsx, .csv |
references/excel.md |
styled multi-sheet workbooks, formulas, charts, CSV conversion, row/column restructures |
Deeper notes: references/revisions-and-comments.md (Word review markup) and
references/restructuring.md (Excel reference shifting).
- Not for
.doc/.ppt/.xls: convert first withsoffice --headless --convert-to docx|pptx|xlsx old-filewhen LibreOffice is installed. - Not for
.odt/.odp/.ods, or WYSIWYG layout work.
Prerequisites
-
Python 3.10+ with
python-docx,python-pptx, andopenpyxl(import namesdocx,pptx,openpyxl). -
Pick the interpreter with
terminal. Usepythonwhen it already imports the libraries (the Hermes Docker image ships them). Otherwise, whenhermesis on PATH, let Hermes build its shared, pinned documents environment under the Hermes home: it survives container restarts, never touches the Hermes install itself, and is safe to run from several agents at once. When it is not (the terminal runs in a Docker sandbox, which has no Hermes), the block builds a venv in the sandbox home with the same pinned versions. Use this exact block in every document skill so they all share one environment:python -c "import docx, pptx, openpyxl" 2>/dev/null && PY=python || if command -v hermes >/dev/null 2>&1; then PY="$(hermes pm environment documents --extra documents --extra documents-pdf)" else PY="$HOME/.cache/hermes-docs-venv/bin/python" "$PY" -c "import docx, openpyxl, pptx, reportlab, pypdf, pdfplumber, pypdfium2" 2>/dev/null || ( # Safe to run from several agents at once: each caller builds a private venv, # a symlink publishes the first finished one atomically, the others delete theirs; # a published build is replaced and deleted only while it still fails to import. mkdir -p "$HOME/.cache" && cd "$HOME/.cache" && stage="$(mktemp -d hermes-docs-venv.XXXXXX)" || exit 1 old="$(readlink hermes-docs-venv)" # the published build, if any (another agent may have just published it) python3 -m venv "$stage" && "$stage/bin/python" -m pip install -q --disable-pip-version-check python-docx==1.2.0 openpyxl==3.1.5 python-pptx==1.0.2 reportlab==5.1.0 pypdf==6.21.4 pdfplumber==0.11.10 pypdfium2==5.14.0 && "$stage/bin/python" -c "import docx, openpyxl, pptx, reportlab, pypdf, pdfplumber, pypdfium2" && if [ -z "$old" ]; then python3 -c 'import os, sys; os.symlink(*sys.argv[1:])' "$stage" hermes-docs-venv elif [ "$(readlink hermes-docs-venv)" = "$old" ] && ! "$old/bin/python" -c "import docx, openpyxl, pptx, reportlab, pypdf, pdfplumber, pypdfium2" 2>/dev/null; then ln -s "$stage" "$stage.lnk" && python3 -c 'import os, sys; os.replace(*sys.argv[1:])' "$stage.lnk" hermes-docs-venv && case "$old" in hermes-docs-venv.??????) rm -rf "$old" ;; esac fi 2>/dev/null [ "$(readlink hermes-docs-venv)" = "$stage" ] || rm -rf "$stage" "$stage.lnk" ) fi export PY "$PY" scripts/docx_create.py --help
What ships with it
29 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.
- LICENSE 1.0 KB
- references/excel.md 8.6 KB
- references/powerpoint.md 9.3 KB
- references/restructuring.md 3.7 KB
- references/revisions-and-comments.md 3.9 KB
- references/word.md 9.2 KB
- scripts/csv_to_xlsx.py 3.3 KB runs code
- scripts/docx_comments.py 10 KB runs code
- scripts/docx_common.py 3.2 KB runs code
- scripts/docx_create.py 6.2 KB runs code
- scripts/docx_edit.py 8.4 KB runs code
- scripts/docx_read.py 6.1 KB runs code
- scripts/docx_revisions.py 4.4 KB runs code
- scripts/docx_template.py 2.4 KB runs code
- scripts/docx_validate.py 6.0 KB runs code
- scripts/pptx_create.py 8.8 KB runs code
- scripts/pptx_edit.py 17 KB runs code
- scripts/pptx_from_template.py 3.4 KB runs code
- scripts/pptx_read.py 4.6 KB runs code
- scripts/pptx_render.py 3.5 KB runs code
- scripts/xlsx_create.py 9.6 KB runs code
- scripts/xlsx_edit.py 11 KB runs code
- scripts/xlsx_read.py 5.7 KB runs code
- scripts/xlsx_recalc.py 4.1 KB runs code
- scripts/xlsx_restructure.py 16 KB runs code
- scripts/xlsx_to_csv.py 2.3 KB runs code
- tests/test_docx_skill.py 22 KB runs code
- tests/test_powerpoint_skill.py 20 KB runs code
- tests/test_xlsx_skill.py 23 KB runs code
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.
- 16d ago First seen · 163 lines · 19 tokens per session scan C 4480fab452a1
microsoft-office is a skill published in the GitHub repository cyborg-garden/hermes-agent-mt (14 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 2,265 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). It is 100% identical to microsoft-office, differing in 0 lines, and is treated as a copy.
microsoft-office compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| microsoft-officecyborg-garden/hermes-agent-mt | Skill | 14 | today | MIT | C | 19 | Claude Code, Codex |
| document-exportspedroiff0/awesome-skills | Skill | 1 | 18d ago | MIT | A | 44 | Claude Code, Codex |
| xlsx-data-wranglingpedroiff0/awesome-skills | Skill | 1 | 18d ago | MIT | A | 36 | Claude Code, Codex |
| gog-workspaceAtomicBot-ai/atomic-agent | Skill | 3.6k | today | MIT | A | 25 | Claude Code, Codex |
| mnemosynemnemosyne-oss/mnemosyne | Skill | 3.7k | today | MIT | A | 22 | Claude Code, Codex |
| xlsxAtomicBot-ai/atomic-agent | Skill | 3.6k | today | MIT | A | 23 | Claude Code, Codex |
| tooluniverse-lab-data-standardizationmims-harvard/ToolUniverse | Skill | 1.8k | today | Apache-2.0 | A | 0 | Claude Code |