agmsg is a cross-agent messaging tool that lets separate command-line AI coding sessions exchange messages through a shared local SQLite database. Developers use it to coordinate Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, and other CLI agents without a daemon or network service, and the catalogue entries provide its related skill and plugin.
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.
npx skills add fujibee/agmsg --skill agmsggit clone --depth 1 https://github.com/fujibee/agmsgWrote 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.
[](https://agentmods.dev/skills/fujibee/agmsg/agmsg)<a href="https://agentmods.dev/skills/fujibee/agmsg/agmsg"><img src="https://agentmods.dev/badge/skills/fujibee/agmsg/agmsg/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.
<a href="https://agentmods.dev/skills/fujibee/agmsg/agmsg"><img src="https://agentmods.dev/badge/skills/fujibee/agmsg/agmsg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.13800 |
| Opus 5.5 | $0.00021 | $0.05520 |
| Sonnet 5.5 | $0.00010 | $0.02760 |
| Haiku 4.5 | $0.00005 | $0.01380 |
Grade B, and why
agmsg scanned grade B with 2 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 5d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
**Permission prompts.** Every command here runs through the Bash tool, so each call is gated by the permission system until the script directory is allowlisted. Without this the user is asked to confirm essentially every Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Then ask the user: "Shall I read the files that will run and check them for anything risky before you decide?" If yes, read every file under "Files to read:" in the "Review copy:" directory the printout names — that copy How it starts
The opening of the file, as written. The whole thing — 440 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Step 0: First-run bootstrap
agmsg keeps its SQLite database, team registry, and runtime state under ~/.agents/skills/agmsg/. The ./install.sh install path creates that tree; the Claude Code plugin install path does not (the plugin marketplace only copies this repository into ~/.claude/plugins/cache/). Before any other command, bootstrap if needed:
if [ ! -d ~/.agents/skills/agmsg ]; then
# Newest cached copy of the plugin. Several versions can sit side by side, so
# pick by version folder name (numeric, portable -- not sort -V, not mtime).
cache="$HOME/.claude/plugins/cache/fujibee-agmsg/agmsg"
newest=$(ls "$cache" 2>/dev/null | sort -t. -k1,1n -k2,2n -k3,3n | tail -1)
installer="$cache/$newest/install.sh"
if [ -n "$newest" ] && [ -f "$installer" ]; then
bash "$installer" --cmd agmsg
else
echo "agmsg not installed. Either:" >&2
echo " - run ./install.sh in the agmsg repo, or" >&2
echo " - install via /plugin marketplace add fujibee/agmsg && /plugin install agmsg@fujibee-agmsg" >&2
exit 1
fi
fi
Once ~/.agents/skills/agmsg/ exists this step does nothing, so it is safe to run every time.
Agent messaging command. IMPORTANT: Always use the provided scripts. NEVER directly read or edit config files, DB, or team data. There is NO register.sh — use join.sh to join a team.
Use agmsg, not the host agent's own inter-session messaging. Several agent
CLIs ship a native way for one session to message another on the same machine
(in Claude Code, the SendMessage / ListAgents tools over its peer-session
list). While a project is on agmsg, route agent-to-agent messages through agmsg
instead. A message sent natively does not exist as far as agmsg is concerned:
it is absent from history.sh and the team's export, it never reaches a member
on another machine through remote sync, it does not mark read or advance any
cursor, and it cannot address a member whose CLI is a different type. Half the
conversation living somewhere unrecorded is worse than either channel alone,
and the gap is invisible until someone reads the history and finds a decision
with no message behind it. The native channel stays fine for anything outside
the team — a subagent you spawned for your own task, or a session that has not
joined.
Shell requirement: All agmsg scripts are Bash scripts. Always execute them via bash, never via PowerShell or cmd directly. If your default shell is not Bash (e.g. PowerShell on Windows), wrap every command with bash -lc '...'. Example: bash -lc '~/.agents/skills/agmsg/scripts/send.sh myteam alice bob "hello"'. Do NOT construct DB paths manually — the scripts handle path resolution internally. If you need to redirect storage, use AGMSG_STORAGE_PATH (the supported override).
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- scripts/actas-claim.sh 17 KB runs code
- scripts/agmsg 2.0 KB
- scripts/api.sh 10 KB runs code
- scripts/arrange.sh 3.4 KB runs code
- scripts/check-inbox.sh 28 KB runs code
- scripts/check-private-names.mjs 5.0 KB runs code
- scripts/config.sh 4.4 KB runs code
- scripts/daemon.sh 48 KB runs code
- scripts/daemon/agmsgd 12 KB
- scripts/daemon/agmsgd-launch.sh 6.2 KB runs code
- scripts/daemon/channels/claude-code-queue-io.mjs 8.8 KB runs code
- scripts/daemon/channels/claude-code-queue-store.mjs 6.1 KB runs code
- scripts/daemon/channels/claude-code-queue.mjs 19 KB runs code
- scripts/daemon/channels/claude-code-sessions.mjs 4.4 KB runs code
- scripts/daemon/channels/codex-queue-io.mjs 6.6 KB runs code
- scripts/daemon/channels/codex-queue-store.mjs 8.8 KB runs code
- scripts/daemon/channels/codex-queue.mjs 30 KB runs code
- scripts/daemon/channels/delivery-choice.mjs 1.1 KB runs code
- scripts/daemon/channels/process-group.mjs 5.3 KB runs code
- scripts/daemon/channels/storage-gate.mjs 791 B runs code
- scripts/daemon/channels/windows-codex-queue.mjs 3.2 KB runs code
- scripts/daemon/control.mjs 7.5 KB runs code
- scripts/daemon/db.mjs 2.1 KB runs code
- scripts/daemon/down-notice.mjs 3.0 KB runs code
- scripts/daemon/executor.mjs 6.4 KB runs code
- scripts/daemon/lifecycle.mjs 7.8 KB runs code
- scripts/daemon/liveness.mjs 624 B runs code
- scripts/daemon/log.mjs 2.5 KB runs code
- scripts/daemon/main.mjs 12 KB runs code
- scripts/daemon/owner.mjs 6.3 KB runs code
- scripts/daemon/poll-deadline.mjs 1.5 KB runs code
- scripts/daemon/schema.sql 3.4 KB
- scripts/daemon/seat-book.mjs 1.7 KB runs code
- scripts/daemon/seat-poll.mjs 3.9 KB runs code
- scripts/daemon/seat-query.mjs 1.2 KB runs code
- scripts/daemon/status.mjs 19 KB runs code
- scripts/delivery-cli.sh 6.9 KB runs code
- scripts/delivery.sh 50 KB runs code
- scripts/despawn.sh 13 KB runs code
- scripts/doctor.sh 54 KB runs code
- scripts/drivers/ext-tools/jev/_lib.sh 15 KB runs code
- scripts/drivers/ext-tools/jev/handle 21 KB
- scripts/drivers/ext-tools/jev/setup 6.4 KB
- scripts/drivers/ext-tools/jev/SETUP.md 6.2 KB
- scripts/drivers/ext-tools/jev/tool.conf 851 B
- scripts/drivers/ext-tools/jev/USAGE.md 7.6 KB
- scripts/drivers/ext-tools/jev/USAGE/criteria.md 2.3 KB
- scripts/drivers/ext-tools/README.md 5.2 KB
- scripts/drivers/ext-tools/slack/_lib.sh 6.4 KB runs code
- scripts/drivers/ext-tools/slack/handle 3.0 KB
- scripts/drivers/ext-tools/slack/manifest.json 459 B
- scripts/drivers/ext-tools/slack/setup 8.3 KB
- scripts/drivers/ext-tools/slack/SETUP.md 6.9 KB
- scripts/drivers/ext-tools/slack/tool.conf 498 B
- scripts/drivers/ext-tools/slack/USAGE.md 2.5 KB
- scripts/drivers/partition/per-team.sh 934 B runs code
- scripts/drivers/partition/shared.sh 798 B runs code
- scripts/drivers/storage/jsonl-read-cursor.jq 833 B
- scripts/drivers/storage/jsonl-unread.duckdb.sql 1.3 KB
- scripts/drivers/storage/jsonl.sh 26 KB runs code
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.
- 5d ago Changed · +2 lines 5c1eb4710162
- 8d ago Changed · +2 lines 531a50ce3bd5
- 11d ago Changed · +16 lines e3c317a7f927
- 14d ago Changed · +1 lines 5389096c037a
- 16d ago Changed · +11 lines · +13 tokens per session ec52a3761602
- 1mo ago Changed · +4 lines bfa5e800fb14
- 1mo ago Changed e375382947f0
- 1mo ago Changed 2f2ee0760e99
- 1mo ago Changed · +94 lines · -2 tokens per session scan A → B 2b0c0b144035
- 1mo ago First seen · 310 lines · 41 tokens per session scan A d8de64058b1d
agmsg is a skill published in the GitHub repository fujibee/agmsg (1,579 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 13,800 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
agmsg compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agmsgfujibee/agmsg | Skill | 1.6k | today | MIT | B | 52 | Claude Code |
| add-channelaspasskiy/GoGogot | Skill | 264 | 10d ago | MIT | A | 62 | Claude Code, Codex |
| telegramaspasskiy/GoGogot | Skill | 264 | 10d ago | MIT | A | 45 | Claude Code, Codex |
| developmentfengshao1227/ccg-workflow | Skill | 6.0k | 5d ago | MIT | A | 41 | Claude Code |
| communicationagentscope-ai/AgentTeams | Skill | 6.0k | today | Apache-2.0 | A | 36 | Claude Code, Codex |
| writing-relayflowsAgentWorkforce/relay | Skill | 1.1k | today | Apache-2.0 | A | 184 | Claude Code, Codex |
| test-warp-uiwarpdotdev/warp | Skill | 66k | today | AGPL-3.0 | A | 55 | Claude Code |