agentleFS
AnastasiyaWAnastasiyaW/codex-claude-code-config/skills/ai-ml/ml-research-lab/SKILL.md

ml-research-lab

Skill153 starsChanged 7 months agoMITView on GitHub

Machine-learning research loop for dataset curation, fine-tuning, evaluation, inference deployment, experiment tracking, and model explainability. Use when working on ML experiments, training data, model benchmarks, RunPod/GPU runs, classifier quality, vLLM/GGUF serving, SHAP-style model explanations, or research-to-code iterations. Do not use for a simple code edit that has no ML dataset, metric, model, or experiment artifact.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill as the compact router for ML work.

    line 8
  2. Distinctive:

    Run or wire experiment tracking before long jobs start.

    line 19
  3. Very specific:

    Do not import broad external skill collections wholesale.

    line 56

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ML Research Lab

Use this skill as the compact router for ML work. It is derived from an audit of synthetic-sciences/openscience at commit 531467c, but does not require running OpenScience or loading its full 250+ skill set.

Operating Loop

  1. Freeze the question as a measurable hypothesis.
  2. Identify dataset provenance, labels, splits, leakage risks, and regeneration cost.
  3. Pick the smallest baseline that can disprove the idea.
  4. Define metrics before training. For release claims, require train/val/test split, no test-set model selection, and multi-seed proof when cost permits.
  5. Run or wire experiment tracking before long jobs start.
  6. Save artifacts: config, command, data manifest, metrics JSON/CSV, logs, model hash, and a short conclusion.
  7. Compare against baseline, then keep/discard the change from evidence.

Domain Routing

  • Dataset or scrape cleanup: start from data quality, deduplication, leakage checks, train/eval splits, and regeneration notes.
  • Classical classifier or tabular baseline: use scikit-learn-style pipelines with preprocessing inside the pipeline and stratified splits for classification.
  • Model debugging or trust: add SHAP/explainability for feature importance, leakage, bias/proxy features, and misclassified samples.
  • LLM fine-tuning: prefer JSONL chat format, data validation, LoRA/QLoRA baseline, and tracked runs before scaling.
  • Single-GPU fast LoRA/QLoRA: consider Unsloth only after checking hardware, CUDA, model support, and export target.
  • Large or production inference: use vLLM for high-throughput GPU serving, GGUF or llama.cpp for local/Apple/CPU-friendly deployment, and TensorRT-LLM only when the NVIDIA production optimization cost is justified.
  • Research write-up: report method, dataset, exact metric formula, baseline source, limitations, and failure cases.

Verification Gates

  • Data gate: schema valid, duplicates/leakage checked, split manifest saved.
  • Metric gate: exact metric formula named; if benchmarked, original baseline source and benchmark code checked.
  • Runtime gate: command/log path and environment captured; GPU memory and errors checked for long runs.
  • Tracking gate: metrics are retrievable as JSON/CSV or a dashboard link plus local export.
  • Deployment gate: latency, throughput, memory, and OOM behavior measured before claiming production readiness.

Adoption Boundary

Do not import broad external skill collections wholesale. Use the inventory script scripts/openscience_skill_inventory.py to rank candidates, inspect the relevant source skill manually, then promote only compact workflows or deterministic scripts that improve our own tests.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.