aspire agent init command
Цей контент ще не доступний вашою мовою.
aspire agent init - Initialize AI agent configuration for detected agent environments.
Synopsis
Section titled “Synopsis”aspire agent init [options]Description
Section titled “Description”The aspire agent init command initializes skill files and MCP (Model Context Protocol) server configuration for your development environment. It presents an interactive multi-step flow to configure AI coding agent support:
- Select skill locations — choose where skill files are installed (Standard
.agents/skills/, Claude Code.claude/skills/, GitHub Skills.github/skills/, OpenCode.opencode/skill/). The Standard location is the only option that defaults as pre-selected. - Select skills and tools — choose which skills to install (Aspire skill, Playwright CLI, dotnet-inspect skill). All options are pre-selected by default.
- Apply selections — installs the chosen skills into each selected location and sets up the MCP server connection.
The command also removes skill files from any locations that were deselected, keeping your workspace clean.
Options
Section titled “Options”The following options are available:
-
--workspace-root <workspace-root>Path to the workspace root directory. When not specified, the current directory is used as the workspace root.
-
--skill-locations <skill-locations>Comma-separated list of skill locations to configure, such as
standard,claudecode,github, oropencode. Useallto configure all supported locations ornoneto skip skill location configuration. When not specified, the command prompts interactively. -
--skills <skills>Comma-separated list of skills to enable, such as
aspire,aspireify,playwright-cli, ordotnet-inspect. Useallto enable all available skills ornoneto skip skill installation. When not specified, the command prompts interactively. -
-?, -h, --helpPrints help and usage documentation for the available commands and options.
-
-l, --log-level <Critical|Debug|Error|Information|None|Trace|Warning>Set the minimum log level for console output. Use this option to increase diagnostics while troubleshooting or reduce output in scripted runs.
-
--non-interactiveRun the command in non-interactive mode, disabling all interactive prompts and spinners.
-
--nologoSuppress the startup banner and telemetry notice.
-
--bannerDisplay the animated Aspire CLI welcome banner.
-
--wait-for-debuggerWait for a debugger to attach before running a command.
Examples
Section titled “Examples”-
Initialize AI agent configuration for detected agent environments:
Aspire CLI aspire agent init -
Install all supported Aspire skills in all supported skill locations:
Aspire CLI aspire agent init --skills all --skill-locations all -
Initialize agent configuration from a specific workspace root:
Aspire CLI aspire agent init --workspace-root ./src