organize-ml-workspace

Scaffolds and organizes ML experimentation project layouts with src packages, experiment scripts, and journals.

1|Updated Jun 22, 2026
One-click install
npx skills add https://github.com/probabl-ai/ibm-workshop --skill organize-ml-workspace-probabl-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: organize-ml-workspace
Source: https://github.com/probabl-ai/ibm-workshop/tree/main/.bob/skills/organize-ml-workspace
Command: npx skills add https://github.com/probabl-ai/ibm-workshop --skill organize-ml-workspace-probabl-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Deciding where files should live in a machine learning experimentation project is error-prone and inconsistent: reusable code, experiment scripts, design notes, reports, and scratch probes often end up scattered or mixed together. This Skill enforces a clear, repeatable workspace layout so every experiment is traceable and every file has a single owner. ## Core Features & Use Cases - Workspace layout detection and scaffolding: Detects existing project conventions (pyproject.toml, experiments/, journal/, notebooks) and glues to them, or scaffolds a default layout with src/<pkg>/, experiments/, journal/, tests/smoke/, audit/, scratch/, and reports/. - File-creation rules and stem pairing: Enforces one jupytext # %% script per experiment, four-way stem pairing across journal, experiments, smoke tests, and audit files, and a design-note-first workflow. - Decision gates before scaffolding: Requires structured user confirmation for package name, tabular library (pandas vs polars), environment manager, and skore Project mode (local, hub, or mlflow) before creating manifests or templates. - Use Case: When starting a new ML project, invoke this Skill to scaffold an installable src package, a baseline experiment script wired to a skore Project, a journal placeholder, and a gitignore — all after confirming the key decisions with you. ## Quick Start Ask the agent to set up a new ML experimentation workspace for your project and confirm the package name, tabular library, environment manager, and skore project mode when prompted.

Frequently Asked Questions about organize-ml-workspace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a machine learning experimentation project?

Place reusable code in an installable src/<pkg>/ package (data.py, features.py, pipeline.py, evaluate.py), one jupytext # %% script per experiment in experiments/, design notes in journal/, and skore reports in reports/. This Skill scaffolds that layout after confirming key decisions with you.

Should I create a new experiment file or edit an existing one?

The default is a new file with an incremented numeric prefix, since in-place edits overwrite the prior report stored under the same skore Project key. The Skill always asks you explicitly before editing an existing experiment file.

Can I use Jupyter notebooks instead of Python scripts for experiments?

The convention is jupytext # %% cell-marker scripts under experiments/, not .ipynb files. If existing notebooks are detected, the Skill surfaces the convention shift and asks rather than auto-converting them.

Does this work with MLflow or Skore Hub instead of local storage?

Yes. The skore Project mode gate offers local, hub, and mlflow options, and the project init block in templates is substituted accordingly. Hub mode requires a workspace name and login; mlflow mode requires a tracking URI you supply.

Why does the Skill ask questions before scaffolding instead of just creating files?

Package name, tabular library, environment manager, and skore mode are treated as explicit user decisions because wrong silent defaults are hard to reverse — for example, switching skore mode mid-project orphans existing reports. Structured confirmation prevents circular inference from manifests the agent itself created.