Skip to content
Productivity
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.

From plugin
claude-code-tools
2k16 skills2 agents4 commands
Install
$ npx -y skills add pchalasani/claude-code-tools --skill msg --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/msg

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

msg.SKILL.md
description: >-
  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.

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.

Read more
Ships withclaude-code-tools

Practical productivity tools for Claude Code, Codex-CLI, and similar CLI coding agents.

Get the whole plugin