axon module
Author and publish modules.
axon module init <name> # scaffold a new module in the current directory
axon module publish # publish the module to the registry
axon module init
Creates module.config.ts and empty src/prompts/, src/scripts/, src/tools/, and
server/ directories. Run from the directory where the module should live.
mkdir my-module && cd my-module
axon module init my-module
axon module publish
Publishes the module source to the Axon registry. Must be run from the module directory.
Publishes source only. Excluded: node_modules/, .env, generated files. The user's
agent reconstructs dependencies from the merged package.json on bun install.
Versions are immutable — once published, a version cannot be overwritten. Bump the
version in module.config.ts before each publish.
See Publishing a Module for the full publishing reference.