Skip to content
Development
Command

/polyphony-init

Initialize the Polyphony multi-agent orchestration environment.

From plugin
maggy
71025 skills1 agent25 commands1 hook
$ npx -y skills add alinaqi/maggy --agent claude-code

Command definition

polyphony-init.md

/polyphony-init — Setup Wizard

Initialize the Polyphony multi-agent orchestration environment.

---

Steps

1. Check Prerequisites

command -v docker &>/dev/null || command -v orbctl &>/dev/null

If neither Docker nor OrbStack is available, inform the user:

> Docker or OrbStack is required for Polyphony container isolation. Install one first.

2. Create Config Directory

mkdir -p ~/.polyphony

3. Copy Config Templates

Copy default configuration files from the templates directory:

TEMPLATES="$(dirname "$(realpath "$0")")/../templates"
cp -n "$TEMPLATES/polyphony-config.yaml" ~/.polyphony/config.yaml
cp -n "$TEMPLATES/polyphony-identities.yaml" ~/.polyphony/identities.yaml
cp -n "$TEMPLATES/polyphony-agents.yaml" ~/.polyphony/agents.yaml
cp -n "$TEMPLATES/polyphony-routing.yaml" ~/.polyphony/routing.yaml

4. Build Worker Image

docker build -t polyphony-worker:latest -f templates/Dockerfile.polyphony .

5. Detect Available Agents

command -v claude &>/dev/null && echo "claude: available"
command -v codex &>/dev/null && echo "codex: available"
command -v kimi &>/dev/null && echo "kimi: available"

6. Confirm

Print summary of what was initialized and which agents are available.

@alinaqi
Ships withmaggy

Turn Claude Code into a self-reviewing, test-enforced engineering system that remembers context across sessions — then route work across 13 models from a single dashboard.

71073 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
710
Star history of alinaqi/maggy on GitHub, a chart by star-history.com

Other commands on maggy.

analyze-repo

analyze-repo

Command

Analyze an existing repository's structure, conventions, and guardrails.

@alinaqi@alinaqiInstall Command
build-in-public

build-in-public

Command

Build-in-Public — generate posts from your engineering work, anonymize, and schedule via Buffer

@alinaqi@alinaqiInstall Command
check-contributors

check-contributors

Command

Checks who's working on the project and optionally converts to a multi-person project with team state management.

@alinaqi@alinaqiInstall Command
icpg-bootstrap

icpg-bootstrap

Command

Infer ReasonNodes from existing git commit history. One-time setup for existing codebases.

@alinaqi@alinaqiInstall Command
icpg-drift

icpg-drift

Command

Run a full drift scan and display all unresolved drift events, grouped by dimension and sorted by severity.

@alinaqi@alinaqiInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command