Install
openclaw skills install agent-sheetshell-native spreadsheet CLI for agent work. Use it for workbook inspection, sheet/range reads, precise writes, import/export handoff, review-table construction, formula analysis, and bounded workbook-native scripting with verification.
openclaw skills install agent-sheetagent-sheet is a local spreadsheet CLI for agents. Prefer it when the task needs real workbook structure, formulas, sheet lifecycle, import/export handoff, or a safe shell roundtrip instead of plain CSV cleanup or ad-hoc xlsx library use.
--entry-idscript js only when built-in commands do not express the workbook change cleanlyagent-sheet already coverswrite cells, write range, write table, write fill, or sheet ... command is clearerfile info as proof of workbook structure--entry-id.entryId over unitId for local workbooks and importswrite range as a full bounded rectangle replacementwrite table --sheet <name> as an A1-anchored table write with header semanticssheet list or inspect workbook for sheet existence and handoff verificationfile info shows unitId: null; keep operating on entryIdfile info is metadata only; it does not prove sheet count, sheet names, or formula stateinit inside an already initialized workspace tree; nested workspace refusal is expectedRead references/gotchas.md when the task looks routine but has import/handoff, shell roundtrip, or workspace ambiguity.
| Task | Read next |
|---|---|
| workspace root, CLI resolution, or workbook target is unclear | playbooks/00-preflight.md |
| inspect workbook state, extract data, search, or review formulas | playbooks/10-read-analyze.md |
| plan the smallest safe mutation path | references/command-selection-matrix.md |
| make data-visible edits or structural workbook changes | playbooks/20-write-safe.md |
| verify a mutation, shell roundtrip, or handoff | playbooks/15-verify.md |
| create, import, open, or export a local workbook | playbooks/30-file-lifecycle.md |
| stream workbook data through shell tools | references/shell-patterns.md |
| formatting, layout, or other built-in command gaps | playbooks/40-script-fallback.md |
import/handoff, entryId targeting, file info, or shell verification edge cases | references/gotchas.md |
--to-stdout for shell pipelines--to-file --output <path> for large reusable extractsUse these before improvising shell snippets:
| Asset | Use when |
|---|---|
| examples/roundtrip-awk-write-table.md | building a review sheet through shell roundtrip |
| examples/handoff-verify.md | exporting, importing, and proving handoff structure |
| examples/template-import-anchor-check.md | importing a template workbook and checking anchor cells |
| scripts/verify_csv_preview.py | comparing header, head sample rows, and a key column |
| scripts/check_csv_cells.py | asserting anchor values or non-empty cells from a CSV snippet |
Read only the file needed for the task:
| File | Use when |
|---|---|
| playbooks/00-preflight.md | workspace or workbook context is not yet resolved |
| playbooks/10-read-analyze.md | inspecting workbook state, extracting data, searching, or reviewing formulas |
| references/command-selection-matrix.md | picking the smallest correct command before writing |
| playbooks/15-verify.md | proving a mutation or handoff actually succeeded |
| playbooks/20-write-safe.md | choosing the smallest safe mutation path |
| playbooks/30-file-lifecycle.md | creating, importing, opening, or exporting a local workbook |
| playbooks/40-script-fallback.md | built-in commands cannot express the requested workbook change |
| references/shell-patterns.md | the task is naturally a shell pipeline |
| references/gotchas.md | the task involves common real-world failure modes |
| references/js-api-minimal.md | script js is necessary and must stay tightly bounded |
| examples/roundtrip-awk-write-table.md | you need a concrete shell roundtrip example |
| examples/handoff-verify.md | you need a concrete export/import handoff example |
| examples/template-import-anchor-check.md | you need a concrete non-English template import example |