Command Palette

Search for a command to run...

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

agilab-installer

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

Guidance for installing AGILAB, installing apps/pages, and debugging install/test failures.

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

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

AGILAB Installer Skill

Use this skill when working on:

  • install.sh / install.ps1 (root installer)
  • src/agilab/install_apps.sh / src/agilab/install_apps.ps1 (apps/pages installer)
  • src/agilab/apps/install.py (app install entry)
  • Data seeding / dataset archives / post-install hooks

Tokki scope emission

install.sh ends with write_tokki_scope(): after app installation it reads the installed-apps manifest (~/.local/share/agilab/installed_apps.txt) and writes .tokki/scope at the repo root, one exclude <app-dir>/** line per *_project directory not selected at install. Tokki drops these from repo maps (read/query still reach them). The file is machine-specific and gitignored; re-run the installer's app step (or add an include line — include overrides exclude) if an app the user actually works on shows up excluded.

Golden Rules

  • Use uv --preview-features extra-build-dependencies … for Python entrypoints.
  • Do not add silent fallbacks (detect missing capabilities and raise actionable errors).
  • Keep installs idempotent: rerunning should not wipe user data or re-download unnecessarily.
  • For source app installation or app tests, use the dedicated app installer script directly. Do not substitute root reinstall flows, manual ~/.agilab/.env edits, or ad-hoc pytest loops when install_apps.sh / install_apps.ps1 is the intended model-free operation.
  • Before editing or validating installer-related diffs, run uv --preview-features extra-build-dependencies run python tools/impact_validate.py --files install.sh src/agilab/install_apps.sh src/agilab/apps/install.py or point it at the actual changed install/deploy files. Use the output to confirm whether install repros, shared-core approval, or extra artifact refreshes are required.
  • Treat installer/build/deploy changes as shared-core work. Before editing shared install plumbing, agi_dispatcher install hooks, or generic cluster deployment code, get explicit user approval and explain the expected cross-app impact first.

Common Commands

  • Full install with app tests (macOS/Linux):
    • ./install.sh --non-interactive --cluster-ssh-credentials user:pass --apps-repository /path/to/apps-repo --install-apps --test-apps
  • Full clean source validation from a new public clone:
    • cache_root="${XDG_CACHE_HOME:-$HOME/.cache}/agilab/source_validate"; root="$cache_root/agilab_source_validate_clean_$(date +%Y%m%d_%H%M%S)"; sandbox_home="$root/sandbox_home"; mkdir -p "$sandbox_home"; HOME="$sandbox_home" git clone https://github.com/ThalesGroup/agilab.git "$sandbox_home/agilab"
    • cd "$sandbox_home/agilab" && git lfs install --local && git lfs pull
    • HOME="$sandbox_home" AGI_LOCAL_SHARE="$PWD/localshare" ./install.sh --non-interactive --agi-cluster-share "$PWD/clustershare" --install-apps builtin --test-root --test-core --test-apps --skip-offline
  • Add core suites only when needed:
    • macOS/Linux: ./install.sh --install-apps --test-apps --test-core
    • Windows: .\install.ps1 -InstallApps -TestApps -TestCore
  • Apps/pages install only:
    • All source apps: cd src/agilab && APPS_REPOSITORY=/path/to/apps-repo AGILAB_DEV_APPS_REPOSITORY=1 BUILTIN_APPS=__AGILAB_ALL_APPS__ ./install_apps.sh
    • All source app tests: cd src/agilab && APPS_REPOSITORY=/path/to/apps-repo AGILAB_DEV_APPS_REPOSITORY=1 BUILTIN_APPS=__AGILAB_ALL_APPS__ ./install_apps.sh --test-apps
    • Narrow source app tests: cd src/agilab && APPS_REPOSITORY=/path/to/apps-repo AGILAB_DEV_APPS_REPOSITORY=1 BUILTIN_APPS=flight_trajectory_project ./install_apps.sh --test-apps
    • Windows source app tests: cd src\agilab; $env:APPS_REPOSITORY="C:\path\to\apps-repo"; $env:AGILAB_DEV_APPS_REPOSITORY="1"; $env:BUILTIN_APPS="__AGILAB_ALL_APPS__"; .\install_apps.ps1 -TestApps
    • Use root ./install.sh / .\install.ps1 only when root/core/end-user side effects are required.
  • PyPI app package management:
    • Use the PROJECT page Install PyPI app flow or the CLI agilab app search/check/install/list/update/remove for promoted public agi-app-* packages.
    • This installs into the active Python environment with uv pip install --python; discovery is via agilab.apps entry points, not copied source directories.
    • Keep APPS_REPOSITORY for source-checkout app repositories and symlinked local app development; do not mix it with the PyPI app-package path.

Installer test switches

  • App tests stay opt-in via --test-apps / -TestApps.
  • Root core suites stay opt-in via --test-core / -TestCore.
  • Do not make core suites implicit in the default developer install path unless the user explicitly asks for that stricter gate.

Debugging Patterns

  • Full source install validation
    • Use an isolated HOME under the new validation root. Do not rely on the developer machine's ~/.agilab/.env, ~/wenv, ~/localshare, or previous install logs when proving a release candidate.
    • Pass both `--agi-cluster-share "$P
Полный SKILL.md на GitHub

Установить agilab-installer в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл agilab-installer?

Guidance for installing AGILAB, installing apps/pages, and debugging install/test failures.

Как установить скилл agilab-installer?

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

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

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

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

Сравнить agilab-installer с