Getting Started
The maestria CLI runs on Node.js 22.12 or later. You do not need to install it: invoke it with npx or another package runner.
Quick Start
Section titled “Quick Start”Check Your Platforms
Section titled “Check Your Platforms”npx maestria@latest statusyarn dlx maestria@latest statuspnpx maestria@latest statusbunx maestria@latest statusdeno x maestria@latest statusnlx maestria@latest statusThis checks which supported coding-agent CLIs are on your PATH and whether maestria is installed for each one. With no command, maestria defaults to status.
Install a Runtime Integration
Section titled “Install a Runtime Integration”Install all detected platforms:
npx maestria@latest install --allyarn dlx maestria@latest install --allpnpx maestria@latest install --allbunx maestria@latest install --alldeno x maestria@latest install --allnlx maestria@latest install --allOr select one platform:
npx maestria@latest install opencodeyarn dlx maestria@latest install opencodepnpx maestria@latest install opencodebunx maestria@latest install opencodedeno x maestria@latest install opencodenlx maestria@latest install opencodeReplace opencode with the platform ID you want. The command reference lists every supported ID.
Stage a Portable Agent Plugin
Section titled “Stage a Portable Agent Plugin”Use the plugin namespace when the client supports Agent Plugins v1:
npx maestria@latest plugin installyarn dlx maestria@latest plugin installpnpx maestria@latest plugin installbunx maestria@latest plugin installdeno x maestria@latest plugin installnlx maestria@latest plugin installThe CLI validates the package, stages it, and prints its directory for the client’s own plugin installer or local-plugin setting. The client controls activation, permissions, trust, and session behavior.
For a local package:
npx maestria@latest plugin validate /path/to/pluginyarn dlx maestria@latest plugin validate /path/to/pluginpnpx maestria@latest plugin validate /path/to/pluginbunx maestria@latest plugin validate /path/to/plugindeno x maestria@latest plugin validate /path/to/pluginnlx maestria@latest plugin validate /path/to/pluginnpx maestria@latest plugin install /path/to/plugin --destination ./staged-pluginyarn dlx maestria@latest plugin install /path/to/plugin --destination ./staged-pluginpnpx maestria@latest plugin install /path/to/plugin --destination ./staged-pluginbunx maestria@latest plugin install /path/to/plugin --destination ./staged-plugindeno x maestria@latest plugin install /path/to/plugin --destination ./staged-pluginnlx maestria@latest plugin install /path/to/plugin --destination ./staged-pluginUpdate an Integration
Section titled “Update an Integration”Update all installed integrations:
npx maestria@latest update --allyarn dlx maestria@latest update --allpnpx maestria@latest update --allbunx maestria@latest update --alldeno x maestria@latest update --allnlx maestria@latest update --allTo update one platform or pin a version:
npx maestria@latest update opencodeyarn dlx maestria@latest update opencodepnpx maestria@latest update opencodebunx maestria@latest update opencodedeno x maestria@latest update opencodenlx maestria@latest update opencodenpx maestria@latest update opencode --version <version>yarn dlx maestria@latest update opencode --version <version>pnpx maestria@latest update opencode --version <version>bunx maestria@latest update opencode --version <version>deno x maestria@latest update opencode --version <version>nlx maestria@latest update opencode --version <version>Configure Specialist Models
Section titled “Configure Specialist Models”Assign a model to a specialist when the platform supports per-agent configuration:
npx maestria@latest configure pi --global --quiet --set builder=opencode-go/deepseek-v4-flashyarn dlx maestria@latest configure pi --global --quiet --set builder=opencode-go/deepseek-v4-flashpnpx maestria@latest configure pi --global --quiet --set builder=opencode-go/deepseek-v4-flashbunx maestria@latest configure pi --global --quiet --set builder=opencode-go/deepseek-v4-flashdeno x maestria@latest configure pi --global --quiet --set builder=opencode-go/deepseek-v4-flashnlx maestria@latest configure pi --global --quiet --set builder=opencode-go/deepseek-v4-flashSee the configure reference for supported platforms and reset syntax.
Diagnose Skill Setup
Section titled “Diagnose Skill Setup”Check methodology skill state without changing anything:
npx maestria@latest doctoryarn dlx maestria@latest doctorpnpx maestria@latest doctorbunx maestria@latest doctordeno x maestria@latest doctornlx maestria@latest doctorThis reports the skill record path, per-platform plugin state, recorded selections, and observed skills with next steps. See the doctor reference.
Coordinate Project Setup
Section titled “Coordinate Project Setup”Check ecosystem tools and reconcile skills for a project:
npx maestria@latest setup --ecosystem codegraph,opensrc --yesyarn dlx maestria@latest setup --ecosystem codegraph,opensrc --yespnpx maestria@latest setup --ecosystem codegraph,opensrc --yesbunx maestria@latest setup --ecosystem codegraph,opensrc --yesdeno x maestria@latest setup --ecosystem codegraph,opensrc --yesnlx maestria@latest setup --ecosystem codegraph,opensrc --yesSetup is read-only until the final confirmation. Ecosystem tools are detection plus manual steps only; the CLI never installs them automatically. Use --skills and --exclude-skills to select the create-pull-request and docs-update methodology skills. See the setup reference.
Prerequisites
Section titled “Prerequisites”- Node.js 22.12 or later
- npm on PATH when plugin install fetches a package from npm
- The target platform installed before maestria can detect or install its integration
- An Agent Plugins v1 client for the portable package path
The CLI detects runtime platforms by their executable:
| Platform | Executable |
|---|---|
| OpenCode | opencode |
| Pi | pi |
| Oh My Pi | omp |
| Prime Agent | prime-agent |
| Kimi Code | kimi |
| Hermes Agent | hermes |
| Claude Code | claude |
| Codex CLI | codex |
| Cursor | agent or cursor-agent |
Next Steps
Section titled “Next Steps”- Command Reference for every command, flag, JSON schema, and exit code
- Platform guides for host-specific installation and usage
- Portable Agent Plugin for client-owned activation and permissions