agentmbx hook
agentmbx hook session-start --cli <codex|kimi|claude|opencode|hermes> bind the running session (reads the hook JSON on stdin)agentmbx hook session-end --cli claude release the exact session on terminal exit (keeps /clear and /resume bindings)agentmbx hook prompt --cli <…> adds "N unread mbx messages" to the next turn when there is mailagentmbx hook post-tool --cli claude surfaces new unread mail between tool calls (bundled sh fast path: zero node starts in steady state, T342)agentmbx hook permission --cli <claude|codex|kimi> untainted signed-policy approval for bounded outward-reversible work; permissions enables YOLOAdditional parser-supported usage
Section titled “Additional parser-supported usage”The published package’s src/cli.ts and src/setup.ts also accept the following. These supplement the exact help output above; they do not change the runtime.
agentmbx hook session-start | session-end | prompt | post-tool | stop | permission --cli <cli>Related
Section titled “Related”- Section: Agent integration, with
mcp,import-v2. - All commands.