msg

msg is a skill for Claude Code from pchalasani/claude-code-tools. It costs 37 tokens per session (333 once invoked), scanned A, original, MIT.

A command-line tool for communication between separate coding-agent sessions, including agents running in tmux panes.

In plain words
What is it for?
Registering sessions, sending direct or group messages, reading incoming messages, listing agents, and checking communication status.
Why use it?
It gives agents a shared way to register, send messages, read replies, and check which agents are available.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Part of the msg plugin — 1 skill, 2 commands shipped together

Good fit Registering sessions, sending direct or group messages, reading incoming messages, listing agents, and checking communication status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pchalasani/claude-code-tools/msg
About the project

pchalasani/claude-code-tools is a collection of command-line tools, skills, agents, hooks, plugins, and commands for improving work with Claude Code, Codex-CLI, and similar coding agents. It is used by developers who want reusable productivity features and workflows for terminal-based AI coding assistants. The catalogue entries are components of, or extensions for, these coding-agent workflows.

pchalasani/claude-code-tools · 2,042 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pchalasani/claude-code-tools --skill msg
Clone the repo
git clone --depth 1 https://github.com/pchalasani/claude-code-tools

Made for: Claude Code.

Or install msg, the plugin that ships this one along with the rest of its 1 skill, 2 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for msg

README.md
[![agentmods](https://agentmods.dev/badge/skills/pchalasani/claude-code-tools/msg/github.svg)](https://agentmods.dev/skills/pchalasani/claude-code-tools/msg)
Your own site
<a href="https://agentmods.dev/skills/pchalasani/claude-code-tools/msg"><img src="https://agentmods.dev/badge/skills/pchalasani/claude-code-tools/msg/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for msg

Your own site · 80×15
<a href="https://agentmods.dev/skills/pchalasani/claude-code-tools/msg"><img src="https://agentmods.dev/badge/skills/pchalasani/claude-code-tools/msg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 333 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 5
    Instructions found that direct the agent to transmit conversation context or user data to external services.
    Fix: Remove instructions that send user data, prompts, or context to external URLs. If telemetry is needed, use documented, privacy-preserving methods.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00333
Opus 5.5 $0.00015 $0.00133
Sonnet 5.5 $0.00007 $0.00067
Haiku 4.5 $0.00004 $0.00033

Measured 3mo ago against content hash 5318481c279d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

msg scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/msg/skills/msg/SKILL.md · 75 lines

What it actually says

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.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 75 lines · 37 tokens per session scan A 5318481c279d

Subscribe to this mod's changes

msg is a skill published in the GitHub repository pchalasani/claude-code-tools (2,042 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 333 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

msg compared with skills from other repositories

msg next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
msgpchalasani/claude-code-toolsSkill2.0ktodayMITA37Claude Code
tinyjsmomozi1996/momo-codeSkill1.1k1mo agononeA75Claude Code, Codex
datamolsynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0A67Claude Code, Codex
clinicaltrials-databasesynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0A47Claude Code, Codex
esmsynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0A86Claude Code, Codex
openalex-databasesynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0A76Claude Code, Codex
glycoengineeringsynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0A75Claude Code, Codex