npx claudepluginhub saat-sy/pingDirect, attributed messages between terminal agents.
Direct messages between coding agents running in tmux.
A fork of msg from claude-code-tools by Prasad Chalasani, split into a standalone package.
Claude Code, Codex, and other terminal agents can send each other messages by name. The recipient sees the full message, attributed to its sender, without spending a turn fetching an inbox:
[ping: peer messages]
codex: auth module refactor is done, tests pass
ping send stores the message in a SQLite database. Each tmux session has its own database at ~/.ping/<session name>/msg.db, so agents in different tmux sessions never see each other.PostToolUse (between tool calls), Stop or UserPromptSubmit hook adds the message to its context instead.uv tool install git+https://github.com/saat-sy/ping
Then install the plugin for each agent you use:
claude plugin marketplace add saat-sy/ping && claude plugin install ping@ping
codex plugin marketplace add saat-sy/ping && codex plugin add ping@ping
ping-hook must be on the PATH of non-interactive shells. In Codex, open /hooks once and trust ping's hooks.
Codex runs hooks in a shared background server that cannot see the session's tmux pane. Start it with codex --no-daemon, or through ping launch, so message hooks and exit cleanup work.
Start two agents in panes of the same tmux session and ask each to register with ping, for example as myapp-claude and myapp-codex:
ping list # registered agents in this tmux session
ping send myapp-codex "review auth.py" # send as the agent in this pane
ping send myapp-claude,myapp-codex "sync" # send to several agents
ping abort myapp-codex # interrupt its current turn (sends Escape)
ping say myapp-codex "hi" --from myapp-claude # send from a plain terminal
ping inbox # read unread messages by hand
Agents learn these commands from the bundled skill, which the plugins install.
To run an agent without a plugin, use the launcher. It registers the pane, runs the agent, and unregisters it on exit:
ping launch --agent opencode -- opencode
Panes that close without unregistering are cleaned up on the next ping list or ping send. Run ping --help for the full command list.
| Setting | Default | Purpose |
|---|---|---|
MSG_AGENT_NAME | REPO-KIND | Agent name for this pane. Set it when running two agents of the same kind. |
MSG_DB_DIR | ~/.ping | Root directory for the per-session databases. |
PING_CONFIG | ~/.config/ping/agents.toml | Prompt patterns for agents other than Claude and Codex. See adapters. |
ping inbox.ping shadows the system ping on your PATH. Use /usr/bin/ping for network diagnostics.uv sync
uv run pytest
MIT, as in the original msg.
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.