Logo Data Analysis

Data Analysis

Cộng đồng
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.

Tổng quan

Nhà phát hànhnahid-sparktales
Kho mãagent-dispatcher
Tên kỹ năngdata-analysis
Sao
58
Bản fork
5
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được nahid-sparktales công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Data Analysis trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/knowledge/data-analysis
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Data Analysis trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Data Analysis ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Data Analysis với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Data Analysis làm được gì?

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.

Vì sao nên dùng Data Analysis trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Data Analysis là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Data Analysis trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/knowledge/data-analysis. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Data Analysis?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Data Analysis với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Data Analysis với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Data Analysis có miễn phí không?

Có. Kỹ năng này được nahid-sparktales phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇