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/tables.md
View on GitHub# Tables
### Key Table Commands with Flags
#### tables get
Retrieve table structure and dimensions by locator.
```bash
superdoc tables get --target-json '{"kind":"block","nodeType":"table","nodeId":"ABC"}' 2>/dev/null
superdoc tables get --node-id "ABC" 2>/dev/null
```
#### tables get-cells
Retrieve cell information, optionally filtered by row or column.
```bash
superdoc tables get-cells --target-json '{"kind":"block","nodeType":"table","nodeId":"ABC"}' 2>/dev/null
```
#### tables insert-row
Insert a new row into the target table.
```bash
superdoc tables insert-row --target-json '{"kind":"block","nodeType":"table","nodeId":"ABC"}' --row-index 2 --position below --tracked 2>/dev/null
```
| Flag | Type | Required | Description |
|------|------|----------|-------------|
| `--target-json` | JSON | no | Table or row target |
| `--node-id` | string | no | Flat flag alternative |
| `--row-index` | number | no | Row index for positioning |
| `--position` | string | yes | `above` or `below` |
| `--count` | number | no | Number of rows to insert (default: 1) |
| `--tracked` | boolean | no | Apply as tracked change |
| `--dry-run` | boolean | no | Preview |
#### tables delete-row
Delete a row from the target table.
```bash
superdoc tables delete-row --target-json '{"kind":"block","nodeType":"table","nodeId":"ABC"}' --row-index 2 --tracked 2>/dev/null
```
| Flag | Type | Required | Description |
|------|------|----------|-------------|
| `--target-json` | JSON | no | Table or row target |
| `--node-id` | string | no | Flat flag alternative |
| `--row-index` | number | no | Row index to delete |
| `--tracked` | boolean | no | Apply as tracked change |
| `--dry-run` | boolean | no | Preview |
#### tables insert-column
Insert a new column into the target table.
```bash
superdoc tables insert-column --target-json '{"kind":"block","nodeType":"table","nodeId":"ABC"}' --column-index 1 --position right --tracked 2>/dev/null
```
| Flag | Type | Required | Description |
|------|------|----------|-------------|
| `--target-json` | JSON | no | Table target |
| `--node-id` | string | no | Flat flag alternative |
| `--column-index` | number | yes | Column index for positioning |
| `--position` | string | yes | `left` or `right` |
| `--count` | number | no | Number of columns to insert (default: 1) |
| `--tracked` | boolean | no | Apply as tracked change |
| `--dry-run` | boolean | no | Preview |
#### tables delete-column
Delete a column from the target table.
```bash
superdoc tables delete-column --target-json '{"kind":"block","nodeType":"table","nodeId":"ABC"}' --column-index 2 --tracked 2>/dev/null
```
| Flag | Type | Required | Description |
|------|------|----------|-------------|
| `--target-json` | JSON | no | Table target |
| `--node-id` | string | no | Flat flag alternative |
| `--column-index` | number | yes | Column index to delete |
| `--tracked` | boolean | no | Apply as tracked change |
| `--dry-run` | boolean | no | Preview |
#### tables merge-cells
Merge a range of table cells into one.
```bash
superdoc tables merge-cells --target-json '{"kind":"block","nodeType":"table","nodeId":"ABC"}' --start-json '{"rowIndex":0,"columnIndex":0}' --end-json '{"rowIndex":1,"columnIndex":2}' 2>/dev/null
```
| Flag | Type | Required | Description |
|------|------|----------|-------------|
| `--target-json` | JSON | no | Table target |
| `--node-id` | string | no | Flat flag alternative |
| `--start-json` | JSON | yes | `{"rowIndex":<n>,"columnIndex":<n>}` |
| `--end-json` | JSON | yes | `{"rowIndex":<n>,"columnIndex":<n>}` |
| `--dry-run` | boolean | no | Preview |
### All Table Commands
| Command | Description | Key flags |
|---------|-------------|-----------|
| `tables get` | Get table structure | `--target-json`, `--node-id` |
| `tables get-cells` | Get cell info | `--target-json`, `--node-id` |
| `tables get-properties` | Get layout/style props | `--target-json`, `--node-id` |
| `tables get-styles` | List all table styles | (none) |
| `tables insert-row` | Insert row | `--target-json`, `--row-index`, `--position`, `--tracked` |
| `tables delete-row` | Delete row | `--target-json`, `--row-index`, `--tracked` |
| `tables insert-column` | Insert column | `--target-json`, `--column-index`, `--position`, `--tracked` |
| `tables delete-column` | Delete column | `--target-json`, `--column-index`, `--tracked` |
| `tables insert-cell` | Insert cell | `--target-json`, `--dry-run` |
| `tables delete-cell` | Delete cell | `--target-json`, `--dry-run` |
| `tables merge-cells` | Merge cells | `--target-json`, `--start-json`, `--end-json`, `--dry-run` |
| `tables unmerge-cells` | Unmerge cells | `--target-json`, `--dry-run` |
| `tables split-cell` | Split a cell | `--target-json`, `--dry-run` |
| `tables delete` | Delete entire table | `--target-json`, `--tracked` |
| `tables clear-contents` | Clear table contents | `--target-json`, `--dry-run` |
| `tables move` | Move table to new position | `--target-json`, `--at-json`, `--dry-run` |
| `tables split` | Split table at a row | `--target-json`, `--dry-run` |
| `tables sort` | Sort rows by column | `--target-json`, `--dry-run` |
| `tables convert-from-text` | Text to table | `--target-json`, `--dry-run` |
| `tables convert-to-text` | Table to text | `--target-json`, `--dry-run` |
| `tables set-layout` | Set layout mode | `--target-json`, `--layout`, `--dry-run` |
| `tables set-row-height` | Set row height | `--target-json`, `--dry-run` |
| `tables distribute-rows` | Even row heights | `--target-json`, `--dry-run` |
| `tables set-row-options` | Header repeat, page break | `--target-json`, `--dry-run` |
| `tables set-column-width` | Set column width | `--target-json`, `--dry-run` |
| `tables distribute-columns` | Even column widths | `--target-json`, `--dry-run` |
| `tables set-cell-properties` | Vertical align, text dir | `--target-json`, `--dry-run` |
| `tables set-alt-text` | Table alt text | `--target-json`, `--text`, `--dry-run` |
| `tables set-style` | Apply named table style | `--target-json`, `--style`, `--dry-run` |
| `tables clear-style` | Remove table style | `--target-json`, `--dry-run` |
| `tables set-style-option` | Toggle banded rows, etc. | `--target-json`, `--dry-run` |
| `tables set-border` | Set border | `--target-json`, `--dry-run` |
| `tables clear-border` | Remove border | `--target-json`, `--dry-run` |
| `tables apply-border-preset` | Apply border preset | `--target-json`, `--dry-run` |
| `tables set-shading` | Set background color | `--target-json`, `--dry-run` |
| `tables clear-shading` | Remove shading | `--target-json`, `--dry-run` |
| `tables set-table-padding` | Set default cell padding | `--target-json`, `--dry-run` |
| `tables set-cell-padding` | Set cell padding | `--target-json`, `--dry-run` |
| `tables set-cell-spacing` | Set cell spacing | `--target-json`, `--dry-run` |
| `tables clear-cell-spacing` | Remove cell spacing | `--target-json`, `--dry-run` |
| `tables apply-style` | Apply style + options | `--target-json`, `--dry-run` |
| `tables set-borders` | Set borders per-edge | `--target-json`, `--dry-run` |
| `tables set-table-options` | Set default margins/spacing | `--target-json`, `--dry-run` |
| `tables set-default-style` | Set document default table style | `--dry-run` |
| `tables clear-default-style` | Remove default table style | `--dry-run` |
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: 198k | 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: 198k | 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: 198k | 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: 198k | Updated | Claude CodeCodex | Verified | Install |