Logo Setup Ml Project

Setup Ml Project

Tổ chức
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

Tổng quan

Nhà phát hànhprobabl-ai
Kho mãskore-skills
Tên kỹ năngsetup-ml-project
Sao
144
Bản fork
9
Tệp đi kèm
1
Giấy phépBSD-3-Clause
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được probabl-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Setup Ml Project trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/probabl-ai/skore-skills/tree/main/skills/setup-ml-project
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Setup Ml Project trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Setup Ml Project ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Setup Ml Project với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Setup Ml Project làm được gì?

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,...

Vì sao nên dùng Setup Ml Project trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Setup Ml Project là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Setup Ml Project trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/probabl-ai/skore-skills/tree/main/skills/setup-ml-project. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Setup Ml Project?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Setup Ml Project với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Setup Ml Project với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Setup Ml Project có miễn phí không?

Có. Kỹ năng này được probabl-ai phát hành trên GitHub theo giấy phép BSD-3-Clause. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇