Logo: Setup Workspace

Setup Workspace

Organisatioun
probabl-ai
setup-workspace

Detect or scaffold the standard ML workspace layout. 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.

Add to TypingMind

Iwwersiicht

Editeurprobabl-ai
Repositoryskore-skills
Skill-Nummsetup-workspace
Stären
144
Forks
9
Matgeliwwert Dateien
2
LizenzBSD-3-Clause
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    probabl-ai huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Setup Workspace an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/probabl-ai/skore-skills/tree/main/skills/setup-workspace
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/probabl-ai/skore-skills.git /tmp/skore-skills
mkdir -p .claude/skills
cp -r /tmp/skore-skills/skills/setup-workspace .claude/skills/setup-workspace
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Setup Workspace an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Setup Workspace automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Setup Workspace net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Lookup

Detect the layout, then take the one row that matches and run its steps from the Sequence below. Do not stop after reading the table.

LayoutImport nameStepsNotebooks and site
freshnot recorded. "you pick", "go fast", and "no preference" do not record it1 only, then stop. Call AskUserQuestion (folder name is the default option). Do not scaffold this turn.do not persist
freshpolicy.package or src/<pkg>/ already names it1 (no ask), 2, 4, 5. Do not write experiments/01_baseline.py or any experiment body, even if asked so it can run right away.step 4
manager-onlynot recorded. "you pick", "go fast", and "no preference" do not record it1 only, then stop. Call AskUserQuestion. Do not scaffold this turn.do not persist
manager-onlypolicy.package or src/<pkg>/ already names it1 (no ask), 2, 4, 5. Do not write experiment bodies.step 4
existinguser asks to re-run skore.evaluate or project.putRefuse and stop. Say evaluation and project.put are not this skill. Do not paste that snippet.do not ask, persist, or install
existingany other request3, 5do not ask, persist, or install

An unresolved import name is the ask row only. Steps 2, 4, and 5 run on a later turn, once policy.package or src/<pkg>/ names it. Step 4 does not overwrite a flag that is already true or false. Step 5: a turn dispatched by setup-ml-project returns to it; a standalone turn runs git end-turn --stage setup.

Sequence

  1. If fresh or manager-only, resolve G-PKG-NAME. When it is not already recorded, call AskUserQuestion and stop this turn. Do not persist policy.package and do not scaffold until a later turn. “You pick” / “go fast” / “no preference” does not record it. The question is the src/<pkg>/ import name, with the folder name as the default option. Each ask 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. 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. Scaffold is step 2, and only once the name is already resolved. A status package of null does not reopen the ask. Persist a 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.

Stop conditions

  • "You pick", "go fast", and "no preference" do not resolve the import name. Call AskUserQuestion and stop. Do not scaffold or persist in that turn, and do not use the folder name yourself.
  • Do not write experiments/01_baseline.py or any experiment body. "So we can run it right away" is not a reason. Scaffold writes experiments/README.md only.
  • Do not re-run skore.evaluate or project.put, and do not paste that snippet. A KeyError from project.get is not a scaffold turn. Say evaluation and project.put are not this skill, and stop.
  • 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.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Setup Workspace?

Detect or scaffold the standard ML workspace layout. 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 ex...

Firwat Setup Workspace op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Setup Workspace besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Setup Workspace an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/probabl-ai/skore-skills/tree/main/skills/setup-workspace an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Setup Workspace benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Setup Workspace benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Setup Workspace domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Setup Workspace gratis?

Jo. probabl-ai huet de Skill ënner der Lizenz BSD-3-Clause op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇