com um clique
agent-handoff
Use when passing work between agents with context preservation
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Use when passing work between agents with context preservation
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Use when creating, modifying, or reviewing a cliagents provider adapter for a CLI tool such as Codex, Claude Code, Gemini CLI, Qwen CLI, or OpenCode.
Use when operating as a supervised root that delegates work to child sessions through cliagents
Use when reducing prompt size for roots and child sessions without losing the information needed to execute well
Use when exploring design options or solving open-ended problems
Use when reviewing code for quality, bugs, security, and maintainability
Use when investigating bugs - systematic root-cause analysis approach
| name | agent-handoff |
| description | Use when passing work between agents with context preservation |
| tags | ["orchestration","handoff","context"] |
Ensure smooth transitions when passing work between AI agents.
When one agent hands off to another, context can be lost. This skill ensures:
When handing off to another agent, always include:
What: Brief description of completed work Why: The reasoning behind decisions made Where: Files and locations modified
## Work Completed
- Implemented user authentication in src/auth/
- Added JWT token generation and validation
- Created middleware for protected routes
## Key Decisions
- Chose JWT over sessions for stateless scaling
- Set token expiry to 24 hours (configurable)
- Used bcrypt for password hashing (cost factor 12)
List all modified files with brief descriptions:
## Files Modified
- src/auth/jwt.js - Token generation/validation
- src/auth/middleware.js - Auth middleware
- src/routes/auth.js - Login/logout endpoints
- src/models/user.js - Added password field
## New Files Created
- src/auth/config.js - Auth configuration
- tests/auth.test.js - Authentication tests
What the next agent should be aware of:
## Open Issues
- [ ] Rate limiting not implemented yet
- [ ] Password reset flow pending
- [ ] Need to add refresh token logic
## Concerns
- JWT secret is currently hardcoded - needs env var
- No input validation on login endpoint
- Error messages might leak user existence
Clear instructions for the receiving agent:
## For Next Agent
1. Review security of current implementation
2. Add rate limiting to login endpoint
3. Implement password reset via email
4. Add refresh token rotation
Priority: Security review is most critical
# Agent Handoff: [Task Name]
## Context
[Brief description of the task and current state]
## Work Completed
- [List of completed items]
## Key Decisions
| Decision | Rationale |
|----------|-----------|
| [Choice] | [Why] |
## Files Modified
- path/to/file.js - [what changed]
## Open Issues
- [ ] [Issue description]
## For Next Agent
1. [First action]
2. [Second action]
## Shared Artifacts
- artifact-key: [description]
- finding-ids: [list]
store_artifact taskId="task-123" key="implementation-plan" type="plan" content="..."
store_artifact taskId="task-123" key="code-changes" type="code" content="..."
share_finding taskId="task-123" type="info" content="JWT implementation notes..."
share_finding taskId="task-123" type="security" severity="medium" content="Rate limiting needed"
get_shared_findings taskId="task-123"
When you receive a handoff:
get_shared_findings