- crates/mcp: stdio MCP client (initialize, tools/list with paging, tools/call), mcp.json - apps/extension: MV3 extension with pinned ID; tabs/open/snapshot(+diff)/click/fill/press/ scroll/extract/screenshot/wait_for/batch via chrome.scripting, tab group, glide cursor - crates/native-host: length-prefixed stdio relay to the app's unix socket; the app binary doubles as the host; manifests registered for Chrome, Brave, Edge, Arc, Vivaldi, Chromium - helper pdf: real Letter/A4 pages, multi-page - skills: pdf, documents, mac-apps, research, browser - .env.example Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
824 B
Markdown
15 lines
824 B
Markdown
---
|
|
name: documents
|
|
description: Word documents, RTF, plain text and spreadsheets (CSV/Numbers/Excel) with built-in macOS tools.
|
|
---
|
|
# Documents and sheets
|
|
|
|
- **Word (.docx)**: write clean HTML, then `textutil -convert docx tmp/doc.html -output output/Name.docx`.
|
|
Headings, bold, lists and simple tables survive; keep styling simple.
|
|
- **RTF / Pages-friendly**: `textutil -convert rtf …`. To read .docx/.rtf/.pages use `device_read_file`.
|
|
- **Spreadsheets**: write CSV with a header row (quote fields with commas). For a real .xlsx,
|
|
try `python3 -c "import openpyxl"`; if it's missing, `python3 -m pip install --target tmp/py openpyxl`
|
|
and run with `PYTHONPATH=tmp/py`. Numbers opens CSV and XLSX.
|
|
- Check what you made: read it back (`textutil -convert txt -stdout`, or re-open the CSV) before
|
|
you say it's done.
|