Skip to content
Development
Skill

/aiwg-regenerate-workspace

Regenerate the canonical WORKSPACE.md-first context graph and provider adapters

From plugin
aiwg
176200 skills199 agents23 commands
Install
$ npx -y skills add jmagly/aiwg --skill aiwg-regenerate-workspace --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/aiwg-regenerate-workspace

Context preview

The summary Claude sees to decide when to auto-load this skill.

Regenerate the canonical WORKSPACE.md-first context graph and provider adapters

SKILL.md

aiwg-regenerate-workspace.SKILL.md
namespace: 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.

Ships withaiwg

Multi-agent AI framework for Claude Code, Copilot, Cursor, Warp, and 6 more platforms 200+ agents, 109+ CLI commands, 400+ deployable agent/skill/command/rule artifacts, 8 core frameworks, 32 addons, and a 40-plugin Claude Code marketplace.

Get the whole plugin