Agent skill

Setup Workspace

by probabl-ai in probabl-ai/skills

Detect an existing ML workspace or scaffold a fresh one via python -m skoreskills scaffold --package <pkg.

BSD-3-ClauseAuto-check passedData & Analytics

Install Setup Workspace

skills CLI
$ npx skills add probabl-ai/skills --skill setup-workspace -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install probabl-ai/skills setup-workspace --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/probabl-ai/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/setup-workspace .claude/skills/setup-workspace && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
setup-workspace
GitHub stars
135
Token cost
~1.5k tokens
SKILL.md length
667 words
Files
3 (incl. references)
Skills in repo
23
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Detect an existing ML workspace or scaffold a fresh one via python -m skoreskills scaffold --package <pkg.

  • Works in 5 steps: If fresh or manager-only, resolve… → Fresh / manager-only → Existing: do not scaffold again. Do not… → …
  • A new ML project layout
  • SKILL.md covers Human-facing prose, Detection, Pre-flight and Sequence, plus 2 more sections
  • Calls python, uv and git

What it does

Setup Workspace is an agent skill from probabl-ai/skills. Detect an existing ML workspace or scaffold a fresh one via python -m skoreskills scaffold --package <pkg. Cookiecutter only: directories, README.md files, and src/<pkg/ stubs. After a first scaffold, turn executed notebooks and the documentation site on by default (no ask). TRIGGER for a new ML project layout or first scaffold. SKIP pipeline, evaluation, exploratory data analysis, and library choice. HOW TO USE: detect first. For a fresh or manager-only layout, resolve G-PKG-NAME via AskUserQuestion unless…

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `evals/evals.json` and `references/human_facing_prose.md`).

It sits in Data & Analytics, covering Project scaffolding, Static sites and blogs and Data analysis. It works with Python. The repository describes itself as: Tabular Data Science Skills for guardrailing AI Agents. The licence is BSD-3-Clause.

When your agent uses it

  • A new ML project layout
  • Tasks that involve Project scaffolding
  • Tasks that involve Static sites and blogs

Example prompts

  • “/setup-workspace”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. If fresh or manager-only, resolve G-PKG-NAME. Ask with
  2. Fresh / manager-only
  3. Existing: do not scaffold again. Do not invent files. No
  4. After scaffold on fresh or manager-only, if
  5. If setup-ml-project dispatched this turn and is in this

What it can do on your machine

Read from SKILL.md and the folder at commit 5edc7a4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python
    • uv
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv and git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Setup Workspace loads about 1.5k tokens when it runs, and up to ~2.2k if it reads all its reference files. Until then it costs about 183 tokens; SKILL.md has 667 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~183
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from probabl-ai/skills at commit 5edc7a4, republished under its BSD-3-Clause licence (© probabl-ai). 667 words, ~1,539 tokens.

Download SKILL.mdSave it as .claude/skills/setup-workspace/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
setup-workspace
description
Detect an existing ML workspace or scaffold a fresh one via `python -m skore_skills scaffold --package <pkg>`. Cookiecutter only: directories, README.md files, and src/<pkg>/ stubs. After a first scaffold, turn executed notebooks and the documentation site on by default (no ask). TRIGGER for a new ML project layout or first scaffold. SKIP pipeline, evaluation, exploratory data analysis, and library choice. HOW TO USE: detect first. For a fresh or manager-only layout, resolve G-PKG-NAME via `AskUserQuestion` unless `policy.package` or `src/<pkg>/` already names it, then scaffold, then persist notebooks/site true when both are still unset. For an existing layout, stop without scaffolding or inventing files.

Set Up Workspace

Decide where artifacts live. Do not design an experiment here.

Human-facing prose

Details: references/human_facing_prose.md. Scaffolded design notes, JOURNAL, and folder READMEs describe this workspace's analysis — not the skills framework, the CLI, or the command that produced an output. Questions and replies use the same data-science language (import name, notebooks, documentation site) — not G-* names, catalog skill ids, or the wrapper CLI. Say "workspace setup", not setup-workspace. <!-- results-embed: … --> is a site marker. Authoring hints stay in this skill. style is ruff only.

Detection

  • src/ or journal/ present → existing. Reuse names and folders. Do not scaffold again.
  • Manager manifest without src/<pkg>/ → manager-only. Still scaffold; keep existing pyproject.toml. No --force.
  • Otherwise → fresh. Ask G-PKG-NAME, then scaffold.

Pre-flight

Tick, then immediately run the matching sequence step. Do not stop after listing the boxes.

- [ ] Layout: fresh | manager-only | existing
- [ ] G-PKG-NAME: ask if fresh/manager-only (unless policy.package or src/<pkg>/ already names it)
- [ ] scaffold --package <pkg> | existing: no scaffold, no invent
- [ ] fresh/manager-only: persist notebooks + site true; install
- [ ] dispatched → return | standalone → git end-turn --stage setup

Sequence

  1. If fresh or manager-only, resolve G-PKG-NAME. Ask with the AskUserQuestion tool when it is not already recorded (the src/<pkg>/ import name; folder name as the default option). Each ask in this skill states in 2–4 lines what the answer authorizes — the scaffolded tree, the persisted policy key, the toolchain a gate implies — and the detected facts it rests on; a file link is an addition, never the context. “You pick” / “go fast” does not resolve it. Do not confirm in prose instead of the tool. A matching [project] name + src/<pkg>/ already resolves it — do not re-ask. A recorded policy.package also resolves it. Do not re-ask. When setup-ml-project dispatched this turn and policy.package is set, do not ask again. When src/<pkg>/ is absent, scaffold that name. A status package of null does not reopen the ask. Persist the resolved import name with python -m skore_skills policy set package <pkg>.

  2. Fresh / manager-only:

    bash
    python -m skore_skills scaffold --package <pkg>

    The CLI writes the tree and each folder README.md. Do not recreate those files from memory.

  3. Existing: do not scaffold again. Do not invent files. No rename, no overwrite, no --force. Do not persist or ask notebooks/site.

  4. After scaffold on fresh or manager-only, if policy.notebooks and policy.site are both null (never set): persist both on this turn —

    python -m skore_skills policy set notebooks true

    python -m skore_skills policy set site true

    Do not AskUserQuestion for notebooks or site. Persist both before the user-facing line. That line says executed notebooks and the documentation site are on; the user can turn either off later. Do not say they are still unset or null. Do not write notebooks or site into JOURNAL; policy is the record. Do not ask.

    Same turn after persist:

    Load add-python-package only if status.skills.add-python-package is true and policy.env.managed is true. Else one-line skip: name jupytext / nbclient / ipywidgets / nbconvert / mkdocs-material; do not invent pixi add / uv add; skip site init. Do not invent that skill's steps.

    When that load is allowed:

    • notebooks true → add-python-package for jupytext, nbclient, and ipywidgets (all env route agent), plus nbconvert when site is also true — stage turns write the notebook viewer with --html. Do not leave them as ask. Do not convert.
    • site true → add-python-package for mkdocs-material (agent), then python -m skore_skills site init.

    If either flag is already true or false, do not overwrite and do not install from this step.

  5. If setup-ml-project dispatched this turn and is in this session, return to it; else stop. Standalone: python -m skore_skills git end-turn --stage setup. If JSON action is invoke, load persist-ml-git only if status.skills.persist-ml-git is true and stop; it returns to triage. If persist is missing, name the pending staged paths and stop. Otherwise load triage-ml-task only if status.skills.triage-ml-task is true; else stop.

Show full SKILL.md (81 more words)Show less

Stop conditions

  • Do not ask env manager, tabular library, or skore mode.
  • Do not run pixi init / uv init.
  • Do not env-bootstrap or editable-install. Export toolchain (jupytext, nbclient, ipywidgets, nbconvert, mkdocs-material) only via add-python-package after persisting notebooks/site. Never pixi add / uv add from this skill.
  • Do not write experiment or exploratory data analysis bodies.
  • Never git commit here.
  • Do not AskUserQuestion for notebooks or site.
  • Do not persist notebooks/site on an existing layout.

Layout (CLI writes this)

text
src/<pkg>/
experiments/
journal/
data_analysis/
data/
audit/
tests/smoke/
scratch/

Each directory has README.md.

© probabl-ai, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/setup-workspace of probabl-ai/skills.

  • SKILL.md
  • evals/evals.json
  • references/human_facing_prose.md

Open the folder on GitHubat commit 5edc7a4

Compare with similar skills

Setup Workspace next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Setup Workspace compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Setup Workspace this skillprobabl-ai/skills135—~1.5kAutomated safety check: PassBSD-3-Clause
R Python Translationbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~5.5kAutomated safety check: PassCustom licence
README and DESIGN Generatorfengshao1227/ccg-workflow5.9k—~410Automated safety check: NotesMIT
Edgeone Makers RecipesTencentEdgeOne/edgeone-makers-tools1.9k1 repos~2.6kAutomated safety check: PassMIT
Leetcode Pywislertt/leetcode-py142—~1.4kAutomated safety check: PassApache-2.0
Ok Script Codegenbaoxin1100/ok-kes101—~2kAutomated safety check: PassNone

Similar skills

  • R Python Translation

    brycewang-stanford/Auto-Empirical-Research-Skills

    R-to-Python translation for data analysis. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.5k GitHub stars~5.5k tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed
  • README and DESIGN Generator

    fengshao1227/ccg-workflow

    Generates README.md and DESIGN.md skeletons for a module by scanning its structure with a Node script, then lists what to fill in by hand.

    5.9k GitHub stars~410 tokensUpdated 22 days ago
    DevelopmentAuto-check: notes
  • Edgeone Makers Recipes

    TencentEdgeOne/edgeone-makers-tools

    Project structure templates and scaffolding recipes for typical EdgeOne Makers applications — full-stack apps, static sites, API services, and AI agent projects.

    1.9k GitHub starsUsed in 1 repo~2.6k tokens
    Backend & APIsAuto-check passed
  • Leetcode Py

    wislertt/leetcode-py

    Generates Python LeetCode practice environments and manages a 307-problem catalog with the lcpy CLI.

    142 GitHub stars~1.4k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Ok Script Codegen

    baoxin1100/ok-kes

    Generate Python automation code for ok-script task run methods from user descriptions and optional screenshots.

    101 GitHub stars~2k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Swarmauri Add Community Standalone

    swarmauri/swarmauri-sdk

    Add a second-class standalone Swarmauri package under pkgs/community.

    104 GitHub stars~387 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

More from probabl-ai/skills

All 23 skills in this repo
  • Add Python Package

    probabl-ai/skills

    Add a Python dependency through the project env manager, or ask the user to install it when env.managed is false.

    135 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Build ML Pipeline

    probabl-ai/skills

    Declare the pipeline from data source to predictor as a skrub DataOps graph.

    135 GitHub stars~4k tokensUpdated today
    Auto-check passed
  • Evaluate ML Pipeline

    probabl-ai/skills

    Evaluate one learner with skore.evaluate. An agent skill from probabl-ai/skills.

    135 GitHub stars~4.2k tokensUpdated today
    Auto-check passed
  • Audit ML Pipeline

    probabl-ai/skills

    Read-only audit of one persisted skore report: audit/NN<stem.py (jupytext percent), 1:1 with experiments/ and journal/.

    135 GitHub stars~9.5k tokensUpdated today
    Auto-check passed
  • Explore ML Data

    probabl-ai/skills

    Owns data understanding before any model is designed. An agent skill from probabl-ai/skills.

    135 GitHub stars~5.7k tokensUpdated today
    Auto-check passed
  • Export ML Notebook

    probabl-ai/skills

    Convert a jupytext percent %% Python file into an executed .ipynb with cell outputs.

    135 GitHub stars~1k tokensUpdated today
    Auto-check passed

Works with

Questions about Setup Workspace

What does Setup Workspace do?

Detect an existing ML workspace or scaffold a fresh one via python -m skoreskills scaffold --package <pkg. Setup Workspace is an agent skill from probabl-ai/skills. Detect an existing ML workspace or scaffold a fresh one via python -m skoreskills scaffold --package <pkg.

When should I use Setup Workspace?

Setup Workspace fits situations like: A new ML project layout; tasks that involve Project scaffolding; tasks that involve Static sites and blogs.

How do I install Setup Workspace in Claude Code?

Run `npx skills add probabl-ai/skills --skill setup-workspace -a claude-code`. Or copy the skill folder (skills/setup-workspace in probabl-ai/skills) into .claude/skills/setup-workspace in your project. Claude Code loads it when a task matches its description.

How do I install Setup Workspace in Codex?

Run `npx skills add probabl-ai/skills --skill setup-workspace -a codex`. Or copy the skill folder (skills/setup-workspace in probabl-ai/skills) into .agents/skills/setup-workspace in your project. Codex loads it when a task matches its description.

Can I use Setup Workspace in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add probabl-ai/skills --skill setup-workspace -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/setup-workspace, .gemini/skills/setup-workspace, .github/skills/setup-workspace and .opencode/skills/setup-workspace in your project.

What does Setup Workspace need to run?

Going by SKILL.md and its folder, Setup Workspace needs the command-line tools its instructions call (python, uv and git). Our summary lists: Python 3.

Does Setup Workspace access the network?

SKILL.md contains no URLs. Its commands use uv and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Setup Workspace safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Setup Workspace use?

Setup Workspace is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Setup Workspace use?

About 1.5k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 684 tokens, read only when the agent opens those files.

What are the alternatives to Setup Workspace?

Skills that share tags, products or a category with Setup Workspace: R Python Translation (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars), README and DESIGN Generator (fengshao1227/ccg-workflow, 5.9k stars), Edgeone Makers Recipes (TencentEdgeOne/edgeone-makers-tools, 1.9k stars) and Leetcode Py (wislertt/leetcode-py, 142 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Setup Workspace?

probabl-ai (a GitHub organization) maintains it in probabl-ai/skills, which has 135 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 6, 2026.

Source: probabl-ai/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.