ooxml-editing-skill

ooxml-editing-skill is a skill for OpenCode from darellchua2/opencode-config-template. It costs 55 tokens per session (960 once invoked), scanned A, original, Apache-2.0.

A tool for making targeted edits inside DOCX, PPTX, and XLSX files, which are Microsoft Word, PowerPoint, and Excel formats. It changes the underlying file structure while preserving unrelated content.

In plain words
What is it for?
Use it to fix specific text, update chart data, remove a slide, change a shape's fill, or perform other precise Office-file edits.
Why use it?
Regenerating a whole Office file can alter formatting or other content; targeted edits limit the change to the requested part and validate the result.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions OpenCode.

Good fit Use it to fix specific text, update chart data, remove a slide, change a shape's fill, or perform other precise Office-file edits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/ooxml-editing-skill
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 darellchua2/opencode-config-template --skill ooxml-editing-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: OpenCode.

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 ooxml-editing-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/ooxml-editing-skill.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/ooxml-editing-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/ooxml-editing-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/ooxml-editing-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 960 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00055 $0.00960
Opus 5 $0.00028 $0.00480
Sonnet 5 $0.00011 $0.00192
Haiku 4.5 $0.00006 $0.00096

Measured 4d ago against content hash 00a92c4b392a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ooxml-editing-skill 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 4d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/clean.py, scripts/pack.py, scripts/unpack.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.

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.

opencode_app/.opencode/skills/ooxml-editing-skill/SKILL.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What I do

I provide surgical OOXML editing for any Office file (.docx, .pptx, .xlsx). Rather than regenerating an entire document, I unpack the zip, edit specific XML elements, validate the structure, and repack — preserving everything else exactly.

  • Unpack any Office file to its XML parts (unpack.py)
  • Edit individual XML elements (slide XML, document XML, workbook XML)
  • Validate structural integrity before repacking (validate.py + validators/)
  • Clean unreferenced files from unpacked dirs (clean.py)
  • Pack the edited XML back into a valid Office file (pack.py)

I also house the html2pptx escape hatch — explicit "convert HTML to PPTX" requests only. This path is undocumented in the orchestrator's default routing and is surfaced only when the user explicitly says "convert HTML to PowerPoint".

When to use me

Use this skill when the user wants:

  • "Fix typo on slide 4" / "change this specific text" — surgical edits
  • "Update this chart's data" — targeted XML modification
  • "Remove slide 3" — structural edit
  • "Change this shape's fill color" — property edit
  • "Convert HTML to PPTX" (explicit escape hatch — follows the hidden-JSON approach: html2pptx → generate-template → generate-slide)

Do NOT use me for:

  • Template-based slide generation → pptx-generate-slide-skill
  • Template extraction/embedding → pptx-generate-template-skill
  • Template extension (cloning layouts) → pptx-template-modifier-skill
  • Visual analysis / thumbnails → office-thumbnail-skill

Prerequisites

  • Python 3.9+ with defusedxml for secure XML parsing
  • LibreOffice (soffice) — only needed by some validators for render-checking; not required for basic unpack/pack
  • For the html2pptx escape hatch only: Node.js + pptxgenjs + playwright + sharp (not needed for pure OOXML editing)

Workflow

  1. Unpack the Office file to a working directory:
    python scripts/unpack.py presentation.pptx unpacked/
    

Read the full file on GitHub · 85 lines

Files

What ships with it

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

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. 4d ago First seen · 85 lines · 55 tokens per session scan A 00a92c4b392a

Subscribe to this mod's changes

ooxml-editing-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 55 tokens to every session and 960 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens