document

document is a skill for Claude Code, Codex from thewolffish/wolffish-app. It costs 24 tokens per session (2,128 once invoked), scanned A, original, MIT.

A document-handling skill for reading, creating, changing, converting, merging, and inspecting DOCX, HTML, Markdown, plain-text, and RTF files. DOCX is the Microsoft Word document format.

In plain words
What is it for?
Use it to create or edit Word documents, fill templates, convert formats, merge files, build tables of contents, compare documents, inspect metadata, and extract images.
Why use it?
It brings common document operations into one interface and provides rules for preserving templates, handling open-file errors, and supporting right-to-left text.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/thewolffish/wolffish-app/document
Any agent
npx skills add thewolffish/wolffish-app --skill document
Clone the repo
git clone --depth 1 https://github.com/thewolffish/wolffish-app

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 document

README.md
[![agentmods](https://agentmods.dev/badge/skills/thewolffish/wolffish-app/document.svg)](https://agentmods.dev/skills/thewolffish/wolffish-app/document)
Your own site
<a href="https://agentmods.dev/skills/thewolffish/wolffish-app/document"><img src="https://agentmods.dev/badge/skills/thewolffish/wolffish-app/document.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,128 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00024 $0.02128
Opus 5 $0.00012 $0.01064
Sonnet 5 $0.00005 $0.00426
Haiku 4.5 $0.00002 $0.00213

Measured 5d ago against content hash ead82fe5ec20, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

document 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (plugin/index.mjs), 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.

src/defaults/workspace/brain/cerebellum/document/SKILL.md · 275 lines

What it actually says

Document

Interface

  • Tools: document_read, document_create, document_modify, document_template, document_convert, document_merge, document_toc, document_metadata, document_compare, document_extract_images
  • Supported input formats: .docx, .html, .md, .txt, .rtf
  • Primary output format: .docx (create/modify/merge/template)
  • All paths must be absolute. Complex parameters are JSON strings.

Rules

  • Use mammoth for reading .docx files (extracts to HTML/text).
  • Use docx npm package for creating new .docx files programmatically.
  • For template filling (document_template), unzip the .docx, string-replace {{placeholders}} in the XML, and rezip. This preserves original formatting.
  • For document_convert with docx->pdf output, this capability uses the pdf capability (declared in requires).
  • Support BiDi/RTL text via the docx package's bidirectional paragraph options.
  • Use os.EOL for line endings in plain text output.
  • Handle EBUSY/EPERM errors gracefully (file open in another app).

Content Block Types for document_create

  • heading: { type, text, level (1-6), alignment? }
  • paragraph: { type, text, alignment?, bold?, italic?, font?, size?, spacing?, indent? }
  • table: { type, headers: string[], rows: string[][], columnWidths?, style? }
  • image: { type, path, width?, height?, caption? }
  • list: { type, items: string[], ordered?, nested? }
  • page_break: { type }
  • table_of_contents: { type, depth? }
  • header: { type, text }
  • footer: { type, text }
  • code_block: { type, text, language? }
Files

What ships with it

2 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. 5d ago First seen · 275 lines · 24 tokens per session scan A ead82fe5ec20

Subscribe to this mod's changes

document is a skill published in the GitHub repository thewolffish/wolffish-app (5 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 2,128 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

doc-ingest

Extract readable text from document files — PDF, XLSX/CSV/TSV, DOCX, PPTX, and plain-text formats — so any task that arrives with an attachment can actually consume it.

sonichi/sutando · 0 tokens

agent-computer-use

REQUIRED for any task that involves operating a desktop application — opening apps, clicking buttons, typing into fields, pressing keys, scrolling, dragging, reading what's on screen, moving or resizing windows, or verifying state after an action. Always use the agent-cu CLI commands (open, snapshot, click, type, key…

kortix-ai/agent-computer-use · 216 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

create-skill

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

warpdotdev/warp · 64 tokens

logging-and-error-reporting

How and when to log (log:: levels, safe macros) and report errors to Sentry (reporterror!) in the Warp codebase. Use when adding or reviewing any logging or error reporting — picking a log level, deciding log vs. reporterror!, keeping sensitive data out of logs, or surfacing an error to Sentry.

warpdotdev/warp · 75 tokens

gui-integration-test

GUI desktop app only. Writes, runs, and debugs Warp integration tests using the custom Builder/TestStep framework in crates/integration. Use when adding a new integration test, fixing a failing integration test, wiring a test into the manual runner or nextest suite, or verifying end-to-end UI and terminal behavior in…

warpdotdev/warp · 72 tokens