This skill provides comprehensive guidance for inter-agent communication using the Synapse A2A framework. Use this skill when sending messages to other agents, routing @agent patterns, understanding priority levels, handling A2A protocol operations, managing task history, configuring settings, or using File Safety features for multi-agent coordination. Automatically triggered when agent communication, A2A protocol tasks, history operations, or file safety operations are detected.
View on GitHubs-hiraoku/synapse-a2a
synapse-a2a
plugins/synapse-a2a/skills/synapse-a2a/SKILL.md
January 21, 2026
Select agents to install to:
npx add-skill https://github.com/s-hiraoku/synapse-a2a/blob/main/plugins/synapse-a2a/skills/synapse-a2a/SKILL.md -a claude-code --skill synapse-a2aInstallation paths:
.claude/skills/synapse-a2a/# Synapse A2A Communication Inter-agent communication framework via Google A2A Protocol. ## Quick Reference | Task | Command | |------|---------| | List agents | `synapse list` | | Watch agents (Rich TUI) | `synapse list --watch` (interactive, shows TRANSPORT) | | Watch agents (plain) | `synapse list --watch --no-rich` | | Send message | `synapse send <target> "<message>" --from <sender>` | | Wait for reply | `synapse send <target> "<message>" --response --from <sender>` | | Reply to request | `synapse send <target> "<response>" --reply-to <task_id> --from <sender>` | | Emergency stop | `synapse send <target> "STOP" --priority 5 --from <sender>` | | Stop agent | `synapse stop <profile\|id>` | | Check file locks | `synapse file-safety locks` | | View history | `synapse history list` | | Initialize settings | `synapse init` | | Edit settings (TUI) | `synapse config` | | View settings | `synapse config show [--scope user\|project]` | | Show instructions | `synapse instructions show <agent>` | | Send instructions | `synapse instructions send <agent> [--preview]` | | Version info | `synapse --version` | **Tip:** Run `synapse list` before sending to verify the target agent is READY. ## Sending Messages (Recommended) **Use `synapse send` command for inter-agent communication.** This works reliably from any environment including sandboxed agents. ```bash synapse send gemini "Please review this code" --from claude synapse send claude "What is the status?" --from codex synapse send codex-8120 "Fix this bug" --priority 3 --from gemini ``` **Important:** Always use `--from` to identify yourself so the recipient knows who sent the message and can reply. **Target Resolution (Matching Priority):** 1. Exact ID: `synapse-claude-8100` (direct match) 2. Type-port: `claude-8100`, `codex-8120` (shorthand) 3. Type only: `claude`, `gemini`, `codex` (only if single instance) **Note:** When multiple agents of the same type are running, type-only targets (e.g., `claude`) will fail