# Aiwg Regenerate Legacy

> Regenerate provider startup context using the legacy inline compatibility branch

- Skill: `jmagly-ai-writing-guide/aiwg-regenerate-legacy` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jmagly-ai-writing-guide/aiwg-regenerate-legacy`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jmagly-ai-writing-guide/aiwg-regenerate-legacy/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: jmagly (https://skillmd.com/u/jmagly-ai-writing-guide)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jmagly-ai-writing-guide/aiwg-regenerate-legacy

---


# Regenerate Legacy Inline Context

Use this branch only for compatibility with a provider or project that still requires AIWG context embedded directly in its startup file.

The deterministic command is:

```bash
aiwg regenerate --full-inject [--provider <name>] [--dry-run]
```

The CLI writes `<!-- BEGIN AIWG -->` / `<!-- END AIWG -->` markers, preserves operator prose outside managed blocks, backs up changed existing files, and does not create `WORKSPACE.md`. Preview first for established projects.

Return to the canonical graph with [aiwg-regenerate-workspace](../aiwg-regenerate-workspace/SKILL.md).

