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.
npx skills add claude-office-skills/claude-office-plugin --skill template-generationgit clone --depth 1 https://github.com/claude-office-skills/claude-office-pluginWrote 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.
[](https://agentmods.dev/skills/claude-office-skills/claude-office-plugin/template-generation)<a href="https://agentmods.dev/skills/claude-office-skills/claude-office-plugin/template-generation"><img src="https://agentmods.dev/badge/skills/claude-office-skills/claude-office-plugin/template-generation/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.
<a href="https://agentmods.dev/skills/claude-office-skills/claude-office-plugin/template-generation"><img src="https://agentmods.dev/badge/skills/claude-office-skills/claude-office-plugin/template-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00026 | $0.01075 |
| Opus 5 | $0.00013 | $0.00537 |
| Sonnet 5 | $0.00005 | $0.00215 |
| Haiku 4.5 | $0.00003 | $0.00108 |
Grade A, and why
template-generation 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.
What it actually says
核心任务:生成可直接使用的 SaaS 级管理系统
用户让你创建的不是简单表头,而是完整可用的管理系统,类似于稻壳模板商城中那种专业级 Excel 管理系统。 表格就是画布,你生成的系统需要用户能真正用起来。
管理系统/模板必须包含以下全部内容(缺一不可)
结构层
- ✅ 系统标题行(合并居中、16pt 加粗、品牌色背景白字)
- ✅ 副标题/统计周期行
- ✅ 表头行(粗体、白字、深色背景、居中)
数据层(最关键!)
- ✅ 默认生成 10-15 行真实感测试数据
- ✅ 公式列:金额=数量×单价,合计=SUM,完成率=已完成/总数
- ✅ 汇总行:合计/平均值/最大值等统计
- ✅ 状态列:用不同背景色区分状态(绿=已完成、蓝=进行中、橙=待处理、红=逾期)
⚠️ 大数据量生成(>20行)必须用循环!
当用户要求生成超过 20 行数据时,绝对禁止硬编码每一行。必须用随机组合循环:
// 正确:小数组 + 随机组合循环生成 N 行
var names = ["张三","李四","王芳","赵六","刘洋"];
var depts = ["技术部","销售部","市场部","财务部"];
for (var i = 0; i < dataRows; i++) {
var r = i + 4;
ws.Range("A"+r).Value2 = i+1;
ws.Range("B"+r).Value2 = names[Math.floor(Math.random()*names.length)];
// ...
}
// 禁止:硬编码200行数组(代码会被截断!)
代码总长度必须控制在 3000 字符以内。
格式层
- ✅ 交替行背景色(偶数行浅色)
- ✅ 区域视觉分隔(用深浅背景色交替区分行列,禁止使用 Borders API)
- ✅ 合理列宽(按内容设置,用 ws.Range("A:A").ColumnWidth)
- ✅ 数字格式(金额 #,##0.00、日期 yyyy-mm-dd、百分比 0.0%、电话 @)
功能层(让用户真正能用)
- ✅ 数据验证/下拉菜单(如状态列:已完成/进行中/待处理)使用 ws.Range().Validation.Add(3,1,1,"选项1,选项2,选项3")
- ✅ 条件格式化状态列:不同状态不同颜色
- ✅ 表头筛选:ws.Range("A行:Z行").AutoFilter()
参考代码模式
function CL(c){var s="";while(c>0){c--;s=String.fromCharCode(65+(c%26))+s;c=Math.floor(c/26);}return s;}
var ws = Application.ActiveSheet;
var wb = Application.ActiveWorkbook;
ws.Name = "订单管理";
ws.Range("A1:P100").Clear();
// 标题
ws.Range("A1:K1").Merge();
ws.Range("A1").Value2 = "销售订单管理系统";
ws.Range("A1").Font.Size = 16;
ws.Range("A1").Font.Bold = true;
ws.Range("A1").Font.Color = 0xFFFFFF;
ws.Range("A1").Interior.Color = 0x8B4513;
ws.Range("A1").HorizontalAlignment = -4108;
ws.Range("1:1").RowHeight = 40;
// 表头
var h = ["序号","订单编号","客户名称","联系电话","产品名称","数量","单价(元)","金额(元)","下单日期","订单状态","备注"];
ws.Range("A3:K3").Value2 = [h];
ws.Range("A3:K3").Font.Bold = true;
ws.Range("A3:K3").Font.Color = 0xFFFFFF;
ws.Range("A3:K3").Interior.Color = 0x8B4513;
ws.Range("A3:K3").HorizontalAlignment = -4108;
// 测试数据用 Range(CL(c)+r) 写入
// 交替行色、状态列条件格式、公式列、汇总行、数据验证、筛选...
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.
- 11d ago First seen · 94 lines · 26 tokens per session scan A 9854eb3c4da8
template-generation is a skill published in the GitHub repository claude-office-skills/claude-office-plugin (9 stars, last pushed 5mo ago), licensed MIT. It adds 26 tokens to every session and 1,075 once invoked, about $0.0001 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-31.
Other skills, from other repositories
dcf-model
Build discounted cash flow valuation workbooks in Excel.
audit-xls
Audit a spreadsheet for formula accuracy, errors, and common mistakes. Scopes to a selected range, a single sheet, or the entire model (including financial-model integrity checks like BS balance, cash tie-out, and logic sanity). Triggers on "audit this sheet", "check my formulas", "find formula errors", "QA this…
google-drive-sheets
Find, read, export, edit, and manage the user's Google Drive, Docs, Sheets, and Slides through per-user OAuth.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
large-file-parquet-analysis-and-highlight
A workflow for processing large Excel workbooks by counting their rows, converting them to Parquet when needed, and finding maximum values. Parquet is a data-file format designed for efficient reading.
excel-basic-statistics-and-routing
An Excel workflow for filtering grouped data, calculating averages, extracting row ranges, removing duplicates, and adding totals.