Word
by @ivangdavila
Control Word app sessions, documents, selections, comments, export, and review state with osascript workflows.
clawhub install wordπ About This Skill
name: Word slug: word version: 1.0.0 homepage: https://clawic.com/skills/word description: Control Word app sessions, documents, selections, comments, export, and review state with osascript workflows. changelog: Initial release with live Word automation patterns for sessions, selections, review actions, export, and recovery. metadata: {"clawdbot":{"emoji":"π","requires":{"bins":["osascript"]},"os":["darwin"],"configPaths":["~/word/"]}}
When to Use
User needs Microsoft Word controlled as a live application, not treated as a .docx file format.
Agent handles app attach, active document state, selection-aware edits, comments, track changes, export, and clean shutdown through the official osascript CLI.
If the main artifact is offline DOCX creation or structural file editing, use word-docx instead.
Architecture
Memory lives in ~/word/. If ~/word/ does not exist, run setup.md. See memory-template.md for structure.
~/word/
βββ memory.md # Environment facts, safe defaults, and last working control path
βββ incidents.md # Reusable failures and proven recovery steps
βββ document-notes.md # Non-sensitive notes about trusted documents, views, and export targets
Quick Reference
Load only the smallest file that matches the current Word task and risk level.
| Topic | File |
|-------|------|
| Setup guide | setup.md |
| Memory template | memory-template.md |
| Interface selection | execution-matrix.md |
| Live control patterns | live-control-patterns.md |
| Destructive action guardrails | safety-checklist.md |
| Debug and recovery | troubleshooting.md |
Requirements
osascript available.Core Rules
1. Choose the app-control path by document state
osascript for live Word document control through the app's scripting dictionary.2. Identify the exact document and view before acting
3. Read before write, then verify the final state
4. Treat selection-driven actions as high-risk
5. Separate reversible review actions from destructive cleanup
6. Keep provenance explicit
7. Recover cleanly and avoid orphaned app sessions
Word Traps
.docx file -> review state, comments, fields, and view context drift apart.Security & Privacy
Data that stays local:
~/word/.Data that may leave your machine:
This skill does NOT:
Related Skills
Install withclawhub install if user confirms:
word-docx β Offline DOCX generation and editing when Word does not need to stay open.office β Broader Office task routing across documents, spreadsheets, and presentations.applescript β macOS app automation patterns when Word dictionary work needs deeper script design.Feedback
clawhub star wordclawhub sync