collaboration

Multi-Agent Collaboration

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "collaboration" with this command: npx skills add alicoder001/agent-skills/alicoder001-agent-skills-collaboration

Multi-Agent Collaboration

Patterns for effective agent coordination.

Instructions

  1. Agent Role Definition

Specialist Roles

RoleResponsibilitySkills
PlannerDecompose tasksreasoning, planning
ResearcherGather informationsearch, analysis
DeveloperWrite codeimplementation
ReviewerQuality checktesting, review
DocumenterWrite docsdocumentation
  1. Task Delegation

Delegation Protocol

  1. Assess: What expertise is needed?
  2. Assign: Match task to specialist
  3. Brief: Provide clear context
  4. Monitor: Track progress
  5. Integrate: Combine results

Delegation Template

TASK: [Description] ASSIGNED TO: [Role] CONTEXT: [What they need to know] DELIVERABLE: [Expected output] DEADLINE: [When needed]

  1. Communication Protocols

Message Format

Request

{ "from": "planner", "to": "developer", "type": "task", "content": { "action": "implement", "file": "UserService.ts", "requirements": ["..."] } }

Response

{ "from": "developer", "to": "planner", "type": "result", "status": "complete", "content": { "files_changed": ["UserService.ts"], "summary": "Added user validation" } }

  1. Handoff Patterns

Clean Handoff Checklist

When passing work to another agent:

  • Summarize what was done
  • Explain current state
  • List remaining tasks
  • Note any blockers
  • Provide relevant context

Example

Handoff: Planner → Developer

Completed

  • Analyzed requirements

  • Identified 3 main components

Current State

  • Types defined in types/user.ts

  • No implementation yet

Next Steps

  • Create UserService in services/

  • Implement CRUD operations

  • Add validation

Context

  • Use Prisma for DB

  • Follow existing patterns in OrderService

  1. Conflict Resolution

When Agents Disagree

  1. Identify: What is the conflict?
  2. Evidence: Gather supporting facts
  3. Evaluate: Compare approaches
  4. Decide: Choose best option
  5. Document: Record decision and reasoning

Common Conflicts

ConflictResolution Strategy
Architecture choiceEvaluate trade-offs
Implementation approachPrototype both
Priority disagreementAlign with user goal
Resource contentionSchedule or parallelize
  1. Workflow Orchestration

sequenceDiagram participant User participant Planner participant Developer participant Reviewer

User->>Planner: Request feature
Planner->>Planner: Analyze & decompose
Planner->>Developer: Assign implementation
Developer->>Developer: Write code
Developer->>Reviewer: Request review
Reviewer->>Developer: Feedback
Developer->>Planner: Complete
Planner->>User: Deliver result

7. Shared Context

Context Sharing Rules

Must Share

  • Project constraints
  • User preferences
  • Critical decisions
  • Error states

May Share

  • Implementation details
  • Intermediate results
  • Research findings

Don't Share

  • Internal reasoning
  • Failed attempts
  • Verbose logs
  1. Progress Synchronization

Status Updates

Format

AgentTaskStatusBlockers
DeveloperAPI endpoints🟢 DoneNone
ReviewerCode review🟡 WIPWaiting for tests
DocumenterAPI docs🔴 BlockedNeed API specs

Sync Points

  • After each phase completion
  • When blocked
  • When priorities change
  • Before final delivery

References

  • Multi-Agent Reinforcement Learning

  • CrewAI Framework

  • AutoGen

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

solid

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

reasoning

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

find-skills

No summary provided by upstream source.

Repository SourceNeeds Review