Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

a2a-skill

БесплатноБез исполняемых скриптовНе проверен

Use this skill when agents need to communicate peer-to-peer via the a2a shared SQLite bus. Register agents, send/receive messages, broadcast announcements…

javimoschот javimosch★ 58 звёзд на GitHub

Об этом скилле

a2a-skill Plugin — Quickstart Guide

The a2a-skill plugin wraps the a2a agent-to-agent messaging system for SuperCLI. It lets any number of AI coding agents (Claude Code, OpenCode, pi, ...) share messages over a local SQLite bus.

Commands

  • a2a-skill <resource> <action> — Execute a2a-skill commands
  • a2a-skill self version — Show a2a-skill help/version info
  • a2a-skill self learn — Teach the agent the a2a-skill quickstart guide (run: sc skills teach a2a-skill:quickstart)
  • a2a-skill project init — Create a new a2a project database at ~/.a2a/{project}/database.db. Project resolves from A2A_PROJECT env or basename($PWD).
  • a2a-skill project info — Show resolved project info (name, db path, exists). Project resolves from A2A_PROJECT env or basename($PWD).
  • a2a-skill agent register — Register a new agent on the bus (or upsert if already registered). Set A2A_PROJECT for custom project.
  • a2a-skill agent unregister — Remove an agent from the bus
  • a2a-skill agent list — List all registered agents with their role, CLI, status, and PID
  • a2a-skill agent status — Update an agent's status (active, idle, done, blocked)
  • a2a-skill message send — Send a message to an agent or broadcast to all ('all' = broadcast to everyone)
  • a2a-skill message recv — Receive messages addressed to an agent (blocks with --wait)
  • a2a-skill message peek — Peek at recent messages without marking them read (observable by all)
  • a2a-skill message thread — Show all messages in a thread
  • a2a-skill message search — Search messages by content (FTS5 with LIKE fallback)
  • a2a-skill message wait — Block until N unread messages arrive for an agent, or timeout
  • a2a-skill stats show — Show bus statistics: message count, agent counts, top senders
  • a2a-skill clear run — Delete the project database (requires --yes confirmation). Set A2A_PROJECT for custom project.
  • a2a-skill _ _ — Passthrough: run any raw a2a command. Useful when you need --project flag. Example: a2a-skill _ _ list --project myapp

Architecture

Agent A (Claude) ──┐
                   ├──► ~/.a2a/{project}/database.db (WAL mode)
Agent B (OpenCode) ─┘      ▲
                            │
Agent C (pi) ──────────────┘
  • No central orchestrator — agents write to and read from the same SQLite database
  • Per-agent read tracking — each agent sees messages independently
  • Broadcast support — send a message to all / * to reach every registered agent
  • Thread support — group messages under a --thread ID for topic-based conversations
  • TTL support — messages auto-expire after N seconds
  • WAL mode — safe for concurrent writers from different processes

Prerequisites

# 1. Install a2a
git clone https://github.com/javier-arancibia/a2a-skill.git
cd a2a-skill
chmod +x install.sh && ./install.sh

# 2. Verify
a2a init
a2a list

# 3. Install the SuperCLI plugin (if not already)
supercli plugins install ./plugins/a2a-skill --on-conflict replace --json

Available Commands

All commands are invoked via sc a2a-skill <resource> <action>.

Self

Command Description
sc a2a-skill self version Show a2a help/info
sc a2a-skill self learn Teach the agent this quickstart guide

Project Management

Command Description
sc a2a-skill project init --project my-team Create a new project database
sc a2a-skill project info --project my-team Show project info (path, exists)

Agent Management

Command Description
sc a2a-skill agent register alice --role researcher --cli claude Register an agent
sc a2a-skill agent register bob --role critic --cli opencode --upsert Register or update
sc a2a-skill agent list List all registered agents (JSON)
sc a2a-skill agent status done --as alice Update agent state (active/idle/done/blocked)
sc a2a-skill agent unregister bob Remove an agent from the bus

Messaging

Command Description
sc a2a-skill message send alice "hello" --from bob Send a direct message
sc a2a-skill message send all "status check" --from alice Broadcast to all agents
sc a2a-skill message recv --as alice Fetch unread messages
sc a2a-skill message recv --as alice --wait 10 Block 10s waiting for messages
sc a2a-skill message peek --limit 10 Peek at recent bus activity
sc a2a-skill message thread T-42 --json Show all messages in a thread
sc a2a-skill message search "bug AND critical" --json Full-text search
sc a2a-skill message wait --as alice --count 3 --timeout 30 Wait for N messages

Bus Management

Command Description
sc a2a-skill stats show Show bus statistics
sc a2a-skill clear run --yes Delete the project database

Passthrough (any raw a2a

Полный SKILL.md на GitHub

Установить a2a-skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл a2a-skill?

Use this skill when agents need to communicate peer-to-peer via the a2a shared SQLite bus. Register agents, send/receive messages, broadcast announcements, search conversation history, and monitor bus stats — all without a central orchestrator.

Как установить скилл a2a-skill?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл a2a-skill запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить a2a-skill с