agilab-installer
БесплатноБез исполняемых скриптовНе проверенGuidance for installing AGILAB, installing apps/pages, and debugging install/test failures.
от 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/.envedits, or ad-hoc pytest loops wheninstall_apps.sh/install_apps.ps1is 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.pyor 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_dispatcherinstall 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 pullHOME="$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
- macOS/Linux:
- 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.ps1only when root/core/end-user side effects are required.
- All source apps:
- PyPI app package management:
- Use the PROJECT page
Install PyPI appflow or the CLIagilab app search/check/install/list/update/removefor promoted publicagi-app-*packages. - This installs into the active Python environment with
uv pip install --python; discovery is viaagilab.appsentry points, not copied source directories. - Keep
APPS_REPOSITORYfor source-checkout app repositories and symlinked local app development; do not mix it with the PyPI app-package path.
- Use the PROJECT page
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
HOMEunder 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
- Use an isolated
Установить 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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic