document

document is a skill for Claude Code, Codex from agentlas-ai/agentlas-desktop. It costs 26 tokens per session (872 once invoked), scanned A, original, Apache-2.0.

A tool for editing DOCX, HWP, or HWPX documents in an open document workspace. It can inspect the document structure, change paragraphs and table cells, and save the result in its original format.

In plain words
What is it for?
Use it to open or create a word-processing document, replace or insert text, edit table cells, and save the finished file.
Why use it?
It lets you make targeted document edits without manually searching through the file or recreating it. It also keeps edits and saving in one document session.

Skill for Claude CodeCodex

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

Good fit Use it to open or create a word-processing document, replace or insert text, edit table cells, and save the finished file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentlas-ai/agentlas-desktop/document
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 agentlas-ai/agentlas-desktop --skill document
Clone the repo
git clone --depth 1 https://github.com/agentlas-ai/agentlas-desktop

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/agentlas-ai/agentlas-desktop/document/github.svg)](https://agentmods.dev/skills/agentlas-ai/agentlas-desktop/document)
Your own site
<a href="https://agentmods.dev/skills/agentlas-ai/agentlas-desktop/document"><img src="https://agentmods.dev/badge/skills/agentlas-ai/agentlas-desktop/document/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 document

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentlas-ai/agentlas-desktop/document"><img src="https://agentmods.dev/badge/skills/agentlas-ai/agentlas-desktop/document.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 872 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.
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.00026 $0.00872
Opus 5.5 $0.00010 $0.00349
Sonnet 5.5 $0.00005 $0.00174
Haiku 4.5 $0.00003 $0.00087

Measured 2d ago against content hash ab7253da02c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2d 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.

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.

plugins/office/skills/document/SKILL.md · 38 lines

How it starts

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

Steps

  1. harness_call {"operation":"document.list"}: reuse a session already open in this conversation. Otherwise call harness_call {"operation":"document.open","args":{"path":"<absolute path>"}}. For a new file, call document.create with a path that does not exist yet (.docx, or .hwpx for Hangul).
  2. Read the returned outline. The first line gives the paper and body size (# page 210x297mm, body 11pt). Each line starts with the id that ops address: [b3] is a paragraph, and b5.r2c1 is a table cell (row 2, column 1). {bold 14pt center} shows the current format. For a fresh outline, use document.read with sessionId.
  3. Edit with harness_call {"operation":"document.apply","args":{"sessionId":"…","ops":[…]}}. Send a few ops per call so the owner can follow along.
  4. When the work is done, or when the owner asks, save with harness_call {"operation":"document.save","args":{"sessionId":"…"}}.
  5. To check the layout, call harness_call {"operation":"document.render","args":{"sessionId":"…"}}. It returns up to 4 pages as images, as the document is now (saved or not), and lists the blocks that run off the page. When the reply has next, call again with its from until every page has been seen.

Ops

  • {"op":"set_text","target":"b3","text":"…"} replaces a paragraph or table-cell text. \n is a line break inside it.
  • {"op":"insert_text","target":"b3","text":"…","at":0} inserts text. Without at, the text is appended.
  • {"op":"insert_paragraph","after":"b3","text":"…","heading":2} adds a paragraph. "after":"start" puts it first. heading is optional; "pageBreak":true starts a new page (docx, hwpx).
  • {"op":"insert_table","after":"b3","rows":[["구분","내용"],["성명",""]],"widths":[1,3]}: docx and hwpx. widths gives column ratios. "merges":[{"cell":"r2c2","colSpan":3}] merges cells. In an outline, ~ marks a cell covered by the merge to its left or above.
  • {"op":"delete_block","target":"b3"}
  • {"op":"set_format","target":"b3","format":{"bold":true,"size":14,"color":"#c00000","align":"center"},"heading":1} sets the format of a whole paragraph or cell. null removes a value; heading 0 is body text.
  • {"op":"set_format","target":"b5.r1c1","format":{"fill":"#d9e2f3","bold":true}} shades a table cell (a header row, a label column).

Read the full file on GitHub · 38 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. 2d ago Changed ab7253da02c8
  2. 3d ago Changed · +1 lines ebf1fd0526b5
  3. 4d ago First seen · 37 lines · 26 tokens per session scan A 19165c530d85

Subscribe to this mod's changes

document is a skill published in the GitHub repository agentlas-ai/agentlas-desktop (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 26 tokens to every session and 872 once invoked, about $0.0001 per session on Opus 5.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-10-18.

Related

Other skills, from other repositories

cua-volume

Use Cua Volume, the one volume every Space and agent of this user shares. Inside a Space it is mounted as a folder (/volume on Linux, /Cua Volume on macOS), so any program reads and writes it directly. Use it for anything that must outlive this Space - your memory and outputs in your agent home, shared reference in…

trycua/cua · 114 tokens

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

md2pdf

Convert a Markdown file to PDF with GitHub-style formatting using the md2pdf tool.

joshukraine/dotfiles · 22 tokens

delive-transcript-analyzer

Analyze, summarize, and extract insights from DeLive transcription sessions. Use when: user mentions DeLive, transcription, meeting transcripts, live captions, audio transcription, AI correction, corrected transcript, or transcript analysis; user wants to search, retrieve, summarize, correct, or process recorded…

XimilalaXiang/DeLive · 98 tokens

hermesoffice-documents

Produce and edit Word documents in HermesOffice Docs — block editing, tracked changes, reports, and the templates/docs library (meeting notes, business plan, PRD, decision memo, and more). Load for any request that creates or restructures a document.

criptogus/HermesOffice · 57 tokens

electron-expert

Expert in Electron framework, desktop app development, IPC, and cross-platform packaging. Use when the user mentions desktop, Node.js, cross platform, Windows, macOS, or Linux, or when the task involves Electron Architecture, Process Types, IPC Communication, or App Lifecycle.

personamanagmentlayer/pcl · 59 tokens