---
name: Msg
slug: msg
category: AI Engineering
description: Msg sends messages between agent sessions running in tmux panes. Use it to coordinate with other Claude Code or Codex CLI agents by registering, sending, replying, and checking an inbox.
github: "https://github.com/pchalasani/claude-code-tools/tree/main/plugins/msg/skills/msg"
language: Python
stars: 1979
forks: 128
install: "npx degit https://github.com/pchalasani/claude-code-tools/tree/main/plugins/msg/skills/msg ~/.claude/skills/msg"
installs_to: ~/.claude/skills/msg
source_path: plugins/msg/skills/msg/SKILL.md
collection_size: 17
category_size: 2451
collection_url: "https://dirskills.com/collections/pchalasani/claude-code-tools"
added: 2026-08-18T06:58:51.442Z
last_synced: 2026-08-18T06:58:51.442Z
canonical_url: "https://dirskills.com/skills/msg"
---

# Msg

Msg sends messages between agent sessions running in tmux panes. Use it to coordinate with other Claude Code or Codex CLI agents by registering, sending, replying, and checking an inbox.

**Install:**

```bash
npx degit https://github.com/pchalasani/claude-code-tools/tree/main/plugins/msg/skills/msg ~/.claude/skills/msg
```

## README

# 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:

```bash
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:

```bash
msg send <agent-name> "Your message here"
```

Send to multiple agents:

```bash
msg send agent1,agent2 "Message for both of you"
```

## Replying

```bash
msg reply <agent-name> "Your reply here"
```

## Receiving Messages

Check your inbox:

```bash
msg inbox
```

This shows all unread messages grouped by thread and
marks them as read.

## Other Commands

```bash
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.
