Skip to main content

axm publish

Publish project-workspace extensions or an existing skill directory to a registry

axm publish [<extension...>] [flags]
NameTypeRequiredDefaultDescription
<extension>stringNoFQN, <plural-type>/<name>, or a glob of either; omit for all workspace-authored
NameTypeRequiredDefaultDescription
--pathstringNoPublish this existing directory without converting it
--package-versionstringNoExact publisher-envelope version; only with --path
--include-pathstringNoInclude a source-relative Git-style path pattern in order; only with --path
--exclude-pathstringNoExclude a source-relative Git-style path pattern in order; only with --path
--owner@handleNoRestrict to extensions of this owner handle
--typechoice (skill, mcp-server, subagent, rule, hook, knowledge, pack)NoRestrict to this extension type
--excludestringNoExclude a matching FQN, <plural-type>/<name>, or glob
--registrystringNoRegistry name or absolute URL; defaults to axm.json defaultRegistry
--backfillbooleanNofalsePublish an unpublished version lower than the highest published version
--accept-warningsbooleanNofalseApply the plan even when preflight reports unresolved warnings
--visibilitychoice (public, private)NoInitial visibility for every new extension in the selection
--previewbooleanNofalseShow what would change without applying it
--include-dependenciesbooleanNofalseInclude workspace-sourced dependencies of selected packs

Publish every workspace-sourced extension

axm publish

Publish an authored catalog; versions already published are skipped

axm publish --owner @acme

Publish one workspace-authored extension explicitly

axm publish @acme/skills/code-review