Ml Projectのロゴ

Ml Project

コミュニティ
arsenyinfo
ml-project

Guidelines for ML projects. Use when training or evaluating models, building ML pipelines, running experiments, or working with datasets/parquet files and CatBoost/PyTorch/Polars code.

概要

公開者arsenyinfo
リポジトリskills
スキル名ml-project
スター
29
フォーク
1
同梱ファイル
3
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 3個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/arsenyinfo/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/ml-project .claude/skills/ml-project
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

ML Project Guidelines

Philosophy

  • Validation is king - always define clear train/val/test splits before training
  • Error analysis is queen - understand failures, not just metrics
  • No mocks - test with real data and objects
  • Raw over abstraction - YAML configs, tensorboard, raw plots. No MLflow/W&B complexity
  • Hyperparam tuning is overrated - usually low-hanging fruit elsewhere: features, data, target. Highly tuned models are brittle
  • Simple ensembles only - if needed, blend linear model + CatBoost. No stacking towers
  • Too good = suspicious - great results warrant paranoid leakage checks before celebration
  • Apples to apples - always compare full baseline vs full experiment on the same data. No cherrypicked subsamples
  • Hypotheses need origins - every experiment starts with "why". No random fishing expeditions
  • No hardcoded paths - paths live in config

Default Workflow

  1. Inspect the project first: data shape, target definition, existing metrics, existing split, and current baseline.
  2. Define or verify train/val/test before training anything. For time-series, use chronological splits by default.
  3. Write the hypothesis before the experiment: what should improve, why, and which metric should move.
  4. Run the simplest baseline that answers the question, then compare the full baseline and full experiment on identical splits.
  5. Save the frozen config, metrics, predictions, model artifact, and any feature importance or plots into the run directory.
  6. Do error analysis before declaring success: inspect false positives/negatives, high-loss examples, calibration, slices, and date/entity drift.
  7. If results look very strong, assume leakage until checked.
  8. Write a short memo with hypothesis, setup, results, conclusion, and next step.

Proportionality: throwaway exploration (quick plots, sanity checks) needs no run dir and no memo — do it in temp/ or experimental/. The full hypothesis → frozen config → run dir → memo ceremony is for tracked experiments. The moment you are about to compare results or make a decision on them, it is a tracked experiment — promote it.

When it goes wrong

  • A failed hypothesis still gets a memo with the negative result. Most common outcome, most commonly unwritten.
  • Diverging or NaN loss: check data and targets before touching the learning rate.
  • Baseline cannot be reproduced: stop. Every comparison is blocked until it can.

Stack

PurposeTool
Tabular MLCatBoost
Deep LearningPyTorch
DataFramesPolars, never pandas
Loggingcoloredlogs + logging.getLogger(__name__), never print
CLIfire, e.g. fire.Fire({"train": train, "evaluate": evaluate})
Configdataclass + YAML
Plotsmatplotlib, raw
Trackingtensorboard + memos/
PerformanceRust via maturin, when needed

Project Structure

project/
├── core/               # metrics, validation, shared utils
├── pipeline/           # production baseline code
├── experimental/       # exp_name/ subdirs for throwaway code
│   └── exp_name/       # migrate to pipeline/ if works
├── features/           # feature engineering modules
├── data/
│   ├── raw/            # immutable source data
│   └── processed/      # transformed data
├── memos/              # experiment results, markdown
├── configs/            # YAML job configs
├── experiments/        # timestamped run outputs
├── tests/              # pytest tests
└── temp/               # validation scripts, clean up after

Leakage Checks

Always verify:

  • Features are available at prediction time
  • Aggregations and normalizers are fit on train only
  • No target, future, backtest, or execution columns enter features
  • Entity duplicates do not cross splits unless that is intentional
  • Time-series tasks use chronological splits, and embargo gaps where labels overlap windows
  • A too-good metric is reproduced on a fresh holdout before it is trusted

References

  • references/config-and-tracking.md — open when setting up configs, run dirs, memos, logging, or reproducibility.
  • references/data-and-validation.md — open when writing splits, feature selection, or data loading code.
  • references/modeling.md — open when writing CatBoost or PyTorch training code.

同梱ファイル

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

よくある質問

AIスキル「Ml Project」では何ができますか?

Guidelines for ML projects. Use when training or evaluating models, building ML pipelines, running experiments, or working with datasets/parquet files and CatBoost/PyTorch/Polars code.

TypingMindでMl Projectを使うメリットは何ですか?

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

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

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

Ml Projectを使えるAIモデルはどれですか?

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

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

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

AIスキル「Ml Project」は無料ですか?

arsenyinfoがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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