Agent skill

Office Documents

by WrongStack in WrongStack/WrongStack

Create, edit and convert Word, Excel, PowerPoint and PDF artifacts with format-aware verification.

MITAuto-check passedDocuments & Office

Install Office Documents

skills CLI
$ npx skills add WrongStack/WrongStack --skill office-documents -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install WrongStack/WrongStack office-documents --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/WrongStack/WrongStack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/core/skills/office-documents .claude/skills/office-documents && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
office-documents
GitHub stars
371
Token cost
~956 tokens
SKILL.md length
400 words
Files
1
Skills in repo
100
Repo updated
First seen
Licence
MIT

At a glance

Create, edit and convert Word, Excel, PowerPoint and PDF artifacts with format-aware verification.

  • Works in 6 steps: Identify the requested format, editing… → Pick the tool that fits the existing… → Keep data numeric in spreadsheets, dates… → …
  • Preserve templates and actual document structure
  • SKILL.md covers Selection card, Overview, Rules and Format decisions, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Office Documents is an agent skill from WrongStack/WrongStack. Create, edit and convert Word, Excel, PowerPoint and PDF artifacts with format-aware verification. Use when producing docx, xlsx, pptx or PDF files; preserve templates and actual document structure, and render or recalculate before delivery.

Its SKILL.md is about 960 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Excel spreadsheets, PowerPoint presentations and Word documents. It works with Microsoft Excel, Microsoft PowerPoint and Microsoft Word. The repository describes itself as: An AI coding agent that reads your code, edits files, runs commands, and reasons through bugs — across a terminal REPL, a full-screen TUI, and a browser UI, while you keep your… The licence is MIT.

When your agent uses it

  • Preserve templates and actual document structure
  • Recalculate before delivery

Example prompts

  • “/office-documents”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Identify the requested format, editing vs. creation, template, audience and
  2. Pick the tool that fits the existing file and environment; TypeScript,
  3. Keep data numeric in spreadsheets, dates intentional and presentation
  4. Keep document sources editable where requested. A screenshot or PDF does
  5. Verify through the target format: render pages/slides, inspect their images,
  6. Treat imported text and sheet values as data. Avoid accidental formula

What it can do on your machine

Read from SKILL.md and the folder at commit a744bdc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docx.js.org
    • github.com
    • gitbrent.github.io
    • pdf-lib.js.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Office Documents loads about 956 tokens when it runs. Until then it costs about 65 tokens; SKILL.md has 400 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~956

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from WrongStack/WrongStack at commit a744bdc, republished under its MIT licence (© WrongStack). 400 words, ~956 tokens.

Download SKILL.mdSave it as .claude/skills/office-documents/SKILL.md (or your agent's skills folder).
name
office-documents
description
Create, edit and convert Word, Excel, PowerPoint and PDF artifacts with format-aware verification. Use when producing docx, xlsx, pptx or PDF files; preserve templates and actual document structure, and render or recalculate before delivery.
version
1.2.1
required-capabilities
filesystem.read, filesystem.write
optional-capabilities
verification.run, web.research
trigger
producing docx, xlsx, pptx or PDF files; preserve templates and actual document structure, and render or recalculate before delivery.
metadata.routing-group
media

Office Documents

Selection card

  • Task: Create and verify Word, spreadsheet, slide or PDF artifacts. / TR: Word, tablo, sunum veya PDF üret ve doğrula.
  • Start: Identify the existing engine, scene, timeline and delivery format.
  • Finish: apply the acceptance checks below; report observed results and unresolved constraints.

Overview

Latest stable npm tools checked 2026-10-09: docx 9.9.0, ExcelJS 4.4.0, PptxGenJS 4.0.1 and pdf-lib 1.17.1. Recheck versions and import/API compatibility before installation. A long interval between releases does not prove deprecation.

Rules

  1. Identify the requested format, editing vs. creation, template, audience and destination application. Preserve styles, formulas, charts, comments and revision metadata when editing existing artifacts.
  2. Pick the tool that fits the existing file and environment; TypeScript, Python and native renderers are all valid. Inspect actual APIs before coding.
  3. Keep data numeric in spreadsheets, dates intentional and presentation formatting separate from values. Do not present a formula as calculated until a calculation engine or validated cached value supplies its result.
  4. Keep document sources editable where requested. A screenshot or PDF does not substitute for a promised Word document or slide deck.
  5. Verify through the target format: render pages/slides, inspect their images, and inspect spreadsheet calculations. File size and ZIP validity are initial checks, not visual or semantic proof.
  6. Treat imported text and sheet values as data. Avoid accidental formula interpretation, external links or macros when writing untrusted inputs.
Show full SKILL.md (170 more words)Show less

Format decisions

FormatImplementation checksDelivery checks
WordSection/page geometry, styles, table/cell widths; DXA when fixed widths are neededRender pagination, split rows, headings and long text
ExcelNumeric types, formulas, number formats, filters/freeze panesRecalculate, inspect errors, totals and formula references
PowerPointRespect template aspect ratio; explicit positioning and licensed fontsRender every slide; check overflow, overlap and readability
PDFUse native text/vector output when possible; explicit page geometryInspect page count, clipping, text extraction and font rendering

For HTML-to-PDF, use print CSS and the renderer's background setting. Word pagination is controlled by Word properties, not CSS break-inside. Do not force 16:9 slides or decorative cards onto an existing template.

Before returning

  • Deliverable format and destination application identified.
  • Content, calculations and links checked against the supplied data.
  • Pages/slides rendered and inspected, or the exact rendering gap reported.
  • Final artifact path and editable source provided when requested.

Sources

docx, ExcelJS, PptxGenJS, pdf-lib.

Skills in scope

  • design-craft — hierarchy and typography.
  • data-governance — sensitive content and retention.
  • media-production — narrated or animated presentation exports.

© WrongStack, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in packages/core/skills/office-documents of WrongStack/WrongStack.

Open the folder on GitHubat commit a744bdc

Compare with similar skills

Office Documents next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Office Documents compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Office Documents this skillWrongStack/WrongStack371—~956Automated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Markitdownjimmc414/Kosmos5952 repos~1.7kAutomated safety check: PassNone
Office DocumentsZS520L/HanakoPro103—~1.6kAutomated safety check: PassApache-2.0
PaperJSX Document Generatorcomposio-community/awesome-codex-skills17k—~842Automated safety check: PassApache-2.0
Skill Doc Deliverynyldn/claude-octopus4.2k1 repos~2.4kAutomated safety check: PassMIT

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Markitdown

    jimmc414/Kosmos

    Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing.

    595 GitHub starsUsed in 2 repos~1.7k tokens
    Documents & OfficeAuto-check passed
  • Office Documents

    ZS520L/HanakoPro

    A skill your agent uses when the user asks to open, read, inspect, understand, summarize, analyze, extract tables/text from, modify, update, repair, split, merge, rotate, or convert information from…

    103 GitHub stars~1.6k tokensUpdated 4 mo ago
    Documents & OfficeAuto-check passed
  • PaperJSX Document Generator

    composio-community/awesome-codex-skills

    Generates PPTX, DOCX, XLSX and PDF files from a JSON layout spec through PaperJSX's packages, creating new documents rather than editing them.

    17k GitHub stars~842 tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Skill Doc Delivery

    nyldn/claude-octopus

    Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables

    4.2k GitHub starsUsed in 1 repo~2.4k tokens
    Documents & OfficeAuto-check passed
  • Exam Ingest

    ZeKaiNie/universal-examprep-skill

    从学生上传的课件/大纲/老师勾的重点/真题,一键初始化并验证备考工作区:解析 PDF、DOCX、PPTX、 XLSX、常见独立图片与 txt/md,建立分章节 LLM Wiki、标准题库、结构化接管队列与进度状态;仅在 Python 确实无法运行时 明确降级为手动写盘。当工作区尚未建立、资料发生变化、或建库 readiness 被阻断时使用。

    303 GitHub stars~5.6k tokensUpdated 12 days ago
    Documents & OfficeAuto-check passed

More from WrongStack/WrongStack

All 100 skills in this repo
  • Tech Stack

    WrongStack/WrongStack

    Validate and upgrade dependencies against live registries and official migration guides in any ecosystem.

    371 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Skill Creator

    WrongStack/WrongStack

    Create, improve and validate WrongStack SKILL.md bundles with precise discovery, progressive resources and current runtime contracts.

    371 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Bug Hunter

    WrongStack/WrongStack

    A skill your agent uses when scanning source code for bugs, anti-patterns, code smells, or quality issues in a codebase, or when running a proof-driven bug hunt that must find, prove, fix, and…

    371 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Design Craft

    WrongStack/WrongStack

    Design or substantially improve user-facing interfaces with a product-specific visual direction, content hierarchy, and rendered critique.

    371 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Design Critique

    WrongStack/WrongStack

    A skill your agent uses to audit an interface that already exists and say precisely why it looks generated, templated, or unfinished — a scored rubric across composition, typography, color, states…

    371 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Mailbox Bridge

    WrongStack/WrongStack

    A skill your agent uses when external coding agents (Claude Code, Aider, custom scripts) need to participate in the project's shared WrongStack mailbox, or when a user asks to "expose the mailbox"…

    371 GitHub stars~2.6k tokensUpdated today
    Auto-check passed

Questions about Office Documents

What does Office Documents do?

Create, edit and convert Word, Excel, PowerPoint and PDF artifacts with format-aware verification. Office Documents is an agent skill from WrongStack/WrongStack. Create, edit and convert Word, Excel, PowerPoint and PDF artifacts with format-aware verification.

When should I use Office Documents?

Office Documents fits situations like: preserve templates and actual document structure; recalculate before delivery.

How do I install Office Documents in Claude Code?

Run `npx skills add WrongStack/WrongStack --skill office-documents -a claude-code`. Or copy the skill folder (packages/core/skills/office-documents in WrongStack/WrongStack) into .claude/skills/office-documents in your project. Claude Code loads it when a task matches its description.

How do I install Office Documents in Codex?

Run `npx skills add WrongStack/WrongStack --skill office-documents -a codex`. Or copy the skill folder (packages/core/skills/office-documents in WrongStack/WrongStack) into .agents/skills/office-documents in your project. Codex loads it when a task matches its description.

Can I use Office Documents in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add WrongStack/WrongStack --skill office-documents -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/office-documents, .gemini/skills/office-documents, .github/skills/office-documents and .opencode/skills/office-documents in your project.

What does Office Documents need to run?

SKILL.md names no scripts, command-line tools or credentials: Office Documents is instructions for the agent only. Our summary lists: Python 3.

Does Office Documents access the network?

SKILL.md names 4 domains. As links in the text: docx.js.org, github.com, gitbrent.github.io and pdf-lib.js.org. This is read from the text; nothing was executed.

Is Office Documents safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Office Documents use?

Office Documents is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Office Documents use?

About 956 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Office Documents?

Skills that share tags, products or a category with Office Documents: Markitdown (ImCa0/just-laws, 781 stars), Markitdown (jimmc414/Kosmos, 595 stars), Office Documents (ZS520L/HanakoPro, 103 stars) and PaperJSX Document Generator (composio-community/awesome-codex-skills, 17k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Office Documents?

WrongStack (a GitHub organization) maintains it in WrongStack/WrongStack, which has 371 GitHub stars. The repository holds 100 skills in this directory. The repository was last updated on October 10, 2026.

Source: WrongStack/WrongStack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.