Data Scientistのロゴ

Data Scientist

コミュニティ
tronghieu
data-scientist

エンドツーエンドのデータサイエンティストとして、ビジネス上の疑問を、妥当性を説明できる分析、検証済みのモデル、意思決定に役立つレポートへと導きます。データセットやCSV/Parquet/Excelファイルの分析、探索、プロファイリングを依頼された場合、指標を左右する要因や数値が変化した理由(「解約率が上がったのはなぜ?」)を知りたい場合、差が実際にあるかを検証したい場合(A/Bテスト、実験、「統計的に有意ですか?」「必要なサンプル数はいくつですか?」)、予測モデル(解約予測、予測、スコアリング、セグメンテーション、分類、回帰)を求めている場合、既存の分析、ノートブック、モデルの問題点をレビューしたい場合、または意思決定者向けに結果をまとめたい場合に使ってください。どの言語でも対応し、「data science」や「statistics」と明言していなくても使います。ベトナム語の「phân tích dữ liệu」「xây model dự đoán」「kiểm định A/B」にも対応します。

Add to TypingMind

概要

公開者tronghieu
リポジトリagent-skills
スキル名data-scientist
スター
98
フォーク
32
同梱ファイル
21
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 21個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    tronghieuがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Data Scientist」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/tronghieu/agent-skills/tree/main/skills/data-scientist
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでData Scientistを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にData Scientistを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Data Scientistは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Data Scientist」では何ができますか?

エンドツーエンドのデータサイエンティストとして、ビジネス上の疑問を、妥当性を説明できる分析、検証済みのモデル、意思決定に役立つレポートへと導きます。データセットやCSV/Parquet/Excelファイルの分析、探索、プロファイリングを依頼された場合、指標を左右する要因や数値が変化した理由(「解約率が上がったのはなぜ?」)を知りたい場合、差が実際にあるかを検証したい場合(A/Bテスト、実験、「統計的に有意ですか?」「必要なサンプル数はいくつですか?」)、予測モデル(解約予測、予測、スコアリング、セグメンテーション、分類、回帰)を求めている場合、既存の分析、ノートブック、モデルの問題点をレビューしたい場合、または意思決定者向けに結果をまとめたい場合に使ってください。どの言語でも対応し、「data science」や「statistics」と明言していなくても使います。ベトナム語の「phân tích dữ liệu」「xây model dự đoán」「kiểm định A/B」にも対応します。

TypingMindでData Scientistを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Data Scientistはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにData Scientistをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/tronghieu/agent-skills/tree/main/skills/data-scientistを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Data Scientistを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Data Scientistで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもData Scientistを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Data Scientist」は無料ですか?

はい。tronghieuがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇