Logo Sync Ml Reports

Sync Ml Reports

Tổ chức
probabl-ai
sync-ml-reports

Copy skore reports between local, Hub, and MLflow, and optionally switch the upload destination. Trigger when the user asks to sync or migrate reports, switch skore mode, upload reports to Hub or MLflow, or pull Hub/MLflow reports onto disk. First G-SKORE-MODE pick stays evaluate-ml-pipeline.

Add to TypingMind

Tổng quan

Nhà phát hànhprobabl-ai
Kho mãskore-skills
Tên kỹ năngsync-ml-reports
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 Sync Ml Reports 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/sync-ml-reports
  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/sync-ml-reports .claude/skills/sync-ml-reports
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 Sync Ml Reports 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 Sync Ml Reports 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 Sync Ml Reports 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.

Sync ML Reports

Copy reports with the skore CLI. Switch the default destination only when the user asked to. Do not evaluate, audit, or invent Project.sync Python.

Human-facing prose

Details: setup-workspace references/human_facing_prose.md. Ask where reports live (disk, Hub, MLflow) in those words. Do not name G-SKORE-MODE, skill ids, or the wrapper CLI in the question. skore sync output may appear in the close as the sync table.

Procedure

  1. Run python -m skore_skills status. Read policy.skore_mode and skills. Open experiments/ and audit/ for the skore.Project(...) init block: name=, Hub workspace=, MLflow tracking_uri=. Local store is always the workspace reports/ directory (absolute path). Never omit --from-workspace / --to-workspace on a local endpoint.

  2. If policy.skore_mode is unset: STOP. First pick is G-SKORE-MODE in evaluate-ml-pipeline. Do not ask local / hub / mlflow here. Load that skill only if status.skills.evaluate-ml-pipeline is true and the user asked to evaluate; else one-line skip. The close is only this stop: the destination is not chosen yet and is picked when a report is stored. Do not list local, Hub, or MLflow, a workspace name, or a tracking URI. Do not use the source-to-destination close below.

  3. AskUserQuestion for any answer not already in the request. Ahead of each question, state in 2–4 lines what the answer authorizes — which reports move where, whether skore_mode and the Project init lines get rewritten — and the facts it rests on: the current mode, the discovered report count, the endpoint. A file link is an addition, never the context.

    • Intent. Switch default destination (sync, then persist skore_mode and rewrite every Project init) vs copy only (sync, leave policy and experiment files).
    • Destination — same three options as G-SKORE-MODE: local (disk, no account), hub (https://skore.probabl.ai), mlflow (tracking server). Hub: ask the workspace name; it MUST NOT contain /. MLflow: ask tracking_uri; confirm a bare host:port as http://host:port. Do not default the URI.
    • Project name if name= is missing or disagrees across files.
    • Dry-run first vs transfer now.

    If intent is switch and destination equals policy.skore_mode, stop in one line.

  4. Destination extras: load add-python-package only if status.skills.add-python-package is true, for Skore at the destination mode (env add-skore --mode <dest>). If that skill is missing, name Skore for the destination and stop. Do not splice pip install / skore[...] here.

  5. If Hub is source or destination: require SKORE_HUB_API_KEY in the environment. Missing → name it and stop. Do not open a browser login. Do not read .skore for the key.

  6. Build skore sync. If skore is not on PATH, name skore-cli and stop. Do not call skore.Project.sync in Python.

    bash
    skore sync <project> --from=<source_mode> --to=<dest_mode>

    Source mode is policy.skore_mode. Add:

    EndpointFlags
    local--from-workspace or --to-workspace = resolved reports/
    hub--from-workspace or --to-workspace = Hub workspace name (required)
    mlflow--tracking-uri=...; never *-workspace

    --to-project only if the destination name differs. --hub-url only when SKORE_HUB_URI (or the user) names a non-default Hub. --both only if the user asked to copy missing reports both ways. Otherwise one-way.

    If the user picked dry-run first, run with --dry-run, show the plan, then ask to transfer. Live run omits --dry-run.

    Usage/auth/backend errors: name stdout/stderr and stop. Do not invent a Python fallback. Empty output No reports to synchronize. is success (nothing to copy; a switch may still continue).

  7. Switch intent only, after a successful (or empty) sync: python -m skore_skills policy set skore_mode <dest>. Rewrite every Project init in experiments/ and audit/ to the destination form in evaluate-ml-pipeline/references/g_skore_mode.md (audit must match the paired experiment, byte-for-byte modulo formatting). If dest is local, mkdir reports (exist_ok); no README. If hub or mlflow, do not create reports/. If journal/JOURNAL.md exists, insert a --- under History and one line skore_mode: <old> → <dest> (sync-ml-reports). Missing journal → skip in one line; do not paste a JOURNAL body.

    Copy-only: do not policy set, rewrite init, mkdir, or edit JOURNAL.

Stop conditions

  • Do not steal first G-SKORE-MODE when skore_mode is unset.
  • Do not silently change a recorded mode; switch requires the switch intent (or an explicit user request to switch).
  • Do not git commit.
  • Do not evaluate, project.put, or audit.
  • Do not pass *-workspace on an MLflow endpoint.
  • Do not omit *-workspace on a local or Hub endpoint.

End of turn

User-facing close

This close applies only after a sync. An unset policy.skore_mode uses the step-2 stop instead.

Short story: source → destination, whether policy changed, and the skore sync table or No reports to synchronize. Do not dump experiment files.

Then python -m skore_skills git end-turn --stage evaluate (the persist bucket for this work; this is not a CV run). If JSON action is invoke, load persist-ml-git only if status.skills.persist-ml-git is true and stop; that skill 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. No git commit.

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 Sync Ml Reports làm được gì?

Copy skore reports between local, Hub, and MLflow, and optionally switch the upload destination. Trigger when the user asks to sync or migrate reports, switch skore mode, upload reports to Hub or MLflow, or pull Hub/MLflow reports onto disk. First G-SKORE-MODE pick stays evaluate-ml-pipeline.

Vì sao nên dùng Sync Ml Reports 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. Sync Ml Reports 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 Sync Ml Reports 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/sync-ml-reports. 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 Sync Ml Reports?

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 Sync Ml Reports 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 Sync Ml Reports 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 Sync Ml Reports 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 👇