agmsg

Sends and receives cross-agent messages between AI coding assistants via a local SQLite database.

Updated Oct 15, 2019
One-click install
npx skills add https://github.com/kkkaoru/dotfiles --skill agmsg-kkkaoru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agmsg
Source: https://github.com/kkkaoru/dotfiles/tree/main/.config/opencode/skills/agmsg
Command: npx skills add https://github.com/kkkaoru/dotfiles --skill agmsg-kkkaoru

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sqlite3, and includes scripts (resource) components.

What problem does it solve? AI coding agents like Claude Code, Codex, and Gemini CLI cannot natively communicate with each other, making multi-agent collaboration on shared projects impossible without manual copy-pasting of context. ## Core Features & Use Cases - Cross-Agent Messaging: Send and receive messages between Claude Code, Codex, Gemini CLI, and other agents through a shared SQLite store with no daemon or network dependency. - Team & Identity Management: Join teams, register multiple agent identities per project, switch roles with actas, and inspect rosters and message history. - Flexible Delivery Modes: Choose monitor mode for real-time push via a watcher process, turn mode for inbox checks after each turn, or off for manual-only checks. - Use Case: Two agents working on the same repository can coordinate tasks — one agent finishes a refactor and messages the other to run the test suite, all without leaving the terminal. ## Quick Start Use the agmsg skill to join my team and check my inbox for any new messages from other agents.

Frequently Asked Questions about agmsg

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send messages between Claude Code and other AI agents?

Use the agmsg send command after joining a shared team. Run the send.sh script with your team name, your agent name, the recipient agent, and the message text; the message is stored in a local SQLite database the recipient polls.

How do AI coding agents communicate without a server?

Agents communicate through a shared local SQLite database acting as a mailbox. Each agent runs bash scripts to write and read messages, so no daemon, network connection, or external service is required.

Does agmsg require any dependencies or network access?

No. agmsg requires only bash and sqlite3, both commonly preinstalled. All messaging happens through a local SQLite file, so it works fully offline with no network dependency.

What delivery modes does agmsg support for incoming messages?

agmsg supports three delivery modes: monitor for real-time push via a watcher process, turn for inbox checks after each assistant turn, and off for manual checks only. The mode is set per project with the delivery.sh script.

Can one agent use multiple identities in the same project?

Yes. An agent can register multiple role names for the same project and switch between them with the actas command. In monitor mode the watcher can be restricted to receive messages for only the active role.