一键导入
a2a-communicator
Inter-group communication skill implementing the A2A (Agent-to-Agent) protocol for information exchange between Skill Cells.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Inter-group communication skill implementing the A2A (Agent-to-Agent) protocol for information exchange between Skill Cells.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Central Super-Skill that orchestrates all Skill Cells of the Conglomerate. Acts as a single entry point and intelligent router to specialized groups.
Enlace A2A del Grupo Backend. Gestiona la comunicación con otros grupos del Conglomerado.
Líder del Grupo Backend. Planifica y delega tareas de APIs, bases de datos, y arquitectura servidor a los especialistas del grupo.
Enlace A2A del Grupo Frontend. Gestiona la comunicación con otros grupos del Conglomerado.
Líder del Grupo Frontend. Planifica y delega tareas de UI/UX, React, Next.js, y desarrollo cliente a los especialistas del grupo.
Convierte entradas de blog en presentaciones visuales sorprendentes para Google Slides
| name | A2A Communicator |
| description | Inter-group communication skill implementing the A2A (Agent-to-Agent) protocol for information exchange between Skill Cells. |
| metadata | {"model":"inherit","version":"1.0.0","type":"utility-communicator"} |
This skill implements the Agent-to-Agent (A2A) communication protocol to allow information exchange between different Skill Cells of the Conglomerate.
The A2A Communicator is the "voice" of each group. When an Orchestrator needs information or services from another group, it uses this skill to send and receive messages in a standardized way.
message:
trace_id: "uuid-v4" # Unique ID for tracing
hop_count: 0 # Hop counter (max 5)
source_group: "10-backend" # Source group
target_group: "20-frontend" # Target group
request_type: "query|task|artifact"
payload:
question: "What fields does the registration form require?"
context: "Designing user table"
priority: "low|medium|high"
timeout_seconds: 30
response:
trace_id: "uuid-v4" # Same ID as request
status: "success|error|timeout"
source_group: "20-frontend"
payload:
answer: "Mandatory fields are: name, email, password"
artifacts: [] # Paths to generated artifacts
processing_time_ms: 150
1. Identify target group
2. Formulate clear and specific question/task
3. Include minimum necessary context (not all context)
4. Generate unique trace_id
1. Verify current hop_count
2. If hop_count >= MAX_HOPS (5), abort with error
3. Increment hop_count by 1
1. Locate target group's Orchestrator
2. Transmit structured message
3. Set timeout
1. Wait for response within timeout
2. Validate response structure
3. Extract relevant information
4. Return to requesting Orchestrator
[!CAUTION] Hop Limit (Max Hops): 5
Each message carries a
hop_countcounter. If it reaches 5, the request is automatically rejected to prevent infinite loops.
The system also detects cycles via trace_id:
trace_id it already processedCYCLE_DETECTED errorScenario: Backend Orchestrator is designing the database and needs to know required registration form fields.
# Request from Backend to Frontend
message:
trace_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
hop_count: 0
source_group: "10-backend-group"
target_group: "20-frontend-group"
request_type: "query"
payload:
question: "What fields are mandatory in the registration form?"
context: "Designing user table in PostgreSQL"
priority: "high"
# Response from Frontend
response:
trace_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
status: "success"
source_group: "20-frontend-group"
payload:
answer: |
Mandatory fields:
- name (string, max 100 chars)
- email (string, valid)
- password (string, min 8 chars)
Optional fields:
- phone (string, optional)
- avatar_url (string, optional)
message:
trace_id: "b2c3d4e5-f6a7-8901-bcde-f23456789012"
hop_count: 1
source_group: "20-frontend-group"
target_group: "10-backend-group"
request_type: "query"
payload:
question: "What is the endpoint to create a user?"
context: "Implementing registration form"
priority: "medium"
message:
trace_id: "c3d4e5f6-a7b8-9012-cdef-345678901234"
hop_count: 0
source_group: "30-devops-group"
target_group: "40-security-group"
request_type: "task"
payload:
task: "Review Kubernetes configuration for compliance"
artifacts:
- "skills/30-devops-group/manifests/deployment.yaml"
priority: "high"
| Error Code | Description | Action |
|---|---|---|
MAX_HOPS_EXCEEDED | 5 hops limit exceeded | Abort and report to user |
CYCLE_DETECTED | Communication cycle detected | Abort and report |
GROUP_NOT_FOUND | Target group does not exist | Check registry.yaml |
TIMEOUT | Response did not arrive in time | Retry or report |
INVALID_MESSAGE | Malformed message | Fix and resend |
Communication configuration is found in:
communication:
max_hops: 5
timeout_seconds: 30
retry_attempts: 3
high only when critical