Setup Ml Project 标志

Setup Ml Project

组织
probabl-ai
setup-ml-project

Ask only the pending setup pieces. When Git is selected, commit the current files before setup writes only if that check finds files to preserve. Trigger when the user asks to set up or bootstrap a workspace, or when a pipeline stage finds status.setup.pending non-empty. The question tells the user to select each piece they want. It starts by saying that before any modeling, the workspace should be set up. Do not say the order the pieces will run. Do not offer a piece that is already done or declined. Then, in that same opening phase, ask the environment manager, whether we manage the env, the import name, and git autocommit — only for pieces the user selects, and answers that are not already recorded. Persist those answers. An empty folder or a clean tree records skipped and does not ask. Then run only what the user selects. Git may ask once, just before the first commit, which unknown files to keep. Return to the skill that dispatched this turn.

Add to TypingMind

概览

发布者probabl-ai
代码仓库skore-skills
技能名称setup-ml-project
星标数
144
复刻数
9
附带文件
1
许可协议BSD-3-Clause
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 probabl-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Setup Ml Project AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/probabl-ai/skore-skills/tree/main/skills/setup-ml-project
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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-ml-project .claude/skills/setup-ml-project
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Setup Ml Project,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Setup Ml Project。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Setup Ml Project 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Set Up ML Project

Ordering only. Never run a skipped skill's steps from memory.

Human-facing prose

Details: setup-workspace references/human_facing_prose.md. Questions use data-science labels only (Python environment, workspace layout, editable install, Git, environment manager, whether we manage the Python environment, Python import name, automatic commits). Do not put skill ids, G-* names, or the wrapper CLI in the question.

Lookup

Run status and env detect first. Take the first row that matches. Do not stop after reading the table.

setup.pendingThen
emptystep 9. Do not ask.
every pending piece's skill id is falsename the missing skills in one line, then step 9
non-emptystep 3 multi-select, then step 4, then the stop row, then the choice table

Stop row: editable is selected, has_src is false, and workspace is not selected → one-line stop. Do not ask the remaining choices. Do not scaffold from this skill.

Choice table. Apply every row that matches. Skip a row whose piece was not selected, was not on the board, or whose value is already recorded. Ask and persist before any write.

Selected pieceRecorded stateAction
Python environmentdetected manager is not "none", not ambiguous, not a mismatch, and policy.env_manager is unsetpersist that manager. Do not ask.
Python environmentenv_manager is "none" and policy.env_manager is unset, or ambiguous, or mismatchask, then policy set env_manager
Python environmentpolicy.env.managed is nullask whether we manage the env (default yes), then persist
Workspace layoutfresh or manager-only, policy.package unset, src/<pkg>/ does not name itask the import name (folder name is the default), then policy set package
Gitpolicy.git.autocommit is nullask on or off once, then persist

Then step 7 when Git is selected, then step 8 in order env, workspace, editable, git, then step 9.

Sequence

  1. Run python -m skore_skills status and python -m skore_skills env detect. status.skills is a per-id dict, never a boolean. Read status.setup. Each piece is done, declined, or missing. setup.pending is the ordered list of missing pieces. Do not env init, scaffold, install a package, or git init in this opening phase.

  2. If setup.pending is empty, ask nothing. Go to step 9. done and declined pieces are already answered. Do not offer them. Do not ask their environment manager, whether we manage the env, import name, or automatic commits again.

  3. AskUserQuestion with allow_multiple for setup.pending only. Start by saying that before any modeling, the workspace should be set up. Then the status facts each box rests on — detected manager, has_src, git presence, and which pieces are already recorded. Stay within 2–4 lines. Do not say the order the selected pieces will run. A file link is an addition, never the context. Include a box only when that id is true and the piece is missing. Option labels (user-visible, no ids):

    • Python environment — setup.pending contains env and status.skills.setup-python-env is true
    • Workspace layout — setup.pending contains workspace and status.skills.setup-workspace is true
    • Editable install — status.skills.add-python-package is true, status.setup.editable is missing, and (has_src is true or workspace is on this board)
    • Git — setup.pending contains git and status.skills.setup-git is true

    Map selected labels to setup-python-env, setup-workspace, add-python-package, setup-git when loading.

    The question's last line is exactly: Select each one you want. Write nothing after that line. Do not add a done or declined piece because the layout already looks unfinished. If every pending piece's skill id is false, skip the ask, name the missing skills in one line, and go to step 9.

  4. After the answer, and not in the question, persist each piece the user does not select: python -m skore_skills policy set setup.<piece> declined (env, workspace, editable, or git). Do not persist declined for a box that was not on the board.

  5. Editable selected, has_src false, and workspace not selected → one-line stop. Do not ask the remaining choices. Do not scaffold from this meta.

  6. Ask the remaining choices now, before any write. Skip a question when the user does not select its piece, it was not on the board, or the value is already recorded. Each ask states in 2–4 lines what the answer authorizes. Order:

    • Environment manager — the user selects Python environment. If env_manager is not "none", ambiguous is false, mismatch is false, and policy.env_manager is unset, persist that detected manager. Do not ask. Otherwise ask when (env_manager is "none" and policy.env_manager is unset, or ambiguous is true, or mismatch is true). Ask with AskUserQuestion, using recommended order. PATH is not permission. Do not curl | sh. Persist python -m skore_skills policy set env_manager <manager>.
    • Whether we manage the env — the user selects Python environment and policy.env.managed is null. Default yes. Persist policy set env.managed true or false.
    • Python import name — the user selects workspace, the layout is fresh or manager-only (no src/ and no journal/), policy.package is unset, and src/<pkg>/ does not already name it. Folder name is the default option. “You pick” / “go fast” does not resolve it. Persist policy set package <pkg>.
    • Automatic commits — the user selects Git and policy.git.autocommit is null. Ask once: should later stages persist with git commit (on) or never (off)? That answer consents to the first commit. It does not authorize tracking unknown hidden files or review paths. Persist policy set git.autocommit on or off. That answer does not decide the pre-change snapshot.

    Do not ask notebooks, the documentation site, tabular library, or where reports go.

  7. Pre-change snapshot, before any setup write. Run this only when Git was selected, status.skills.setup-git is true, and policy.git.snapshot is null. Load setup-git and do only its pre-change snapshot section, then return here. Do not env init, scaffold, or git ignore-merge in this step. Do not ask the snapshot question in this skill. The loaded section asks only when git snapshot returns ask. clean and nothing_to_commit, including an empty folder, persist skipped and do not ask. If Git was not selected, git.snapshot is already set, or setup-git is not installed, skip this step. A missing setup-git is one line, then continue. When the check returns ask, the commit is still offered if autocommit is off.

  8. Load selected skills only, in this order: env → workspace → editable (has_src) → git. Load <id> only if status.skills.<id> is true; else one-line skip. Do not invent that skill's steps. The loaded skills must not ask again for a choice persisted in step 6. After each loaded skill returns, persist python -m skore_skills policy set setup.<piece> done. For editable, do that only when env add --editable --execute exits 0. A non-zero exit leaves setup.editable missing. Do not mark a skipped piece, or a piece the user does not select, done.

  9. Return to the skill that dispatched this turn (a lifecycle stage, or triage waiting on a lifecycle request). Do not open the entry board and do not start exploratory data analysis or a pipeline from here. When the user asked only to set up or bootstrap, status again and load triage-ml-task only if status.skills.triage-ml-task is true; else stop. That handoff may ask what to do next; it is not a setup question.

Stop conditions

  • Do not env init, scaffold, or install a package before step 8. Do not git init before step 7.
  • Do not offer a done or declined piece again.
  • Do not ask tabular library, skore mode, notebooks, or site.
  • Do not ask which hidden files or review paths to keep; setup-git asks that once, before the first commit.
  • Do not install sklearn, skrub, or pandas. The selected setup-python-env skill installs plain skore during bootstrap; do not install or configure Skore directly from this coordinator.
  • Do not write experiment or pipeline bodies.
  • Do not commit except by loading setup-git.
  • Do not abort setup because one skill is missing.
  • Do not invent a missing skill's procedure.
  • Do not pixi add / uv add from this coordinator; add-python-package owns install.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Setup Ml Project AI 技能有什么作用?

Ask only the pending setup pieces. When Git is selected, commit the current files before setup writes only if that check finds files to preserve. Trigger when the user asks to set up or bootstrap a workspace, or when a pipeline stage finds status.setup.pending non-empty. The question tells the user to select each piece they want. It starts by saying that before any modeling, the workspace should be set up. Do not say the order the pieces will run. Do not offer a piece that is already done or declined. Then, in that same opening phase, ask the environment manager, whether we manage the env,...

为什么在 TypingMind 中使用 Setup Ml Project?

因为您只需安装一次,就能搭配任何模型使用。Setup Ml Project 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Setup Ml Project?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/probabl-ai/skore-skills/tree/main/skills/setup-ml-project。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Setup Ml Project?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Setup Ml Project 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Setup Ml Project 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Setup Ml Project AI 技能免费吗?

是的。probabl-ai 已在 GitHub 上根据 BSD-3-Clause 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇