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 Fantasality/dsh-origin-plugin --skill origin-statsgit clone --depth 1 https://github.com/Fantasality/dsh-origin-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/fantasality/dsh-origin-plugin/origin-stats)<a href="https://agentmods.dev/skills/fantasality/dsh-origin-plugin/origin-stats"><img src="https://agentmods.dev/badge/skills/fantasality/dsh-origin-plugin/origin-stats/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/fantasality/dsh-origin-plugin/origin-stats"><img src="https://agentmods.dev/badge/skills/fantasality/dsh-origin-plugin/origin-stats.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.00088 | $0.01276 |
| Opus 5.5 | $0.00035 | $0.00510 |
| Sonnet 5.5 | $0.00018 | $0.00255 |
| Haiku 4.5 | $0.00009 | $0.00128 |
Grade A, and why
origin-stats 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 2mo 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 — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Origin 统计 SOP v2.3.0(origin-stats;配合 origin-plotting 主 SOP 使用)
科学边界(铁律)
- 所有统计结果都带
confidence_note:自研统计(numpy 实现)仅供探索性分析与图表初稿;正式发表用 SPSS/R 或 Origin 原生统计功能复核。向用户报告结论时如实转述这一边界。 - 不做未经要求的统计推断;统计结论写进图(如标注 p 值)前必须先给用户看数字。
- 数据有缺失/异常先处理(
origin_filter_data/origin_mask_points)再统计,统计工具不做静默补值。 - 每次调用返回带
trace_id+duration_ms;失败按error_code + recovery处理,别盲目重试。
工具速查(按意图)
| 想知道 | 调用 | 关键参数/返回 |
|---|---|---|
| 一列的 mean/std/分位数/偏度 | origin_stats(worksheet, columns=[..]) |
返回逐列 count/mean/std/min/p25/median/p75/max/skew |
| 两组有没有显著差异 | origin_ttest(worksheet, column_a, column_b, kind="two") |
kind: one(对 mu)/two(独立样本 Welch)/paired;返回 t/p/自由度 |
| 多组均值是否全相等 | origin_anova(worksheet, columns=[组1列,组2列,...]) |
每组一列;返回 F/p |
| 多变量降维/主成分 | origin_pca(worksheet, columns, scale=False, n_components=None) |
行=样本 列=变量;返回载荷/解释方差/得分 |
| 两两相关 | origin_correlate(worksheet, columns) |
Pearson 矩阵;列长不齐自动按最短截断(返回里注明) |
| 事件时间数据 | origin_survival(worksheet, time_column, event_column) |
Kaplan-Meier;event 列 1=事件 0=删失 |
| 频谱/周期 | origin_fft(worksheet, x_column, y_column, plot_spectrum=True) |
返回 top 主频 + 频谱图 |
| 找峰 | origin_peak_find(worksheet, x_column, y_column, min_height=, min_distance=) |
返回峰位/峰高列表 |
| 分峰拟合(谱图去卷积) | origin_peak_fit(worksheet, ...) |
Gauss/Lorentz 组合;XPS/拉曼/红外用 |
| 曲线下面积 | origin_integrate(worksheet, x_column, y_column, baseline="min") |
baseline: "min"/"first"/数值(DSC 焓变扣基线) |
| 数据加工(统计前处理) | origin_transform(worksheet, column, op=..) |
smooth/normalize/derivative/interpolate/ln/log10/reciprocal/exp/sqrt/abs |
结果解读要点(给用户转述时用)
- t/ANOVA:p<0.05 说"差异显著",同时报效应方向(均值差)与样本量;只报 p 值不专业。
- 相关矩阵:相关≠因果;n<30 时提醒用户结论不稳。
- PCA:报前 2~3 个主成分的累计解释方差;载荷看绝对值大的变量。
- FFT:先说采样间隔假设;主频旁瓣可能是泄漏,必要时先 smooth。
- peak_fit:拟合优度(R²/残差)差时不要硬解读峰面积;峰太多先想物理意义。
常见失败
column_empty/column_all_nan:上游数据没写进去或公式没生效 →origin_read_worksheet复核上游。no_data_to_fit/insufficient_data:拟合列全空 / 有效点 <3 → 修数据或改用描述统计。worksheet_not_found/column_not_found:引用错 →origin_list_sheets+origin_read_worksheet重建引用。- 连不上 Origin →
origin_diagnose(安装/COM/残留进程/目录权限),残留进程taskkill /F /IM Origin64.exe等 2 秒重连。
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.
- 2mo ago First seen · 48 lines · 88 tokens per session scan A 291883e6c3c6
origin-stats is a skill published in the GitHub repository Fantasality/dsh-origin-plugin (51 stars, last pushed 1mo ago), licensed MIT. It adds 88 tokens to every session and 1,276 once invoked, about $0.0004 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-09-17.
origin-stats compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| origin-statsFantasality/dsh-origin-plugin | Skill | 51 | 1mo ago | MIT | A | 88 | Claude Code, Codex |
| agent-figure-galleryDsadd4/AgentFigureGallery | Skill | 189 | 2mo ago | MIT | A | 36 | Claude Code, Codex |
| healthcare-eval-harnessgongyijie85/dsh-ecc | Skill | 13 | 14d ago | MIT | A | 68 | Claude Code, Codex |
| healthcare-emr-patternsgongyijie85/dsh-ecc | Skill | 13 | 14d ago | MIT | A | 63 | Claude Code, Codex |
| healthcare-cdss-patternsgongyijie85/dsh-ecc | Skill | 13 | 14d ago | MIT | A | 68 | Claude Code, Codex |
| discretelogunitarylab/quantum-practices | Skill | 23 | 3mo ago | none | A | 127 | Claude Code, Codex |
| shorunitarylab/quantum-practices | Skill | 23 | 3mo ago | none | A | 105 | Claude Code, Codex |