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 data-analysisgit 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/data-analysis)<a href="https://agentmods.dev/skills/claude-office-skills/claude-office-plugin/data-analysis"><img src="https://agentmods.dev/badge/skills/claude-office-skills/claude-office-plugin/data-analysis/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/data-analysis"><img src="https://agentmods.dev/badge/skills/claude-office-skills/claude-office-plugin/data-analysis.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.00025 | $0.01272 |
| Opus 5.5 | $0.00010 | $0.00509 |
| Sonnet 5.5 | $0.00005 | $0.00254 |
| Haiku 4.5 | $0.00003 | $0.00127 |
Grade A, and why
data-analysis 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
数据分析输出规范
核心原则
- 分析结果必须新建工作表,不修改原始数据
- 结果包含:数据概况 → 统计指标 → 可视化 → 结论
- 所有计算用 .Formula 写入,用户可溯源验证
新建分析表的标准结构
function CL(c){var s="";while(c>0){c--;s=String.fromCharCode(65+(c%26))+s;c=Math.floor(c/26);}return s;}
var wb = Application.ActiveWorkbook;
var srcWs = Application.ActiveSheet;
var srcName = srcWs.Name;
wb.Sheets.Add();
var ws = Application.ActiveSheet;
ws.Name = "数据分析";
ws.Activate();
// 区域 A: 标题
ws.Range("A1").Value2 = "数据分析报告 — " + srcName;
ws.Range("A1").Font.Size = 16;
ws.Range("A1").Font.Bold = true;
ws.Range("A1").Interior.Color = 0x8B4513;
ws.Range("A1").Font.Color = 0xFFFFFF;
// 区域 B: 数据概况
ws.Range("A3").Value2 = "数据概况";
ws.Range("A3").Font.Bold = true;
ws.Range("A4").Value2 = "数据源";
ws.Range("B4").Value2 = srcName;
ws.Range("A5").Value2 = "总行数";
ws.Range("B5").Formula = "=COUNTA('" + srcName + "'!A:A)-1";
// ... 列数、空值数等
// 区域 C: 描述性统计表
// 每个数值列: 均值/中位数/最大/最小/标准差/四分位
描述性统计公式
| 指标 | 公式 |
|---|---|
| 均值 | =AVERAGE('源表'!B2:B1000) |
| 中位数 | =MEDIAN('源表'!B2:B1000) |
| 标准差 | =STDEV('源表'!B2:B1000) |
| 最大值 | =MAX('源表'!B2:B1000) |
| 最小值 | =MIN('源表'!B2:B1000) |
| 计数 | =COUNTA('源表'!B2:B1000) |
| 空值数 | =COUNTBLANK('源表'!B2:B1000) |
趋势与对比分析
// 环比增长率
ws.Range("C" + r).Formula = "=('" + srcName + "'!B" + r + "-'" + srcName + "'!B" + (r-1) + ")/'" + srcName + "'!B" + (r-1);
ws.Range("C" + r).NumberFormat = "0.0%";
// 占比计算
ws.Range("D" + r).Formula = "='" + srcName + "'!B" + r + "/SUM('" + srcName + "'!B2:B" + lastRow + ")";
ws.Range("D" + r).NumberFormat = "0.0%";
透视汇总(手动实现)
WPS 加载项中不支持 PivotTable API,需手动聚合:
// 按分类列汇总
var groups = {};
for (var r = 2; r <= lastRow; r++) {
var cat = String(ws.Range(CL(catCol) + r).Value2);
var val = Number(ws.Range(CL(valCol) + r).Value2) || 0;
if (!groups[cat]) groups[cat] = { sum: 0, count: 0 };
groups[cat].sum += val;
groups[cat].count++;
}
// 写入汇总表
var keys = Object.keys(groups);
for (var i = 0; i < keys.length; i++) {
ws.Range("A" + (startRow + i)).Value2 = keys[i];
ws.Range("B" + (startRow + i)).Value2 = groups[keys[i]].sum;
ws.Range("C" + (startRow + i)).Value2 = groups[keys[i]].count;
ws.Range("D" + (startRow + i)).Value2 = groups[keys[i]].sum / groups[keys[i]].count;
}
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.
- 3mo ago First seen · 113 lines · 25 tokens per session scan A 092c619fedf5
data-analysis is a skill published in the GitHub repository claude-office-skills/claude-office-plugin (9 stars, last pushed 8mo ago), licensed MIT. It adds 25 tokens to every session and 1,272 once invoked, about $0.0001 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-31.
data-analysis compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| data-analysisclaude-office-skills/claude-office-plugin | Skill | 9 | 8mo ago | MIT | A | 25 | Claude Code |
| csv-processorchainlesschain/chainlesschain | Skill | 11 | 20d ago | none | A | 26 | Claude Code |
| Workspace Data AnalystVoltAgent/voltagent | Skill | 11k | 28d ago | MIT | A | 14 | Claude Code, Codex |
| data-analysisclaude-office-skills/skills | Skill | 604 | 10mo ago | MIT | A | 23 | Claude Code, Codex |
| financial-analysisdirtybits/agent-skills | Skill | 2 | 2mo ago | MIT | A | 74 | Claude Code, Codex |
| excel-analyzerchainlesschain/chainlesschain | Skill | 11 | 20d ago | none | A | 16 | Claude Code |
| spreadsheetOpenKnots/okcode | Skill | 24 | 6mo ago | MIT | A | 11 | Claude Code, Codex |