Agent skill
msg
Inter-agent communication via the msg CLI. Use this when you need to send messages to other agent sessions, read incoming messages, or coordinate with other agents in tmux panes.
Install this agent skill to your Project
npx add-skill https://github.com/pchalasani/claude-code-tools/tree/main/plugins/msg/skills/msg
SKILL.md
msg: Inter-Agent Communication
You can communicate with other coding agent sessions
(Claude Code or Codex CLI) using the msg CLI tool.
Registration
Before sending or receiving messages, register yourself:
msg register <your-name>
This auto-detects your tmux pane. You only need to do this once per session.
Sending Messages
Send a message directly to another agent:
msg send <agent-name> "Your message here"
Send to multiple agents:
msg send agent1,agent2 "Message for both of you"
Replying
msg reply <agent-name> "Your reply here"
Receiving Messages
Check your inbox:
msg inbox
This shows all unread messages grouped by thread and marks them as read.
Other Commands
msg list # List registered agents
msg threads # List active threads
msg status # Check system health
Guidelines
- Keep messages concise -- they consume context in the receiving agent's session.
- When replying, include enough context that the recipient understands without re-reading the full thread.
- If you need to share code or file paths, reference them in the message text rather than pasting large blocks.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
code-walk-thru
Use this when user wants you to walk through (code or text) files in a EDITOR to either explain how some code works, or to show the user what changes you made, etc. You would typically use this repeatedly to show the user your changes or code files one by one, sometimes with specific line-numbers. This way the user is easily able to follow along in their favorite EDITOR as you point at various files possibly at specific line numbers within those files.
make-issue-spec
socratic-quiz
Use this when the user wants to deeply understand something through guided questioning. Trigger phrases include: "quiz me", "help me understand", "Socratic", "teach me", "walk me through with questions", "test my understanding", or when the user asks for an explanation and would benefit more from guided discovery than a direct answer.
log-work
tmux-cli
CLI utility to communicate with other CLI Agents or Scripts in other tmux panes; use it only when user asks you to communicate with other CLI Agents or Scripts in other tmux panes.
session-search
For CLI agents WITHOUT subagent support (e.g., Codex CLI). Search previous code agent sessions for specific work, decisions, or code patterns.
Didn't find tool you were looking for?