Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

notebook-to-agilab-project

БесплатноБез исполняемых скриптовНе проверен

Migrate or maintain a small local notebook workflow inside an AGILAB project. Use this skill when a user wants notebooks turned into a reproducible AGILAB…

ThalesGroupот ThalesGroup★ 23 звезды на GitHub

Об этом скилле

Notebook To AGILAB Project

Use this skill when the source material is a small set of local notebooks and the goal is to turn them into an AGILAB-style workflow rather than keep a notebook-only delivery.

When to use

  • 2-6 notebooks that already form a sequence
  • local ML / data notebooks with explicit artifacts
  • migration demos where the user wants to show what AGILAB adds
  • examples that need lab_stages.toml, a conceptual workflow view, and an ANALYSIS page

Do not use

  • giant exploratory notebooks with no stable outputs
  • cloud-first tutorials whose main value is vendor services
  • notebooks that depend on interactive widgets as the primary UX

Surface choice contract

  • Choose an AGILAB app project when the workflow owns execution: dataset generation, training, optimization, model state, reproducible run evidence, or project-specific semantics. Add a page only as the review layer that reads the app's exported artifacts.
  • Choose an AGI page when the analysis is becoming part of the app contract: repeatable dashboard, review screen, demo, validation evidence, or agi-page-* package. This enables non-notebook users, stable demos, CI-backed artifact checks, and releaseable page packaging. The cost is that the page bundle, dependencies, and exported artifact contract must be maintained.
  • Do not classify a self-contained training playground as a generic page just because it is implemented in native Python UI. If it remains packaged as a page for a teaching/demo reason, document it as an explicit opt-in exception and keep a follow-up split plan if the workflow should become reproducible AGILAB app behavior.
  • Choose notebooks or AGI snippets when the work is still code-centric: exploration, debugging, cell reruns, migration from an existing notebook, reusable snippets, or technical handoff. Reuse depends on the snippet/notebook contract, runtime environment, and declared dependencies. The ANALYSIS Jupyter sidecar is only the local interactive launch path; it is not the only way notebooks or snippets can be reused.
  • Use both when the product surface and investigation trail both matter: keep the AGI page as the stable result surface and keep notebooks or snippets as the technical trail behind that result.

Required workflow

  1. Identify the notebook sequence.

    • Keep only the semantic stages.
    • Collapse notebook noise such as repeated plotting or ad hoc debug cells.
  2. Define the artifact contract first.

    • Decide which files must survive the migration.
    • Prefer stable files such as CSV, Parquet, JSON, and PNG over notebook state.
    • For executable worker stages, use the shared ArtifactContract inherited by BaseWorker and DagWorker: call record_artifact(...), record_metric(...), and write_manifest(...) instead of inventing project-local manifest formats.
  3. Map the sequence into AGILAB.

    • PROJECT: args and dataset location
    • WORKFLOW: explicit ordered stages in lab_stages.toml
    • ANALYSIS: one page that reads the exported artifacts when the result should be productized
    • project notebooks: reusable .ipynb files under <app_project>/notebooks/
    • AGI snippets: reusable code contracts when a notebook cell should become a smaller execution unit
  4. Make the migration value explicit.

    • Show what was implicit in notebooks.
    • Show what becomes reproducible, rerunnable, and comparable in AGILAB.
  5. Keep the first migrated project small.

    • Prefer one dataset, one target variable, one analysis page.
    • Do not overbuild a full product app for the first example.

Output checklist

  • a small notebook set kept as source material
  • a migration README that explains why AGILAB helps
  • a sample lab_stages.toml
  • a pipeline_view.dot or pipeline_view.json
  • exported sample artifacts for ANALYSIS
  • one explicit surface decision: AGI page, notebook/AGI snippets, or both
  • one analysis page bundle or a concrete plan to create it when the result is productized

Notebook Import And Launch Guardrails

Use these checks whenever a notebook migration touches WORKFLOW import or the ANALYSIS notebook launcher:

  • For first-proof notebook import, keep the packaged sample selected from the ABOUT wizard only. PROJECT Create may show the selected state, but it must not add a second packaged-sample selection or download button. Use explicit wording such as Create from built-in notebook in ABOUT, not a hidden or ambiguous example file reference; say that no file needs to be found or uploaded for AGILAB's packaged sample. Keep direct local notebook upload in PROJECT Create, not in the ABOUT wizard.
  • The packaged notebook sample must carry AGILAB import metadata, especially the recommended_template and project_name_hint, so PROJECT can preselect the right base project and create a runnable imported project without guesswork.
  • The first-proof packaged notebook shou
Полный SKILL.md на GitHub

Установить notebook-to-agilab-project в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/migration-checklist.mdreferences/skforecast-meteo-fr.md

FAQ

Что делает скилл notebook-to-agilab-project?

Migrate or maintain a small local notebook workflow inside an AGILAB project. Use this skill when a user wants notebooks turned into a reproducible AGILAB project, project-owned notebooks exposed under ANALYSIS, WORKFLOW notebook import, lab_stages.toml, artifact contracts, and a conceptual workflow view.

Как установить скилл notebook-to-agilab-project?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл notebook-to-agilab-project запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить notebook-to-agilab-project с