FISCFED9/CLI / .agents/skills/docx-processing-lawvable
Word Editor
VerifiedEdit, query, and transform Word documents (.docx) with the SuperDoc CLI. Use when the user asks to read, search, modify, format, comment, track changes, or review changes in .docx files. Triggers on any task involving Word documents — text replacement, redlining, contract markup, template filling, bulk edits, content extraction, or document review.
| File | Kind | Size |
|---|---|---|
| LICENSE.txt | markdown | 33.7 KB |
| SKILL.md | skill md | 5.6 KB |
| references/bookmarks-footnotes.md | markdown | 2.2 KB |
| references/citations.md | markdown | 2.6 KB |
| references/comments.md | markdown | 2.6 KB |
| references/content-controls.md | markdown | 6.2 KB |
| references/create.md | markdown | 2.6 KB |
| references/diff.md | markdown | 2.0 KB |
| references/format.md | markdown | 7.3 KB |
| references/headers-footers.md | markdown | 1.4 KB |
| references/hyperlinks.md | markdown | 2.1 KB |
| references/images.md | markdown | 2.6 KB |
| references/index.md | markdown | 6.0 KB |
| references/lists.md | markdown | 4.3 KB |
| references/mutations-apply.md | markdown | 6.4 KB |
| references/mutations.md | markdown | 4.8 KB |
| references/protection.md | markdown | 849 B |
| references/reading.md | markdown | 5.2 KB |
| references/sections.md | markdown | 1.8 KB |
| references/session.md | markdown | 2.7 KB |
| references/tables.md | markdown | 7.2 KB |
| references/toc.md | markdown | 2.3 KB |
| references/track-changes.md | markdown | 1.8 KB |
references/session.md
View on GitHub# Session Lifecycle
### open
Open a document and create a persistent editing session.
```bash
superdoc open <doc> [flags] 2>/dev/null
```
| Flag | Type | Description |
|------|------|-------------|
| `<doc>` | string (positional) | Path to the .docx file |
| `--user-name` | string | Author name for tracked changes and comments |
| `--user-email` | string | Author email |
| `--content-override` | string | Seed body from markdown/html/text |
| `--override-type` | string | `markdown`, `html`, or `text` |
| `--password` | string | Document password |
| `--session` | string | Custom session ID |
| `--collaboration-json` | JSON | Collaboration provider config |
| `--collab-url` | string | WebSocket server URL (shorthand) |
| `--collab-document-id` | string | Room/document identifier (shorthand) |
Examples:
```bash
superdoc open my-doc.docx 2>/dev/null
superdoc open my-doc.docx --user-name "AI Agent" --user-email "agent@example.com" 2>/dev/null
superdoc open template.docx --content-override "# Title" --override-type markdown 2>/dev/null
```
### save
Save the current session to the original file or a new path.
```bash
superdoc save [flags] 2>/dev/null
```
| Flag | Type | Description |
|------|------|-------------|
| `--out` | string | Save to a different file path |
| `--force` | boolean | Overwrite if output file exists |
| `--in-place` | boolean | Save in-place (default behavior) |
| `--session` | string | Session ID |
Examples:
```bash
superdoc save 2>/dev/null # save in-place
superdoc save --out ./new.docx 2>/dev/null # save to a different file
```
### close
Close the active editing session and clean up resources.
```bash
superdoc close [flags] 2>/dev/null
```
| Flag | Type | Description |
|------|------|-------------|
| `--discard` | boolean | Close and discard unsaved changes |
| `--session` | string | Session ID |
Examples:
```bash
superdoc close 2>/dev/null # close (must save first)
superdoc close --discard 2>/dev/null # close and discard unsaved changes
```
### status
Show the current session status and document metadata.
```bash
superdoc status 2>/dev/null
```
### Session Management
| Command | Description |
|---------|-------------|
| `session list` | List all active editing sessions |
| `session save` | Persist the current session state |
| `session close --session <id>` | Close a specific session by ID |
| `session set-default --session <id>` | Set the default session for subsequent commands |
---
## History
| Command | Description |
|---------|-------------|
| `history get` | Query the current undo/redo history state |
| `history undo` | Undo the most recent history-safe mutation |
| `history redo` | Redo the most recently undone action |
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |