origin-plotting

A guide to using Origin, a scientific graphing and analysis application, through connected tools. It covers writing data, making charts, formatting them, and viewing the results.

In plain words
What is it for?
Use it to import columns of data, create and format plots, inspect existing worksheets and graphs, and export charts as PNG images.
Why use it?
It explains the required data formats and tool sequence, reducing trial and error when turning measurements into publication or presentation graphics.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/fantasality/dsh-origin-plugin/origin-plotting
Any agent
npx skills add Fantasality/dsh-origin-plugin --skill origin-plotting
Clone the repo
git clone --depth 1 https://github.com/Fantasality/dsh-origin-plugin

Made for: Claude Code, Codex.

Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,822 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00057 $0.01822
Opus 5 $0.00028 $0.00911
Sonnet 5 $0.00011 $0.00364
Haiku 4.5 $0.00006 $0.00182

Measured 2d ago against content hash bb0f44cc15e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

origin-plotting 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 2d 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.

skills/origin-plotting/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Origin 快速上手(mcp__origin__* 工具速查 v2)

数据格式

  • columns = {"列名": [数值, ...], ...}第一列自动设为 X,其余为 Y; 也可传二维列表 [[..],[..]] 或一维列表(自动命名 Y)。
  • 工具间用引用传递:origin_write_data 返回 worksheet[Book]Sheet), origin_plot 返回 graph(短名)。

最快路径(一步出图 + 排版)

{"columns": {"temperature_C":[20,25,30,35], "pressure_kPa":[95,101,112,118]},
 "plot_type": "line_symbol", "fmt": "png", "width": 1200,
 "style_mode": "journal", "family": "ocean",
 "title": "示例"}
  • style_mode: default | journal(单栏89mm/双栏183mm, 投稿尺寸) | presentation;
  • family: 调色板(ocean/nightfall/duo_warm/forest/grey_tone/low_saturation/paired);
  • 传同名 graph_name 重复调用会清旧重画(幂等,图名稳定);
  • 轴标题从列名自动推断(temperature_C → "Temperature (°C)")。

视觉校验

  • origin_view_graph(graph):把图渲染为内联图片返回,模型可直接看, 无需导出文件;可用 max_width 控制 token 成本。出图后建议调用它自查一次。

工具速查

工具 用途 关键参数
origin_status 检查连接(未启动自动启动 Origin,首连 5~45 秒)
origin_help / origin_catalog 使用速查 / 动态工具目录(按分类)
origin_error_codes 全部稳定错误码 + 恢复建议
origin_list_graphs / origin_list_sheets 列出图页/工作表
origin_write_data 写多列数据 columns
origin_read_worksheet 读取工作表列数据 worksheet
origin_plot 画图 line/scatter/line_symbol/column/histogram/box/bar + 误差棒 worksheet, plot_type, style_mode, family
origin_export 导出 PNG/SVG/PDF/TIF/EMF graph, fmt
origin_plot_file 一键 写数+画图+排版+导出 columns, plot_type, fmt
origin_view_graph 图→内联图片(模型可看,不落盘) graph
origin_apply_style 对已有图补应用排版/调色板/多序列区分 graph, style_mode, family
origin_filter_data 删点/裁剪(drop_rows 或 x_min/x_max) worksheet
origin_fit 拟合 linear/ExpDec1/Gauss/Polynomial/Lorentz,曲线上图 worksheet, kind
origin_plot3d 3D surface / scatter(plotxy 310 真机可用) data, plot_type
origin_stats 描述统计 count/mean/std/min/p25/median/p75/max/skew worksheet
origin_transform smooth/normalize/derivative/interpolate(写回新列) worksheet, op
origin_integrate 梯形法积分 AUC worksheet
origin_fft FFT 频谱(top 主频 + 可选频谱图) worksheet, plot_spectrum
origin_correlate Pearson 相关矩阵 worksheet
origin_peak_find 峰值检测 worksheet, min_height, min_distance
origin_histogram 直方图统计(plot=True 画图导出) worksheet, bins
origin_plot_contour 等高线/填充等高线/3D 线框 data, plot_type
origin_ttest t 检验 one/两样本(Welch)/paired column_a, column_b, kind, mu
origin_anova 单因素方差分析(每组一列) columns
origin_pca 主成分分析(载荷/解释方差/得分) columns, scale
origin_survival Kaplan-Meier 生存分析 time_column, event_column

Read the full file on GitHub · 88 lines

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. 2d ago First seen · 88 lines · 57 tokens per session scan A bb0f44cc15e4

Subscribe to this mod's changes

origin-plotting is a skill published in the GitHub repository Fantasality/dsh-origin-plugin (5 stars, last pushed 13d ago), licensed MIT. It adds 57 tokens to every session and 1,822 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-31.

Related

Other skills, from other repositories

agent-figure-gallery

Query visual scientific figure references, show candidates for human preference selection, export selected reference bundles, and guide plotting agents from human-selected visual examples to code action.

Dsadd4/AgentFigureGallery · 36 tokens

cnsplots

Create, revise, and troubleshoot publication-ready scientific plots in Python with cnsplots, including distribution, regression, heatmap, genomics, survival, set, flow, and multi-panel figures. Use when a user asks for cnsplots code, Cell/Nature/Science-style visualization, precise pixel-sized figures, statistical…

faridrashidi/cnsplots · 79 tokens

csswitch-external-skill-tools

CSSwitch 外部 Skill 安装与卸载的强制路由。MUST use in CSSwitch-managed Claude Science whenever the user asks to install, import, add, uninstall, remove, or delete an external Skill.

SuperJJ007/CSSwitch · 54 tokens

csswitch-change-checks

Select bounded CSSwitch WIP or candidate checks after source, test, or Markdown changes; does not establish source closure.

SuperJJ007/CSSwitch · 30 tokens

figure-library

Build, review, search, select, materialize, and safely publish immutable scientific-figure references from Local Published, bundled Community, FigureYa, and explicitly trusted personal Providers.

xuzhougeng/ScientificFigureLibrary · 38 tokens

openislands

Build and maintain OpenIslands data dashboards — typed manifests of visual islands bound to local files (CSV / JSON / Parquet / SQLite / markdown), edited safely over the OpenIslands MCP server in Code Mode (one execute tool you drive with JavaScript). Use whenever a project has apps/ /manifest.json or an .mcp.json…

lukaisailovic/openislands · 116 tokens