Skip to main content

axm sync

Materialize configured workspace files

axm sync [<extension>] [flags]
NameTypeRequiredDefaultDescription
<extension>stringNoOptional extension or pack root to reconcile
NameTypeRequiredDefaultDescription
--typechoice (skill, mcp-server, subagent, rule, hook, knowledge)NoRestrict to this extension type
--scopechoice (project, user)NoprojectWorkspace scope
--previewbooleanNofalseShow what would change without applying it
--fail-on-changebooleanNofalseExit 1 when preview finds reconciliation work
--ignore-release-agebooleanNofalseTake a release younger than the configured minimum release age, for this run only
--replace-unrecordedbooleanNofalseOverwrite files at planned paths that AXM has no record of writing (unrecorded output)
--discard-modifiedbooleanNofalseDelete projected files even when modified since AXM wrote them (modified output)

Rebuild managed workspace files

axm sync

Preview what would be materialized without writing files

axm sync --preview

Fail CI when reconciliation would change managed state

axm sync --preview --fail-on-change

Preview reconciliation for one pack and its members

axm sync @acme/packs/frontend-tools --preview

Reconcile only configured skills

axm sync --type skill

Sync the user-scope workspace

axm sync --scope user

Emit the sync result as JSON

axm sync --json