agent-sheet

shell-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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "agent-sheet" with this command: npx skills add yangluoshen/agent-sheet

agent-sheet

agent-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.

Use it for

  • resolving a workbook and keeping the target explicit with --entry-id
  • inspecting workbook structure, sheets, ranges, formulas, and search hits
  • writing sparse cells, bounded ranges, anchored review tables, or formula fills
  • importing a local workbook, continuing edits, and exporting a final file
  • streaming workbook data through shell tools, then writing verified results back
  • using bounded script js only when built-in commands do not express the workbook change cleanly

Do not default to

  • reopening the workbook with a local workbook library for reads or writes that agent-sheet already covers
  • using shell transforms when a direct write cells, write range, write table, write fill, or sheet ... command is clearer
  • trusting metadata-only surfaces such as file info as proof of workbook structure
  • finishing after a write without a task-specific verification pass

First path

  1. Run playbooks/00-preflight.md.
  2. Resolve the workbook and keep using --entry-id.
  3. Choose the smallest matching command via references/command-selection-matrix.md.
  4. Verify with playbooks/15-verify.md before finishing.

Hard defaults

  • prefer entryId over unitId for local workbooks and imports
  • treat write range as a full bounded rectangle replacement
  • treat write table --sheet <name> as an A1-anchored table write with header semantics
  • verify shell roundtrips with structure plus sample rows, not row count alone
  • use sheet list or inspect workbook for sheet existence and handoff verification

Highest-signal gotchas

  • imported local entries can be healthy even when later file info shows unitId: null; keep operating on entryId
  • file info is metadata only; it does not prove sheet count, sheet names, or formula state
  • do not run init inside an already initialized workspace tree; nested workspace refusal is expected
  • non-English sheet names work, but quote the full A1 range string in the shell
  • shell pipelines can preserve the expected row count while still shifting headers or keys; verify the first rows and key columns after writeback

Read references/gotchas.md when the task looks routine but has import/handoff, shell roundtrip, or workspace ambiguity.

Task routing

TaskRead next
workspace root, CLI resolution, or workbook target is unclearplaybooks/00-preflight.md
inspect workbook state, extract data, search, or review formulasplaybooks/10-read-analyze.md
plan the smallest safe mutation pathreferences/command-selection-matrix.md
make data-visible edits or structural workbook changesplaybooks/20-write-safe.md
verify a mutation, shell roundtrip, or handoffplaybooks/15-verify.md
create, import, open, or export a local workbookplaybooks/30-file-lifecycle.md
stream workbook data through shell toolsreferences/shell-patterns.md
formatting, layout, or other built-in command gapsplaybooks/40-script-fallback.md
import/handoff, entryId targeting, file info, or shell verification edge casesreferences/gotchas.md

Output style

  • prefer bounded previews, file paths, or stream output over oversized inline dumps
  • use --to-stdout for shell pipelines
  • use --to-file --output <path> for large reusable extracts
  • when reporting success, include the verification surface you actually used

Ready-made assets

Use these before improvising shell snippets:

AssetUse when
examples/roundtrip-awk-write-table.mdbuilding a review sheet through shell roundtrip
examples/handoff-verify.mdexporting, importing, and proving handoff structure
examples/template-import-anchor-check.mdimporting a template workbook and checking anchor cells
scripts/verify_csv_preview.pycomparing header, head sample rows, and a key column
scripts/check_csv_cells.pyasserting anchor values or non-empty cells from a CSV snippet

Read next

Read only the file needed for the task:

FileUse when
playbooks/00-preflight.mdworkspace or workbook context is not yet resolved
playbooks/10-read-analyze.mdinspecting workbook state, extracting data, searching, or reviewing formulas
references/command-selection-matrix.mdpicking the smallest correct command before writing
playbooks/15-verify.mdproving a mutation or handoff actually succeeded
playbooks/20-write-safe.mdchoosing the smallest safe mutation path
playbooks/30-file-lifecycle.mdcreating, importing, opening, or exporting a local workbook
playbooks/40-script-fallback.mdbuilt-in commands cannot express the requested workbook change
references/shell-patterns.mdthe task is naturally a shell pipeline
references/gotchas.mdthe task involves common real-world failure modes
references/js-api-minimal.mdscript js is necessary and must stay tightly bounded
examples/roundtrip-awk-write-table.mdyou need a concrete shell roundtrip example
examples/handoff-verify.mdyou need a concrete export/import handoff example
examples/template-import-anchor-check.mdyou need a concrete non-English template import example

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

YiHui GIT MONITOR

通用 Git 项目监控工具。支持 GitHub、GitLab、Gitee 等所有 Git 平台。可以添加、删除、检查任意 Git 仓库的更新,自动拉取代码并生成变更摘要。

Registry SourceRecently Updated
00Profile unavailable
Coding

Workspace Governance

A methodology-first workspace governance skill for AI agents. Focuses on principles, decision framework, and safe execution patterns instead of fixed directo...

Registry SourceRecently Updated
Coding

Nox Influencer - Creator Discovery & Influencer Marketing

Runs NoxInfluencer creator and marketing-ops workflows via CLI, including creator discovery for influencer marketing, creator marketing, UGC, social media ma...

Registry SourceRecently Updated
Coding

Gigo Lobster Doctor

🦞 GIGO · gigo-lobster-doctor: 环境体检模式:只检查 gateway、Python 依赖、题包链路与 PNG 证书能力,不跑正式试吃。 Triggers: 龙虾体检 / 检查龙虾环境 / lobster doctor / check lobster environment.

Registry SourceRecently Updated