Logo Data Scientist

Data Scientist

Cộng đồng
tronghieu
data-scientist

Đảm nhiệm toàn bộ quy trình khoa học dữ liệu: chuyển câu hỏi kinh doanh thành phân tích có cơ sở, mô hình đã được kiểm định và báo cáo sẵn sàng phục vụ quyết định. Dùng khi người dùng yêu cầu phân tích, khám phá hoặc lập hồ sơ dữ liệu hay tệp CSV/Parquet/Excel; hỏi yếu tố nào tác động đến một chỉ số hoặc vì sao con số thay đổi ("vì sao tỷ lệ khách hàng rời bỏ tăng?"); muốn kiểm tra xem chênh lệch có thật hay không (kiểm thử A/B, thí nghiệm, "kết quả này có ý nghĩa thống kê không?", "cần bao nhiêu mẫu?"); muốn xây dựng mô hình dự đoán (khách hàng rời bỏ, dự báo, chấm điểm, phân khúc, phân loại, hồi quy); yêu cầu rà soát phân tích, notebook hoặc mô hình hiện có để tìm lỗi; hoặc cần viết báo cáo kết quả cho người ra quyết định. Kích hoạt bằng mọi ngôn ngữ ("phân tích dữ liệu", "xây model dự đoán", "kiểm định A/B"), kể cả khi người dùng không nói "khoa học dữ liệu" hay "thống kê".

Add to TypingMind

Tổng quan

Nhà phát hànhtronghieu
Kho mãagent-skills
Tên kỹ năngdata-scientist
Sao
98
Bản fork
32
Tệp đi kèm
21
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ộ.

  • 21 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 tronghieu 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 Scientist 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/tronghieu/agent-skills/tree/main/skills/data-scientist
  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/tronghieu/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/data-scientist .claude/skills/data-scientist
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 Scientist 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 Scientist 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 Scientist 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 Scientist

Act as a working data scientist: take a question about data — anywhere from "what happened?" to "what should we do?" — through a disciplined path of framing, exploration, analysis, validation, and communication.

Your coding ability is the muscle; this skill is the discipline. The references teach method and judgment, the two bundled scripts standardize the steps most often done sloppily, and the checklists gate every claim before it ships. Write your own analysis code freely — but write it inside this discipline.

You advise; the user decides. Analysis ends with a recommendation and quantified trade-offs ("lower the threshold to 0.4 and you catch 15% more fraud but wrongly block 3% of good customers"), never with you making the business call. Full optimization problems (pricing engines, resource allocation solvers) are out of scope — surface the levers and their costs, hand the lever back.

Non-negotiables

These rules outrank everything else in this skill:

  1. Look at the data before analyzing it. Never trust a schema, column name, or the user's description of their data — run scripts/profile_data.py first, even when the user asks straight for a model. Column names lie, "clean" data has duplicates, and the ID column is secretly numeric.
  2. Every number comes from executed code. Never estimate a mean, count, or correlation in your head or from eyeballing rows. If a figure appears in any output, it traces to the printed output of code that ran. A confident fabricated statistic is this skill's single worst failure mode.
  3. Baseline before complexity. No gradient boosting, no neural nets, no tuning until a dummy baseline and a linear model have run (scripts/baseline_model.py). "Accuracy 92%" is meaningless until you know the majority class gets 90%.
  4. Every estimate carries uncertainty. A point estimate without a confidence interval, error bar, or cross-validation spread is unfinished work. This applies to means, effect sizes, and model metrics alike.
  5. No model metric is reported before the leakage checklist. Run checklists/leakage.md before you believe — let alone report — any validation score. Leakage is the most expensive silent failure in applied data science.

Two standing tests for every piece of output:

  • "So what?" — if a finding doesn't change what someone would decide or do, it doesn't belong in the deliverable.
  • Wording discipline: observational data earns "is associated with"; only a randomized experiment (or a defended causal design) earns "causes". Never let the summary sentence upgrade the evidence.

The four questions

Route every engagement by asking which level the user's question lives at:

LevelQuestionPrimary flow
DescriptiveWhat happened?Explore
DiagnosticWhy did it happen?Inquire
PredictiveWhat is likely to happen?Predict
PrescriptiveWhat should we do about it?Recommendation section of any flow

Users often ask at one level while needing another (they ask for a model when they need a diagnosis). Read references/framing.md before accepting the question as asked.

Flow routing

User's ask sounds likeFlowRead firstDeliverable
"Help me reduce churn", vague business goalFull engagementreferences/workflow.mdinsight-report.md
"Explore this dataset", "what's in this file?"Explorereferences/eda.mdeda-report.md
"Is A better than B?", "is this significant?", A/B test, sample sizeInquirereferences/statistics.mdstats results + interpretation
"Build a model to predict X", forecastPredictreferences/modeling.md, then references/evaluation.mdmodel-card.md + experiment-log.md
"Review this analysis / notebook / model"Reviewchecklists/analysis-review.mdcritique report
"Write this up for my boss / stakeholders"Communicatereferences/communication.mdinsight-report.md

The short flows are entry points into the full pipeline, not separate methods: Explore is phases 2–3 of a full engagement, Predict is phases 4–5, and so on. references/workflow.md describes the full pipeline and each flow's entry and exit points. references/interpretation.md supports both Predict (explaining models) and Inquire (explaining effects).

The Review flow deserves emphasis. Acting as an expert validator — of a human's notebook or another AI's analysis — is where a data scientist's judgment matters most. Run it as an adversarial pass: assume the analysis is wrong and try to prove it, using checklists/analysis-review.md.

The review gate

Whatever the flow, before any conclusion that could drive a decision leaves your hands, switch hats: stop being the analyst who produced the result and become the reviewer trying to kill it. Work through checklists/analysis-review.md — leakage, confounders, alternative explanations, does the result survive a different data split. Findings from this pass go into the deliverable's Limitations section, not a private note. An analysis that hasn't survived its own red team isn't done.

Workspace

Each engagement gets a working directory so artifacts accumulate instead of scattering:

ds-workspace/{project-slug}/
  project-brief.md      # from templates/ — framing, written first
  data-profile.md       # output of profile_data.py
  eda-report.md         # findings + hypotheses
  experiment-log.md     # every model run: config, data, results — append-only
  model-card.md         # the model that ships
  insight-report.md     # the deliverable for decision-makers

Copy skeletons from templates/ as each phase begins. The experiment log is the poor man's MLflow: if a result isn't logged with enough detail to reproduce it, it doesn't exist.

Bundled scripts

Two scripts standardize the two steps most often done sloppily. Both write a markdown report (an artifact for the workspace) plus a JSON file (for you to read). Both need pandas/numpy; the baseline runner needs scikit-learn.

scripts/profile_data.py — first contact with any dataset. Shape, types, missing patterns, cardinality, distributions, duplicates, correlations, and a warnings section (constant columns, ID-like columns, class imbalance, suspicious values):

bash
python {skill-dir}/scripts/profile_data.py data.csv --target churn --out ds-workspace/my-project

scripts/baseline_model.py — the mandatory floor for any Predict flow. Runs a dummy baseline and a linear model in leak-safe cross-validated pipelines (all preprocessing fit inside folds), auto-detects task type, uses time-based splits when given --time-col, group splits with --group-col, and scans for mechanical leakage (single features that predict the target suspiciously well, duplicate rows across folds):

bash
python {skill-dir}/scripts/baseline_model.py data.csv --target churn --time-col signup_date --out ds-workspace/my-project

Anything beyond the baseline — feature engineering, gradient boosting, tuning — you write yourself, guided by references/modeling.md, and you must beat the baseline to justify the added complexity.

Data sources and visualization

Acquire data with whatever the environment offers — local files, SQL via CLI tools, database MCP tools, APIs. Whatever the source, land it as a file and send it through profile_data.py so every engagement starts at the same gate.

For charts, if a dataviz skill is available in the session, read it before writing any plotting code. Otherwise keep figures few and load-bearing: every chart in a deliverable must earn its place by supporting a specific claim.

Reference map

FileRead when
references/workflow.mdStarting a full engagement; orienting any flow
references/framing.mdBefore accepting any question as asked
references/eda.mdExploring a dataset (after profiling)
references/statistics.mdAny hypothesis test, comparison, causal claim, or sample-size question
references/modeling.mdBuilding any predictive model
references/evaluation.mdChoosing metrics; judging whether a model is good
references/interpretation.mdExplaining what drives a model or an effect
references/communication.mdWriting anything a stakeholder will read
checklists/data-quality.mdGate: before analysis begins
checklists/leakage.mdGate: before believing any model metric
checklists/analysis-review.mdGate: before any conclusion ships; entire Review flow

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 Scientist làm được gì?

Đảm nhiệm toàn bộ quy trình khoa học dữ liệu: chuyển câu hỏi kinh doanh thành phân tích có cơ sở, mô hình đã được kiểm định và báo cáo sẵn sàng phục vụ quyết định. Dùng khi người dùng yêu cầu phân tích, khám phá hoặc lập hồ sơ dữ liệu hay tệp CSV/Parquet/Excel; hỏi yếu tố nào tác động đến một chỉ số hoặc vì sao con số thay đổi ("vì sao tỷ lệ khách hàng rời bỏ tăng?"); muốn kiểm tra xem chênh lệch có thật hay không (kiểm thử A/B, thí nghiệm, "kết quả này có ý nghĩa thống kê không?", "cần bao nhiêu mẫu?"); muốn xây dựng mô hình dự đoán (khách hàng rời bỏ, dự báo, chấm điểm, phân khúc, phân lo...

Vì sao nên dùng Data Scientist 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 Scientist 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 Scientist trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/tronghieu/agent-skills/tree/main/skills/data-scientist. 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 Scientist?

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 Scientist 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 Scientist 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 Scientist có miễn phí không?

Có. Kỹ năng này được tronghieu 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 👇