Agent skill

Office Excel

by huiliyi37 in huiliyi37/Tianshu-harness

Excel 电子表格读写与编辑最佳实践 — 用 xlsxread/xlsxwrite/xlsxedit 处理 .xlsx 时遵守的公式、数字格式与可维护性纪律

Apache-2.0Auto-check passedDocuments & Office

Install Office Excel

skills CLI
$ npx skills add huiliyi37/Tianshu-harness --skill office-excel -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install huiliyi37/Tianshu-harness office-excel --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/huiliyi37/Tianshu-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/office-excel/skills .claude/skills/office-excel && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
office-excel
GitHub stars
1.1k
Token cost
~340 tokens
SKILL.md length
86 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
Apache-2.0

At a glance

Excel 电子表格读写与编辑最佳实践 — 用 xlsxread/xlsxwrite/xlsxedit 处理 .xlsx 时遵守的公式、数字格式与可维护性纪律

  • Works in 5 steps: 能用公式绝不硬编码计算值 → 零公式错误纪律 → 数字格式约定(用 number_formats 设置) → …
  • Tasks that involve Excel spreadsheets
  • SKILL.md covers 1. 能用公式绝不硬编码计算值, 2. 零公式错误纪律, 3. 数字格式约定(用 number_formats 设置) and 4. 假设参数放独立单元格, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Office Excel is an agent skill from huiliyi37/Tianshu-harness. Excel 电子表格读写与编辑最佳实践 — 用 xlsxread/xlsxwrite/xlsxedit 处理 .xlsx 时遵守的公式、数字格式与可维护性纪律

Its SKILL.md is about 340 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Excel spreadsheets. It works with Microsoft Excel. The repository describes itself as: 天枢harness是一个的终端编程智能体,它要回答的核心问题是:模型何以稳定地交付——目标不漂移、完成有证据、验证有闭环,不说"应该修好了"。为此它在模型与真实世界之间建立一层认知执行环境(CVM),把目标、状态、证据、资源、权限与终止条件从对话历史中外部化,由运行时持续管理。同时对deepseek v4极度优化。 The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Excel spreadsheets

Example prompts

  • “/office-excel”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 能用公式绝不硬编码计算值
  2. 零公式错误纪律
  3. 数字格式约定(用 number_formats 设置)
  4. 假设参数放独立单元格
  5. 修改已有模板时沿用其既有约定

What it can do on your machine

Read from SKILL.md and the folder at commit ce4b60a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Office Excel loads about 340 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 86 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~340

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from huiliyi37/Tianshu-harness at commit ce4b60a, republished under its Apache-2.0 licence (© huiliyi37). 86 words, ~340 tokens.

Download SKILL.mdSave it as .claude/skills/office-excel/SKILL.md (or your agent's skills folder).
name
office-excel
description
Excel 电子表格读写与编辑最佳实践 — 用 xlsx_read/xlsx_write/xlsx_edit 处理 .xlsx 时遵守的公式、数字格式与可维护性纪律
triggers
xlsx, excel, 表格, 电子表格, 工作表, 单元格, spreadsheet, workbook, sheet

Office Excel(.xlsx 读写纪律)

改编自 anthropics/skills xlsx(Apache 2.0)。

用本插件(xlsx_read / xlsx_write / xlsx_edit)交付 Excel 文件时,遵守以下纪律。

1. 能用公式绝不硬编码计算值

  • 汇总、合计、比率一律写公式({ formula: 'SUM(B2:B10)' }),不要把算好的结果写死。
  • 交付的表格必须保持动态可重算:用户改了源数据,合计列应自动更新。写死的数字会在源数据变更后悄悄变成错误答案。
  • 公式在 xlsx_read 中以 =SUM(...) 原文显示,交付前读回自查一遍公式是否正确。

2. 零公式错误纪律

#REF! / #DIV/0! / #VALUE! / #NAME? 一个都不允许出现在交付物里。常见成因与预防:

  • 行列从 1 开始:A1 是第一个单元格,不存在第 0 行/第 0 列。越界引用直接 #REF!。
  • 跨 sheet 引用用 Sheet1!A1 语法;sheet 名含空格或特殊字符时用单引号 'My Sheet'!A1。
  • 除零检查:除法公式先确认分母列无空值/零值,必要时 IF(B2=0, 0, A2/B2)。
  • 类型一致:文本列与数字列混算得 #VALUE!;写入时不要把数字写成带引号的字符串。
  • 函数名拼写:#NAME? 几乎都是函数名拼错或用了不存在的函数。

3. 数字格式约定(用 number_formats 设置)

  • 货币:$#,##0(或 ¥#,##0)
  • 百分比:0.0%
  • 倍数:0.0x
  • 负数用括号表示:#,##0;(#,##0)
  • 年份作为文本写入(如 '2024),防止被加千分位显示成 2,024

4. 假设参数放独立单元格

  • 增长率、折扣率、汇率等假设值单独放一个单元格,公式引用它:=B5*(1+$B$6),而不是 =B5*1.05。
  • 用 $B$6 绝对引用锁定假设单元格,下拉填充时不会漂移。
  • 这样用户改假设即可全表重算,不用改任何公式。

5. 修改已有模板时沿用其既有约定

  • 用 xlsx_read 先看清原文件的表头、格式、公式风格,再动手。
  • 严格沿用模板自己的数字格式、列宽、命名习惯——不把自己的风格强加进去。
  • 只改该改的单元格(xlsx_edit 的 update_cells / append_rows),不要整体重写文件。

© huiliyi37, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/office-excel/skills of huiliyi37/Tianshu-harness.

Open the folder on GitHubat commit ce4b60a

Compare with similar skills

Office Excel next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Office Excel compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Office Excel this skillhuiliyi37/Tianshu-harness1.1k—~340Automated safety check: PassApache-2.0
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Data Table Managern8n-io/n8n207k—~2.3kAutomated safety check: PassCustom licence
Docx4jplutext/docx4j2.4k—~2.5kAutomated safety check: PassNone
Instrument Data To Allotropeaws-samples/amazon-bedrock-agents-healthcare-lifesciences2742 repos~2.7kAutomated safety check: PassApache-2.0
Cyber Pptcrazyykhllc-bit/CyberPPT1.8k—~10kAutomated safety check: PassMIT

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Official

    Load before calling data-tables or parse-file. An agent skill from n8n-io/n8n.

    207k GitHub stars~2.3k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Docx4j

    plutext/docx4j

    A skill your agent uses when writing Java code that creates, reads or edits Word (.docx), PowerPoint (.pptx) or Excel (.xlsx) files with docx4j — including generating documents, editing existing…

    2.4k GitHub stars~2.5k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Instrument Data To Allotrope

    aws-samples/amazon-bedrock-agents-healthcare-lifesciences

    Official

    Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV.

    274 GitHub starsUsed in 2 repos~2.7k tokens
    Documents & OfficeAuto-check passed
  • Cyber Ppt

    crazyykhllc-bit/CyberPPT

    当用户需要把 DOCX、PDF、TXT、XLSX、研究报告、业务材料或原始数据转成高密度、可编辑、咨询风格 PPTX 时使用;也适用于需要 SCR 论证、视觉风格探索、详细图表和渲染质检的 PPT。

    1.8k GitHub stars~10k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Jev SEO

    AgriciDaniel/jev-seo

    Full live SEO audit of any website from its homepage URL, powered by Jev (TypeSafe's System One model).

    543 GitHub stars~2.5k tokensUpdated 19 days ago
    Documents & OfficeAuto-check: notes

More from huiliyi37/Tianshu-harness

  • Agent Harness Testing Methodology

    huiliyi37/Tianshu-harness

    Guides an agent through probing an unfamiliar project's test setup, then choosing a red-light-first testing strategy matched to the task type.

    1.1k GitHub stars~1k tokensUpdated 2 days ago
    Auto-check: notes
  • Visual Acceptance Review

    huiliyi37/Tianshu-harness

    Chinese-language final-check method for UI visual changes before delivery, using multi-theme screenshot matrices, pixel-level evidence and a CSS cascade checklist.

    1.1k GitHub stars~601 tokensUpdated 2 days ago
    Auto-check passed
  • Frontend Prototype Workflow

    huiliyi37/Tianshu-harness

    Asks one clarifying question at a time, then builds two or three single-file HTML prototypes checked across phone, tablet, and desktop widths.

    1.1k GitHub stars~415 tokensUpdated 2 days ago
    Auto-check passed
  • Word Document Generator

    huiliyi37/Tianshu-harness

    Generates and reads Word (.docx) documents such as reports, contracts and bids from heading, paragraph, table, code and list blocks, with a centered title.

    1.1k GitHub stars~252 tokensUpdated 2 days ago
    Auto-check passed
  • Office PDF Generator and Reader

    huiliyi37/Tianshu-harness

    Generates formal PDFs from structured content blocks with automatic CJK font handling and page numbers, and reads text back out of existing PDFs.

    1.1k GitHub stars~334 tokensUpdated 2 days ago
    Auto-check passed
  • Office PPT Design Rules

    huiliyi37/Tianshu-harness

    Sets design rules for building PowerPoint decks with the pptx_create and pptx_read tools: a dominant color, varied layouts, readable type and a read-back check.

    1.1k GitHub stars~401 tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Office Excel

What does Office Excel do?

Excel 电子表格读写与编辑最佳实践 — 用 xlsxread/xlsxwrite/xlsxedit 处理 .xlsx 时遵守的公式、数字格式与可维护性纪律. Office Excel is an agent skill from huiliyi37/Tianshu-harness.

When should I use Office Excel?

Office Excel fits situations like: tasks that involve Excel spreadsheets.

How do I install Office Excel in Claude Code?

Run `npx skills add huiliyi37/Tianshu-harness --skill office-excel -a claude-code`. Or copy the skill folder (plugins/office-excel/skills in huiliyi37/Tianshu-harness) into .claude/skills/office-excel in your project. Claude Code loads it when a task matches its description.

How do I install Office Excel in Codex?

Run `npx skills add huiliyi37/Tianshu-harness --skill office-excel -a codex`. Or copy the skill folder (plugins/office-excel/skills in huiliyi37/Tianshu-harness) into .agents/skills/office-excel in your project. Codex loads it when a task matches its description.

Can I use Office Excel in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add huiliyi37/Tianshu-harness --skill office-excel -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/office-excel, .gemini/skills/office-excel, .github/skills/office-excel and .opencode/skills/office-excel in your project.

What does Office Excel need to run?

SKILL.md names no scripts, command-line tools or credentials: Office Excel is instructions for the agent only.

Does Office Excel access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Office Excel safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Office Excel use?

Office Excel is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Office Excel use?

About 340 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Office Excel?

Skills that share tags, products or a category with Office Excel: Markitdown (ImCa0/just-laws, 781 stars), Data Table Manager (n8n-io/n8n, 207k stars), Docx4j (plutext/docx4j, 2.4k stars) and Instrument Data To Allotrope (aws-samples/amazon-bedrock-agents-healthcare-lifesciences, 274 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Office Excel?

huiliyi37 (a GitHub user) maintains it in huiliyi37/Tianshu-harness, which has 1,086 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 9, 2026.

Source: huiliyi37/Tianshu-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.