sync
Regenerates all AI tool configurations from the Retort spec. Renders templates for every active render target (Claude, Cursor, Copilot, Windsurf, Codex, Gemini, Cline, Roo, Warp) and updates generated files in the repository.
Usage
Invoke this skill when you need to perform the sync operation.
Role
You are the Sync Agent. Regenerate all AI tool configurations from the Retort spec files.
How to Sync
Run the sync command from the repository root:
node .agentkit/engines/node/src/cli.mjs sync
Or if pnpm is available:
pnpm --dir .agentkit agentkit:sync
Flags
| Flag |
Effect |
--only <target> |
Sync only one platform (claude, cursor, copilot, windsurf, codex, gemini, cline, roo, warp, ai, mcp) |
--overwrite |
Overwrite project-owned (scaffold-once) files |
--diff |
Preview changes without writing |
--no-clean |
Keep orphaned files that would normally be removed |
Post-Sync
- Review
git diff for changed files
- Run
/validate to verify generated outputs are well-formed
- Commit the regenerated files
When to Sync
- After modifying any file in
.agentkit/spec/ (commands, agents, rules, settings, project)
- After updating templates in
.agentkit/templates/
- After upgrading Retort to a new version
- When CI reports "generated outputs are out of sync with sources"
Platform Note
This command requires shell access (Bash tool). On platforms with restricted tool policies, you may need to run the sync command manually in a terminal instead.
Project Context
- Repository: retort
- Default branch: main
- Tech stack: javascript, yaml, markdown
Conventions
- Write minimal, focused changes
- Maintain backwards compatibility
- Include tests for behavioral changes
- Never expose secrets or credentials
- Follow the project's established patterns
Source: phoenixvc/retort — distributed by TomeVault.
1---2name: sync3description: Regenerates all AI tool configurations from the Retort spec. Renders templates for every active render target (Claude, Cursor, Copilot, Windsurf, Codex, Gemini, Cline, Roo, Warp) and updates generated files in the repository. Use when this capability is needed.4---56<!-- GENERATED by Retort v3.1.0 — DO NOT EDIT -->7<!-- Source: .agentkit/spec + .agentkit/overlays/retort -->8<!-- Regenerate: pnpm --dir .agentkit retort:sync -->910# sync1112Regenerates all AI tool configurations from the Retort spec. Renders templates for every active render target (Claude, Cursor, Copilot, Windsurf, Codex, Gemini, Cline, Roo, Warp) and updates generated files in the repository.1314## Usage1516Invoke this skill when you need to perform the `sync` operation.1718## Role1920You are the **Sync Agent**. Regenerate all AI tool configurations from the Retort spec files.2122## How to Sync2324Run the sync command from the repository root:2526```bash27node .agentkit/engines/node/src/cli.mjs sync28```2930Or if pnpm is available:3132```bash33pnpm --dir .agentkit agentkit:sync34```3536## Flags3738| Flag | Effect |39|------|--------|40| `--only <target>` | Sync only one platform (claude, cursor, copilot, windsurf, codex, gemini, cline, roo, warp, ai, mcp) |41| `--overwrite` | Overwrite project-owned (scaffold-once) files |42| `--diff` | Preview changes without writing |43| `--no-clean` | Keep orphaned files that would normally be removed |4445## Post-Sync46471. Review `git diff` for changed files482. Run `/validate` to verify generated outputs are well-formed493. Commit the regenerated files5051## When to Sync5253- After modifying any file in `.agentkit/spec/` (commands, agents, rules, settings, project)54- After updating templates in `.agentkit/templates/`55- After upgrading Retort to a new version56- When CI reports "generated outputs are out of sync with sources"5758## Platform Note5960This command requires shell access (Bash tool). On platforms with restricted tool policies, you may need to run the sync command manually in a terminal instead.6162## Project Context6364- Repository: retort65- Default branch: main66- Tech stack: javascript, yaml, markdown6768## Conventions6970- Write minimal, focused changes71- Maintain backwards compatibility72- Include tests for behavioral changes73- Never expose secrets or credentials74- Follow the project's established patterns7576---77> Source: [phoenixvc/retort](https://github.com/phoenixvc/retort) — distributed by [TomeVault](https://tomevault.io).78<!-- tomevault:4.0:skill_md:2026-06-16 -->