microsoft-office

microsoft-office is a skill for Claude Code, Codex from cyborg-garden/hermes-agent-mt. It costs 19 tokens per session (2,265 once invoked), scanned C, a copy of microsoft-office, MIT.

A set of tools for creating, reading, and editing Word, PowerPoint, Excel, and CSV files with Python, without needing Microsoft Office. It supports modern Office formats such as .docx, .pptx, and .xlsx, but not older binary formats.

In plain words
What is it for?
Writing reports and letters, editing presentations and speaker notes, and creating or restructuring spreadsheets, formulas, charts, and CSV files.
Why use it?
It lets an agent work with common Office documents in an offline environment and makes the supported file formats and limitations clear.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Writing reports and letters, editing presentations and speaker notes, and creating or restructuring spreadsheets, formulas, charts, and CSV files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyborg-garden/hermes-agent-mt/microsoft-office
Install

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.

Any agent
npx skills add cyborg-garden/hermes-agent-mt --skill microsoft-office
Clone the repo
git clone --depth 1 https://github.com/cyborg-garden/hermes-agent-mt

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for microsoft-office

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyborg-garden/hermes-agent-mt/microsoft-office/github.svg)](https://agentmods.dev/skills/cyborg-garden/hermes-agent-mt/microsoft-office)
Your own site
<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.

agentmods 80×15 button for microsoft-office

Your own site · 80×15
<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>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,265 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 16d ago against content hash 4480fab452a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 23 executable files (scripts/csv_to_xlsx.py, scripts/docx_comments.py, scripts/docx_common.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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
Origin

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.

skills/productivity/microsoft-office/SKILL.md · 163 lines

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 with soffice --headless --convert-to docx|pptx|xlsx old-file when LibreOffice is installed.
  • Not for .odt/.odp/.ods, or WYSIWYG layout work.

Prerequisites

  • Python 3.10+ with python-docx, python-pptx, and openpyxl (import names docx, pptx, openpyxl).

  • Pick the interpreter with terminal. Use python when it already imports the libraries (the Hermes Docker image ships them). Otherwise, when hermes is 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
    

Read the full file on GitHub · 163 lines

Changes

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.

  1. 16d ago First seen · 163 lines · 19 tokens per session scan C 4480fab452a1

Subscribe to this mod's changes

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.

Related

microsoft-office compared with skills from other repositories

microsoft-office next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
microsoft-officecyborg-garden/hermes-agent-mtSkill14todayMITC19Claude Code, Codex
document-exportspedroiff0/awesome-skillsSkill118d agoMITA44Claude Code, Codex
xlsx-data-wranglingpedroiff0/awesome-skillsSkill118d agoMITA36Claude Code, Codex
gog-workspaceAtomicBot-ai/atomic-agentSkill3.6ktodayMITA25Claude Code, Codex
mnemosynemnemosyne-oss/mnemosyneSkill3.7ktodayMITA22Claude Code, Codex
xlsxAtomicBot-ai/atomic-agentSkill3.6ktodayMITA23Claude Code, Codex
tooluniverse-lab-data-standardizationmims-harvard/ToolUniverseSkill1.8ktodayApache-2.0A0Claude Code