ds-analyze

ds-analyze is a command for coding agents from realnghon/data-scientist. It costs 29 tokens per session (343 once invoked), scanned A, original, MIT.

A command for running a complete analysis of a dataset, from loading and checking the data to producing a report. It can work with CSV, Excel, and Parquet files.

In plain words
What is it for?
Use it to inspect data quality, choose and run statistical analyses, create charts, and write an evidence-based report with limitations and next steps.
Why use it?
It prevents analysis from starting with unsuitable data or unsupported methods. It also separates reliable conclusions from tentative signals and stops when the data cannot support the request.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the data-scientist plugin — 1 skill, 4 commands, 1 agent shipped together

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 commands/realnghon/data-scientist/ds-analyze
Clone the repo
git clone --depth 1 https://github.com/realnghon/data-scientist

Or install data-scientist, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 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 ds-analyze

README.md
[![agentmods](https://agentmods.dev/badge/commands/realnghon/data-scientist/ds-analyze.svg)](https://agentmods.dev/commands/realnghon/data-scientist/ds-analyze)
Your own site
<a href="https://agentmods.dev/commands/realnghon/data-scientist/ds-analyze"><img src="https://agentmods.dev/badge/commands/realnghon/data-scientist/ds-analyze.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 343 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.00029 $0.00343
Opus 5 $0.00015 $0.00171
Sonnet 5 $0.00006 $0.00069
Haiku 4.5 $0.00003 $0.00034

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

Security

Grade A, and why

ds-analyze 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 4d 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/data-scientist/commands/ds-analyze.md · 34 lines

What it actually says

分析数据集

使用 data-scientist 技能对用户数据集运行完整分析流程。

示例:

  • /ds-analyze data.csv
  • /ds-analyze sales.xlsx "什么因素驱动收入?"
  • /ds-analyze dataset.parquet "各组之间的产出是否存在差异?"

执行要求

  1. 识别数据集来源和用户目标。
  2. 加载 ${CLAUDE_PLUGIN_ROOT}/skills/analysis-workflow/SKILL.md 并遵循其工作流程。
  3. 从数据摄入和就绪评估开始;不要直接跳到建模或假设检验。
  4. 最多提出 5 个人工确认问题。仅在答案会实质性改变分析方向时才提问。
  5. 在执行非平凡的分析代码之前,先制定分析方案。
  6. 将可靠结论与方向性信号和无法支持的发现区分开来。

预期输出

  • 数据/画像摘要。
  • 就绪评估。
  • 包含被拒绝方法的分析方案。
  • 数据允许时的执行结果和图表。
  • 最终报告,包含局限性和后续行动。

失败模式

如果数据无法支持所请求的分析,应停止并生成一份具体的数据需求清单,而非编造报告。

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. 4d ago First seen · 34 lines · 29 tokens per session scan A 5bc256d3c2fc

Subscribe to this mod's changes

ds-analyze is a command published in the GitHub repository realnghon/data-scientist (2 stars, last pushed 2mo ago), licensed MIT. It adds 29 tokens to every session and 343 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.

Related

Other commands, from other repositories