Skip to main content

axm hooks import

Import a native command bundle as an inactive hook extension; original registrations remain

axm hooks import <directory> <extension> [flags]
NameTypeRequiredDefaultDescription
<directory>stringYesNative bundle directory
<extension>stringYesNew managed hook extension FQN
NameTypeRequiredDefaultDescription
--protocolchoice (augment, claude-code, codebuddy, codex, cursor, devin, gemini-cli, qoder, qwen-code)YesNative protocol of the source definitions
--filestringNohooks.jsonJSON file relative to <directory>
--resourcestringNoAdditional package-relative resource file
--previewbooleanNofalseShow what would change without applying it

Preview a nonexecuting native bundle import

axm hooks import --protocol claude-code --preview ./native-hooks @me/hooks/audit