xlsx-author

xlsx-author is a skill for Claude Code from cyijun/china-financial-services. It costs 59 tokens per session (439 once invoked), scanned A, original, Apache-2.0.

A guide for creating auditable Excel workbooks in environments without an open Excel session. It covers structured inputs, formulas, linked sheets, checks, and verification of recalculation.

In plain words
What is it for?
Use it for financial models such as three-statement models, discounted-cash-flow valuations, and comparable-company analyses when a workbook file must be delivered.
Why use it?
It helps produce workbooks whose assumptions, calculations, and consistency checks can be reviewed instead of relying on unexplained final numbers.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Part of the china-model-builder plugin — 6 skills, 1 agent shipped together

Good fit Use it for financial models such as three-statement models, discounted-cash-flow valuations, and comparable-company analyses when a workbook file must be delivered.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyijun/china-financial-services/xlsx-author
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 cyijun/china-financial-services --skill xlsx-author
Clone the repo
git clone --depth 1 https://github.com/cyijun/china-financial-services

Made for: Claude Code.

Or install china-model-builder, the plugin that ships this one along with the rest of its 6 skills, 1 agent.

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 xlsx-author

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyijun/china-financial-services/xlsx-author/github.svg)](https://agentmods.dev/skills/cyijun/china-financial-services/xlsx-author)
Your own site
<a href="https://agentmods.dev/skills/cyijun/china-financial-services/xlsx-author"><img src="https://agentmods.dev/badge/skills/cyijun/china-financial-services/xlsx-author/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 xlsx-author

Your own site · 80×15
<a href="https://agentmods.dev/skills/cyijun/china-financial-services/xlsx-author"><img src="https://agentmods.dev/badge/skills/cyijun/china-financial-services/xlsx-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 439 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.
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.00059 $0.00439
Opus 5 $0.00030 $0.00219
Sonnet 5 $0.00012 $0.00088
Haiku 4.5 $0.00006 $0.00044

Measured 11d ago against content hash 46e1efda6133, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

xlsx-author 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 11d 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.

plugins/china-model-builder/skills/xlsx-author/SKILL.md · 27 lines

What it actually says

无头Excel工作簿生成

使用场景

当CI、Codex、Claude Code或其他命令行环境没有实时Office工具,而下游Skill明确需要.xlsx文件时使用。默认通过Python openpyxl写入./out/<name>.xlsx;先创建./out/,最终返回相对路径供调用方收集。

工作簿约定

  • 输入、公式与跨表链接分别使用蓝、黑、绿字体;所有硬编码输入必须集中在Inputs或Sources并带来源/[ASSUMPTION]
  • 计算单元格使用公式,不直接粘贴最终结果;需被报告引用的关键值建立命名范围。
  • Checks页至少覆盖模型特有的勾稽、错误值、终值/价值桥或敏感性中心格。
  • 默认每次创建新文件;除非用户明确要求,不覆盖现有工作簿。
  • openpyxl写入公式不等于公式已由Excel/LibreOffice重算。未调用真实重算引擎时必须写formula_recalculation_unverified

最小实现

用短Python脚本创建工作簿、样式、公式、命名范围和Checks页,保存到./out/。随后调用audit-xls检查结构、公式和错误值;只有实际执行过重算引擎,才可把公式状态从implemented提升为formula_recalculated

不使用场景

若宿主提供并已连接实时Excel控制工具,使用实时工具并保留用户审阅检查点。本Skill只负责文件型回退,不驱动交易或账户系统。

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. 11d ago First seen · 27 lines · 59 tokens per session scan A 46e1efda6133

Subscribe to this mod's changes

xlsx-author is a skill published in the GitHub repository cyijun/china-financial-services (19 stars, last pushed 17d ago), licensed Apache-2.0. It adds 59 tokens to every session and 439 once invoked, about $0.0003 per session on Opus 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.