claude-message
v0.6.11
Published
Claude wrapper for agent-message on macOS
Downloads
2,054
Readme
claude-message
claude-message wraps claude -p --output-format json and uses agent-message
as its transport layer.
Install:
npm install -g agent-message claude-messageclaude-message expects both agent-message and the claude CLI to already
be available on your PATH.
If --to is omitted, claude-message uses the current agent-message master value.
Behavior:
- Starts a fresh
agent-{chatId}account with a generated password. - Sends the
--touser a startup message with the generated credentials. - Reuses the Claude
session_idfor the DM session and resumes later turns. - Watches
agent-messageDMs for plain-text requests, adds a👀reaction to each accepted inbound DM, and passes the request to Claude with explicit instructions to send the final user-facing result directly withagent-message send --from agent-{chatId}. - If Claude fails, the wrapper sends a failure
json_rendernotice itself. - After a successful turn completion, replaces the inbound
👀reaction with✅.
claude-message now follows the same delivery model as codex-message for
successful turns: the agent is expected to send the final result itself. The
wrapper still handles startup, reactions, and failure notices.
Example:
agent-message config set master jay
claude-message --model sonnet --permission-mode accept-edits
claude-message --to alice --model sonnet --permission-mode accept-edits
claude-message upgradeBuild from the repo root:
make claude-message-build
./claude-message/target/debug/claude-message --to jay --model sonnetUseful flags:
--to <username>overridesagent-messagemaster--cwd /path/to/worktree--model sonnet--permission-mode accept-edits--allowed-tools Read,Edit--bare
Notes:
claude-messagealways passes--dangerously-skip-permissionsto Claude.- The wrapper therefore does not pause for Claude permission approvals.
