A2a Manager
by @nyrosveil
Manage agent creation, Discord channels/roles, agent-to-agent task coordination, sub-agent spawning, A2A_MAP updates, and Notion-based task workflows.
clawhub install a2a-manager📖 About This Skill
name: a2a-manager description: Agent-to-Agent Manager dành cho Coordinator/Orchestrator. Sử dụng khi: (1) Tạo agent mới theo yêu cầu, (2) Quản lý Discord Category/Channel/Role, (3) Binding agent với channel, (4) Điều phối agent-to-agent, (5) Tạo/cập nhật A2A_MAP.md (từ template cứng trong script), (6) Spawn/dispose Specialists (sub-agents), (7) Quản lý task workflow với Notion.
Trigger phrases: "tạo agent", "tạo channel", "thêm nàng", "spawn specialist", "task board", "quản lý agent", "điều phối", "phân công", "A2A", "tìm agent", "cập nhật map"
A2A Manager
Trigger Phrases
| Trigger | Action | |---------|--------| | "tạo agent", "thêm nàng" | Tạo agent mới | | "tạo channel" | Tạo Discord channel | | "spawn specialist" | Tạo sub-agent tạm thời | | "task board", "quản lý task" | Notion task management | | "quản lý agent" | Agent registry management | | "điều phối", "phân công" | Task orchestration | | "A2A", "map" | A2A_MAP management | | "tìm agent" | Lookup agent |
Agent Types (Task-Steward Inspired)
1. Specialized Agents (Permanent)
> Core agents - Sống trong workspace, có identity riêng2. Role-specific Agents
> Theo chức năng cụ thể3. Specialists (Sub-agents)
> Tạm thời - Sinh ra để làm task cụ thể, xong.Dispose| Type | Use Case | Model | |------|----------|-------| | temp_worker | Task đơn giản | flash | | researcher | Nghiên cứu sâu | pro | | coder | Code task | glm4 | | qa_reviewer | Verify work | flash | | runner | Chạy lệnh | flash |
Workflow (Task-Steward với Notion)
Task States
| State | Notion Status | Description | |-------|---------------|-------------| | NOW | Now/Today | Ưu tiên cao | | WAITING | Waiting | Chờ input | | IN_PROGRESS | In Progress | Đang làm | | REVIEW | Ready for Review | Chờ QA | | DONE | Done | Hoàn thành |Workflow
Master → Task Request
↓
C.C. (Coordinator) → Classify: Q&A or Task?
↓
Q&A → Answer immediately
Task → Notion Task Board → Execute (spawn Specialist) → QA → Deliver
Scripts
A2A Map
a2a_map.py - Quản lý A2A_MAP.mdTask Board (Notion)
task_board.py - Quản lý task trên NotionDiscord
discord_manager.py - Quản lý Category/Channel/RoleSpecialist Management
specialist_manager.py - Spawn/dispose sub-agentsAgent Creation
create_agent.py - Tạo agent mớiQuick Actions
A2A Map
# Validate map
python a2a_map.py validateVersions
python a2a_map.py versions
Task Board (Notion)
python task_board.py setup
python task_board.py create "Fix bug" "Mô tả"
python task_board.py start
python task_board.py complete
python task_board.py approve
Specialists
python specialist_manager.py spawn coder "Fix bug" Winry
python specialist_manager.py list
python specialist_manager.py dispose