Data Analysis 标志

Data Analysis

社区
nahid-sparktales
data-analysis

Get a defensible answer out of a dataset — grain and denominators pinned, missing data accounted for, aggregates checked against their segments, and every number reproducible from raw input by a script. Use when asked what a dataset shows, when a number needs explaining or two numbers disagree, or before any finding from data is reported to someone who will act on it. Not for defining product metrics or instrumentation, not for building the pipeline that produced the data, and not for designing an experiment.

概览

发布者nahid-sparktales
代码仓库agent-dispatcher
技能名称data-analysis
星标数
58
复刻数
5
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 nahid-sparktales 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Data Analysis AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/knowledge/data-analysis
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nahid-sparktales/agent-dispatcher.git /tmp/agent-dispatcher
mkdir -p .claude/skills
cp -r /tmp/agent-dispatcher/skills/knowledge/data-analysis .claude/skills/data-analysis
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Data Analysis,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Data Analysis。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Data Analysis 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Data analysis

Wrong analyses rarely come from wrong arithmetic. They come from a denominator drawn from a different population, rows that silently disappeared, an aggregate whose segments all point the other way, or a correlation written up with a causal verb.

When this fires

A dataset has to answer a question, a reported number needs explaining or reconciling, or a finding from data is about to be shown to someone who will decide something. It does not fire when the task is only to render an agreed number as a chart.

What a result is allowed to claim

Pick the weakest rung that the evidence supports and write the sentence at that rung:

  • Described — this is what the data contains, for this population and window.
  • Associated — these move together; the confounders are named and unresolved.
  • Predictive — this pattern held out of sample, on data the fitting never saw.
  • Causal — an experiment or a design with an identified counterfactual supports it.

Most exploratory work stops at the first two. Writing a rung you did not earn is the failure this procedure exists to prevent.

Procedure

  1. Write the question and the decision it serves before loading anything, plus the result that would be surprising. Analysis with no decision behind it expands without limit.
  2. Establish provenance and grain. Where the data came from, what exactly one row represents, the time window it covers, and what was already filtered out before it reached you. A table of currently-active accounts cannot answer a question about churn — that filter is survivorship, and it is invisible once the rows are gone.
  3. Count before you conclude. Row count, distinct count on the claimed key, minimum and maximum date, nulls per column, duplicates at the stated grain. Report these numbers. They catch more bad analyses than any modelling step, and a key that is not unique changes every join downstream.
  4. Pin every denominator. Numerator and denominator drawn from the same population and the same window, at the same unit of aggregation. A per-event numerator over a per-user denominator is silent and common. Write the rate out in words before computing it.
  5. Account for missing data rather than dropping it. Distinguish an absent row from a null, from a real zero, from a placeholder (0, -1, 1970-01-01, N/A, unknown). Then ask whether the missingness is related to what you are measuring — if it is, removing those rows moves the answer. Every exclusion goes in a written list with its row count.
  6. Look at the distribution before quoting a summary. Mean against median, the tails, whether it is bimodal. Quote a spread or an interval alongside any average; an average with no shape behind it hides the thing worth reporting.
  7. Segment before believing an aggregate. Split by the obvious dimensions and check whether the overall direction survives. A total that moves because the population mix changed is a composition effect, not the effect you were asked about, and it reverses within segments often enough to be assumed until checked.
  8. Compare against normal variation. Establish what week-to-week or group-to-group movement looks like when nothing happened. A change inside that band is not a finding, however much it is wanted. If you sliced the data many ways before something stood out, say how many.
  9. Name the confounders and stay at the right rung. List what else differs between the groups being compared and could produce the pattern. Say what would be needed to move up a rung — usually a randomized test or a design with a credible counterfactual — and route that to experiment design rather than improvising one.
  10. Make it reproducible from raw input. Every reported number comes from a script or query that runs top to bottom from the original source in one pass, with seeds fixed and version pinned where randomness or library behaviour matters. No figure hand-copied out of an interactive session. Re-run it clean before reporting: if a number moves, it was never a result.
  11. Reconcile the headline figure against something independent — a different source, a manual count for one day, a known total. Quote both numbers and the gap.
  12. Stop and ask before anything with consequences: running writes against a production database, exporting or joining data containing personal information, combining datasets in a way that could re-identify people, deleting or overwriting source data, or publishing a number others will act on. Propose it, name what it touches, and wait.

Checklist

  • Question and the decision behind it written down
  • Source, grain, window and pre-existing filters stated
  • Row counts, key uniqueness, date range, nulls and duplicates reported
  • Every rate has its denominator, population, window and unit named
  • Missing and placeholder values classified; exclusions listed with counts
  • Distribution inspected; a spread reported with every average
  • Aggregates checked against their segments for composition effects
  • The move compared against normal variation, and slicing count disclosed
  • Confounders named and the claim written at the rung the evidence supports
  • The whole thing re-run clean from raw input and the numbers matched
  • Headline figure reconciled against an independent source
  • Production writes, personal data and publication proposed rather than done

Failure handling

  • The data cannot answer the question — say which part is unanswerable and what would be needed. A confident answer from insufficient data is the most expensive output here.
  • Two sources disagree — do not average them or pick the convenient one. Take one narrow slice and trace it through both until the divergence has a named cause: a filter, a timezone, a deduplication rule, a different grain.
  • The re-run produces different numbers — the earlier numbers are void, not "close enough". Find the source of the difference before reporting anything from either run.
  • The key is not unique — stop and fix the grain. Every join and count after that point is wrong in a way that looks plausible.
  • An outlier drives the result — report both figures, with and without it, and say what the outlier actually is. Never remove it silently.
  • The result is null or boring — report it. A clean null result is a finding; searching for a slice that produces a headline is how noise gets published.
  • Personal or sensitive fields appear in the data — stop, name the fields, and raise it before querying further or exporting anything.

Evidence to report

The question and the decision. Source, grain, window and every filter applied, including those applied before you received the data. The profiling counts. Each rate written out in full. The exclusion list with row counts. Distributions and spreads, not only point estimates. The segment check. The path to the script that reproduces every number end to end, and the fact that it was re-run. The reconciliation, both figures and the gap. The confounders. And the claim stated at its rung — with the questions you could not answer named rather than approximated.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Data Analysis AI 技能有什么作用?

Get a defensible answer out of a dataset — grain and denominators pinned, missing data accounted for, aggregates checked against their segments, and every number reproducible from raw input by a script. Use when asked what a dataset shows, when a number needs explaining or two numbers disagree, or before any finding from data is reported to someone who will act on it. Not for defining product metrics or instrumentation, not for building the pipeline that produced the data, and not for designing an experiment.

为什么在 TypingMind 中使用 Data Analysis?

因为您只需安装一次,就能搭配任何模型使用。Data Analysis 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Data Analysis?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/knowledge/data-analysis。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Data Analysis?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Data Analysis 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Data Analysis 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Data Analysis AI 技能免费吗?

是的。nahid-sparktales 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇