/utils:aiwg-initfrom utils
Initializes AIWG configuration for an existing project by creating .aiwg/aiwg.config with provider registry entries and custom script definitions. Invoked via 'aiwg init' or 'add aiwg config'.
Ships in utils. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You initialise AIWG configuration for an existing project by creating .aiwg/aiwg.config with provider registry entries and custom script definitions.
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
.aiwg/aiwg.config| Pattern | Example | Action |
|---|---|---|
| Default init | "aiwg init" | Run aiwg init with defaults |
| Interactive | "init aiwg interactively" | Run aiwg init --interactive |
| Provider flag | "init aiwg for copilot" | Run aiwg init --provider copilot |
| Config check | "do I have an aiwg config?" | Read .aiwg/aiwg.config |
When triggered:
Distinguish from new:
init adds AIWG configuration to an existing project — it does not create a new project directory or the full .aiwg/ subdirectory tree..aiwg/ directory at all, suggest aiwg new . instead.Extract arguments:
--interactive requested? If so, ask which providers to configure and which scripts to register.--provider given? Pre-fill that entry in the registry.--interactive absent? Write a minimal config with the detected provider.Run the appropriate command:
# Default: write minimal config, auto-detect provider
aiwg init
# Interactive: guided wizard for providers and scripts
aiwg init --interactive
# Pre-configure a specific provider
aiwg init --provider copilot
What the command creates — .aiwg/aiwg.config with:
providers block: list of configured provider names and their deploy pathsscripts block: named shell commands for use with aiwg runReport the result — confirm path written and show the generated config summary.
User: "aiwg init"
Extraction: No flags, auto-detect provider (claude-code)
Action:
aiwg init
Response: "Created .aiwg/aiwg.config with provider claude-code pre-configured. No scripts registered yet. Use aiwg init --interactive to add providers or scripts, or edit the file directly."
User: "Set up AIWG config interactively"
Extraction: Interactive flag required
Action:
aiwg init --interactive
Response: Wizard prompts for providers to enable and scripts to register, then writes .aiwg/aiwg.config. Confirms: "Configured 2 providers (claude-code, copilot) and 3 scripts (test, lint, deploy). Config written to .aiwg/aiwg.config."
User: "Init aiwg config for GitHub Copilot"
Extraction: Provider copilot specified
Action:
aiwg init --provider copilot
Response: "Created .aiwg/aiwg.config with provider copilot configured (deploy path: .github/). Run aiwg use sdlc --provider copilot to deploy frameworks."
User: "aiwg init"
Extraction: .aiwg/aiwg.config already present
Action: Read existing config, report what is configured, and offer --interactive to update rather than overwriting.
Response: ".aiwg/aiwg.config already exists (providers: claude-code; scripts: test, deploy). Run aiwg init --interactive to update the configuration."
If the user's intent is ambiguous:
aiwg new <name> sets up the full structure.)"init command handlerWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jmagly/aiwg --plugin utils133 skills in this plugin
/activity-logQuery and manage the unified .aiwg/activity.log chronological record of AIWG-managed workflow operations/add-agentScaffold a new agent definition file inside an existing addon or framework/add-behaviorScaffold a new behavior definition with BEHAVIOR.md and optional scripts inside an existing addon or framework/add-commandScaffold a new command definition inside an existing addon or framework/add-skillScaffold a new SKILL.md inside an existing addon or framework/add-templateScaffold a new document template inside an existing addon or frameworkOther plugins' skills for the same job