/utils:customize-setupfrom utils
Sets up a local clone or fork of the AIWG repo as the live global instance, enabling immediate customization and live editing of agents and rules.
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 set up AIWG in personal customization mode — where a local clone or fork of the AIWG repo becomes the user's global AIWG instance. Any edits they make to that clone go live on next rebuild.
This is the ownership story, not the developer/contributor story. Frame everything around "make it yours," not "build for the repo."
| Pattern | Example | Action |
|---|---|---|
| Fork path | "set up AIWG with my own fork" | gh fork + clone + dev mode |
| Clone path | "clone AIWG so I can customize it" | git clone + dev mode |
| From existing clone | "I already cloned AIWG, set it up" | Just run dev mode + deploy |
| Vague customization | "I want to tweak my AIWG setup" | Ask fork or clone, then proceed |
When triggered:
Ask one question (if not already clear from context):
"Do you want to fork AIWG on GitHub first (recommended — keeps your changes safe when upstream releases), or just clone it locally to get started?"
Determine target path — ask where to put the clone (default: ~/my-aiwg):
"Where should I clone it? (default: ~/my-aiwg)"
Execute the appropriate path:
Requires gh CLI logged into GitHub.
# Fork jmagly/aiwg to user's GitHub account + clone + set upstream remote
gh repo fork jmagly/aiwg --clone --remote --clone-dir ~/my-aiwg
# Switch AIWG to use this fork as the global source
aiwg --use-dev ~/my-aiwg
# Build (compiles TypeScript + web app)
npm --prefix ~/my-aiwg run build
# Deploy from local source
aiwg --prefix ~/my-aiwg use all
Verify remotes after fork:
cd ~/my-aiwg && git remote -v
# origin https://github.com/USER/aiwg.git (their fork)
# upstream https://github.com/jmagly/aiwg.git (canonical)
git clone https://github.com/jmagly/aiwg.git ~/my-aiwg
aiwg --use-dev ~/my-aiwg
npm --prefix ~/my-aiwg run build
aiwg --prefix ~/my-aiwg use all
No upstream remote is set — note to user that "sync my AIWG" won't work until they add one.
If user says they already have a clone at a specific path:
# Skip clone step, just activate dev mode and deploy
aiwg --use-dev <their-path>
npm --prefix <their-path> run build
aiwg --prefix <their-path> use all
aiwg version to show [dev] mode is active, then report:Your AIWG is now running from ~/my-aiwg.
Any changes you make there go live when you say "apply my changes."
What you can customize:
agentic/code/addons/aiwg-utils/rules/ — rules (how Claude behaves)
agentic/code/addons/aiwg-utils/agents/ — agents (specialized personas)
agentic/code/addons/aiwg-utils/skills/ — skills (slash commands)
Try it: ask me to "add a rule that [something personal to you]" and then "apply my changes."
Do NOT mention manifest.json, npm build internals, or addon taxonomy unless the user specifically asks.
User: "Set up AIWG so I can customize it with my own fork"
Action: Ask where to clone → gh repo fork jmagly/aiwg --clone --remote --clone-dir ~/my-aiwg → aiwg --use-dev ~/my-aiwg → npm run build → aiwg use all → verify aiwg version
Response: "Your fork is now your global AIWG. Edit anything in ~/my-aiwg and tell me 'apply my changes' when ready."
User: "I just want to tweak my AIWG setup, don't need a fork"
Action: git clone → aiwg --use-dev → npm run build → aiwg use all
Response: "AIWG is now running from ~/my-aiwg. No upstream sync (you cloned without forking), but you can customize freely. Say 'apply my changes' after any edit."
User: "I already cloned AIWG to ~/dev/aiwg, can I use that?"
Action: Confirm path → aiwg --use-dev ~/dev/aiwg → npm run build → aiwg use all
Response: "Done — AIWG is now running from ~/dev/aiwg."
--use-dev flag handlerswitchToDev() implementationWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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 frameworkOther plugins' skills for the same job