axm sync
Materialize configured workspace files
Usage
Section titled Usageaxm sync [<extension>] [flags]Arguments
Section titled Arguments| Name | Type | Required | Default | Description |
|---|---|---|---|---|
<extension> | string | No | Optional extension or pack root to reconcile |
Flags
Section titled Flags| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--type | choice (skill, mcp-server, subagent, rule, hook, knowledge) | No | Restrict to this extension type | |
--scope | choice (project, user) | No | project | Workspace scope |
--preview | boolean | No | false | Show what would change without applying it |
--fail-on-change | boolean | No | false | Exit 1 when preview finds reconciliation work |
--ignore-release-age | boolean | No | false | Take a release younger than the configured minimum release age, for this run only |
--replace-unrecorded | boolean | No | false | Overwrite files at planned paths that AXM has no record of writing (unrecorded output) |
--discard-modified | boolean | No | false | Delete projected files even when modified since AXM wrote them (modified output) |
Examples
Section titled ExamplesRebuild managed workspace files
axm syncPreview what would be materialized without writing files
axm sync --previewFail CI when reconciliation would change managed state
axm sync --preview --fail-on-changePreview reconciliation for one pack and its members
axm sync @acme/packs/frontend-tools --previewReconcile only configured skills
axm sync --type skillSync the user-scope workspace
axm sync --scope userEmit the sync result as JSON
axm sync --json