/aiwg-regenerate-workspace
Regenerate the canonical WORKSPACE.md-first context graph and provider adapters
Claude Code
$ npx -y skills add jmagly/aiwg --skill aiwg-regenerate-workspace --agent claude-code
Codex
$ npx skills add jmagly/aiwg --skill aiwg-regenerate-workspace -a codex -y
Cursor
$ npx skills add jmagly/aiwg --skill aiwg-regenerate-workspace -a cursor -y
Gemini CLI
$ npx skills add jmagly/aiwg --skill aiwg-regenerate-workspace -a gemini-cli -y
GitHub Copilot
$ npx skills add jmagly/aiwg --skill aiwg-regenerate-workspace -a github-copilot -y
OpenCode
$ npx skills add jmagly/aiwg --skill aiwg-regenerate-workspace -a opencode -y
Windsurf
$ npx skills add jmagly/aiwg --skill aiwg-regenerate-workspace -a windsurf -y
SKILL.md
aiwg-regenerate-workspace.SKILL.mdnamespace: aiwg name: aiwg-regenerate-workspace platforms: [all] kernel: true description: Regenerate the canonical WORKSPACE.md-first context graph and provider adapters commandHint: argumentHint: "[--provider <name>] [--dry-run] [--force]" allowedTools: Bash, Read model: haiku category: maintenance modelRole: efficiency modelTier: economy
Regenerate Canonical Workspace Context
Use this default branch for new and migrated projects. It maintains the precedence chain:
1. `WORKSPACE.md` — provider-neutral project and operator context. 2. `AIWG.md` — generated framework discovery and routing context. 3. Provider startup adapters — minimal pointers that load or direct readers to those files in order.
For an established project, audit before adopting the graph:
aiwg workspace-context audit --json aiwg workspace-context migrate --dry-run --json aiwg workspace-context migrate --apply aiwg regenerate --workspace aiwg workspace-context doctor
Migration is transactional and records recoverable preimages under `.aiwg/context-migrations/`. It refuses possible credential values and unresolved directive conflicts. Use [aiwg-regenerate-legacy](../aiwg-regenerate-legacy/SKILL.md) only when compatibility requires inline context.
Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.
Other skills on aiwg.
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about aiwg-regenerate-workspace.
- Which coding agents can use aiwg-regenerate-workspace?
- aiwg-regenerate-workspace installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

