wecomcli-sheet

wecomcli-sheet is a skill for Claude Code, Codex from WecomTeam/wecom-cli. It costs 130 tokens per session (1,947 once invoked), scanned A, original, MIT.

A tool for managing WeCom online spreadsheets, including spreadsheet files, data, and subtables. WeCom is an enterprise collaboration platform.

In plain words
What is it for?
Creating or importing CSV and Excel files, reading and editing spreadsheet data, appending rows, and adding or removing subtables.
Why use it?
It reduces manual spreadsheet editing and provides separate operations for importing files, changing cells, adding rows, and managing subtables.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating or importing CSV and Excel files, reading and editing spreadsheet data, appending rows, and adding or removing subtables.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wecomteam/wecom-cli/wecomcli-sheet
About the project

wecom-cli is a command-line tool for operating WeCom, covering messaging, email, documents, spreadsheets, tasks, calendars, meetings, cloud files, and contact searches. It is intended for people and AI agents that need to perform WeCom workplace operations from a terminal. Its catalogue entries provide skills and instructions for using the tool.

WecomTeam/wecom-cli · 3,214 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add WecomTeam/wecom-cli --skill wecomcli-sheet
Clone the repo
git clone --depth 1 https://github.com/WecomTeam/wecom-cli

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wecomcli-sheet

README.md
[![agentmods](https://agentmods.dev/badge/skills/wecomteam/wecom-cli/wecomcli-sheet/github.svg)](https://agentmods.dev/skills/wecomteam/wecom-cli/wecomcli-sheet)
Your own site
<a href="https://agentmods.dev/skills/wecomteam/wecom-cli/wecomcli-sheet"><img src="https://agentmods.dev/badge/skills/wecomteam/wecom-cli/wecomcli-sheet/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wecomcli-sheet

Your own site · 80×15
<a href="https://agentmods.dev/skills/wecomteam/wecom-cli/wecomcli-sheet"><img src="https://agentmods.dev/badge/skills/wecomteam/wecom-cli/wecomcli-sheet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,947 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 16 Sept 2026
  • Snyk warn 16 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00130 $0.01947
Opus 5.5 $0.00052 $0.00779
Sonnet 5.5 $0.00026 $0.00389
Haiku 4.5 $0.00013 $0.00195

Measured 1mo ago against content hash f8922bb2e2ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wecomcli-sheet scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/wecomcli-sheet/SKILL.md · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

企业微信在线表格管理

执行任何 wecom-cli 命令前,必须先读取并完成 wecomcli-shared 技能的公共前置检查。

资源型 skill,负责在线表格(sheet)的新建、导入与内容读写及子表管理。

适用范围

适用

  • 新建 / 导入企微在线表格
  • 读取 / 修改 / 追加在线表格内容
  • 添加 / 删除在线表格子表

不适用

  • 搜索文档 / 修改文档权限 / 重命名 / 加成员 → 改用 wecomcli-doc-manage
  • 用户给的链接是 https://doc.weixin.qq.com/smartsheet/... → 改用 wecomcli-smartsheet
  • 若遇到的 docid 以 s3 开头(形如 s3_xxxx)→ 改用 wecomcli-smartsheet

接口路由表

硬规则:第二列是 references/xxx.md 链接的, 命中这一行后先 read 对应 references 文件,再构造命令。

用户意图 参考位置
新建在线表格 见下方「新建在线表格」
导入本地 CSV / Excel 文件为企微在线表格 见下方「导入在线表格」
读取在线表格基础信息与子表列表 见下方「读取在线表格」
读取在线表格子表数据 references/sheet-ranges-get.md
修改在线表格指定区域内容 references/sheet-contents-update.md
在线表格末尾追加一行数据 references/sheet-rows-append.md
添加在线表格子工作表 references/sheet-subsheets-add.md
删除在线表格子工作表 references/sheet-subsheets-delete.md

接口详述

新建在线表格

从零新建企微在线表格时,先按用户需求创建一个本地 .xlsx,完成质量校验后,再通过 wecom-cli sheet import 导入为企微在线表格。

标准流程
  1. 使用 openpyxl 创建本地 .xlsx
  2. 导入前校验本地 .xlsx:文件存在且非空、可正常打开、工作表名称与数量正确、关键数据/公式/格式符合用户要求。校验不通过时先修复本地文件,不得导入未验证产物。
  3. 调用下方「导入在线表格」的 wecom-cli sheet import,把已校验的 .xlsx 导入为企微在线表格。
  4. 确认导入结果的 task_status 为成功状态。向用户返回企微在线表格 URL。除非用户明确要求保留或接收本地文件,否则不要把本地 .xlsx 当作最终交付物。
使用规则
  • 不要混淆编辑场景:上述流程只适用于从零新建。修改已有企微在线表格时,继续使用读取、修改、追加、子表管理等在线接口,不得重新生成 XLSX 后覆盖导入

导入在线表格

把本地文件(.csv / .xls / .xlsx)导入为企微在线表格。

命令
wecom-cli sheet import --json '<JSON 参数>'
参数
字段 类型 必填 默认值 语义
file_name string 是 — 二进制文件名(含后缀),用于业务判断源文件类型
file_path string 是 — 源文件的本地绝对路径
passwd string 否 — Office 文件加密密码(若有)
返回
字段 类型 说明
docid string 导入完成后的表格 ID
url string 导入完成后的访问链接
task_status string 任务状态枚举,如 succ 成功

Read the full file on GitHub · 149 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -27 lines f8922bb2e2ba
  2. 1mo ago Changed · +3 lines 394ee720714e
  3. 1mo ago First seen · 173 lines · 130 tokens per session scan A cfb9b073af21

Subscribe to this mod's changes

wecomcli-sheet is a skill published in the GitHub repository WecomTeam/wecom-cli (3,214 stars, last pushed 4d ago), licensed MIT. It adds 130 tokens to every session and 1,947 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.