setup-run
БесплатноБез исполняемых скриптовНе проверенExecute a `setup.aiwg.io/v1` SetupManifest, performing cross-platform installati
от jmagly★ 233 звезды на GitHubОб этом скилле
setup-run
Execute a setup.aiwg.io/v1 SetupManifest, performing cross-platform installation step by step.
This skill executes deterministic manifests. If
metadata.execution_mode: provider-orchestrated, validate the manifest and
hand it to the current supported AI provider; do not begin deterministic CLI
execution.
For AIWG's public installer, keep the provider in control of bootstrap and
repair. Once the CLI is healthy, use aiwg setup --scope project --providers <provider> for the interview, aiwg setup --review for a read-only preview,
and aiwg setup --apply after approval. These guided commands operate on a
saved plan, not a SetupManifest. Headless interview uses the same answer flags
with --non-interactive; headless apply requires --yes. See the
guided setup reference.
Trigger Phrases
- "run the setup manifest"
- "install using setup.manifest.yaml"
- "execute installer for [project]"
- "aiwg setup-run [manifest]"
- "run setup for [project]"
- "run dev setup for [project]"
Parameters
manifest (positional, optional)
Path to the setup.manifest.yaml. Default: ./setup.manifest.yaml.
--dry-run (optional)
Print what would be executed without running any scripts.
--platform (optional)
Override platform detection: linux, macos, windows, wsl2.
--distro (optional)
Override distro detection: ubuntu, debian, fedora, arch, etc.
--params-file (optional)
Path to a YAML file with pre-set param values (avoids interactive prompts).
--step (optional)
Run only a specific step by id. Useful for resuming after failure.
--skip (optional)
Comma-separated step IDs to skip.
--type (optional)
Filter which manifest to run by install type: user, developer, or ci.
When --type developer is specified and no manifest path is given, the skill looks for installer/setup.dev.manifest.yaml before falling back to setup.manifest.yaml.
When --type user is specified, the skill looks for installer/setup.user.manifest.yaml.
Execution Flow
Phase 1: Load and Validate
- Read the manifest file
- Validate against
setup.aiwg.io/v1schema (run setup-validate internally) - If invalid, report errors and stop — do not attempt partial execution
Phase 2: Platform Detection
- Detect OS:
uname -s(Linux/Darwin) or$PSVersionTable(Windows) - Detect distro:
/etc/os-release→IDfield - Detect arch:
uname -m - Detect shell:
$SHELLor$0 - Match against manifest
platformblock — if no match, warn and ask to proceed or abort
Phase 3: Param Collection
For each param in manifest params:
- Check if already set in environment or
--params-file - If
required: trueand no value: prompt interactively - If
interactive_required: true: always prompt interactively, even if a default exists — do not use the default without asking - If
choiceslist present: validate input against choices - Expand
~and$HOMEintype: pathparams
Phase 4: Prerequisite Check
For each prerequisite:
- Run
detectcommand - If
version_minset: compare version output against minimum - On failure: print
install_hintand stop with non-zero exit
Phase 5: OS Config Summary (developer manifests only)
When metadata.install_type is developer and the manifest has an os_config block:
- Run each
os_configentry'scheckcommand - Collect entries where
checkreturns non-zero (needs configuration) - Print a summary of OS mutations that will be made:
[setup] OS Configuration Required The following OS-level changes will be made: • docker-group: Add user 'alice' to docker group (requires re-login) • inotify-watches: Set fs.inotify.max_user_watches=524288 These changes require elevated privileges (sudo). - Ask for explicit user confirmation before proceeding with any
os-configsteps:Proceed with OS configuration? [y/N]: - If denied, skip all
os-configsteps and warn that the environment may be incomplete.
Never apply OS mutations without this explicit confirmation. This is a separate gate from the normal params phase.
Phase 6: Step Execution
Execute steps in dependency order:
For each step (respecting depends_on order):
1. Evaluate `when` condition — skip step if false
2. Skip steps not applicable to current platform
3. Dispatch by step type:
- script: run the script with params as env vars
- detect: run detect command, set env var with result
- ask: prompt user, set param
- verify: run verify expression; fail if false
- agentic: delegate to installer-agent with instruction
- platform-route: resolve platform → script path, run script
- chain: run aiwg setup-run on sub-manifest
- os-config: run the referenced os_config entry (see below)
4. Run `verify` expression
Установить setup-run в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл setup-run?
Execute a `setup.aiwg.io/v1` SetupManifest, performing cross-platform installati
Как установить скилл setup-run?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл setup-run запускает скрипты?
Нет, скилл состоит только из инструкций (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