agent workflow skill risk: medium
Agent Conversation Handoff Document Writer
Instructs the model to write a handoff document summarizing the current conversation for another agent, save it to a path from mktemp -t handoff-XXXXXX.md after reading the file, s…
- External action: medium
SKILL 1 file
SKILL.md
--- name: handoff description: "Compact the current conversation into a handoff document for another agent to pick up." --- Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save it to a path produced by `mktemp -t handoff-XXXXXX.md` (read the file before you write to it). Suggest the skills to be used, if any, by the next session. Do not duplicate content already captured in other artifacts (PRDs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead. If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
REQUIRED CONTEXT
- current conversation
OPTIONAL CONTEXT
- user arguments describing next session focus
TOOLS REQUIRED
- code_execution
ROLES & RULES
- Write a handoff document summarising the current conversation so a fresh agent can continue the work.
- Save it to a path produced by `mktemp -t handoff-XXXXXX.md` (read the file before you write to it).
- Suggest the skills to be used, if any, by the next session.
- Do not duplicate content already captured in other artifacts (PRDs, plans, ADRs, issues, commits, diffs).
- Reference them by path or URL instead.
- If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
EXPECTED OUTPUT
- Format
- markdown
- Constraints
-
- save to path from mktemp -t handoff-XXXXXX.md after reading it
- suggest skills for next session
- reference other artifacts by path/URL instead of duplicating
- tailor based on any user-provided arguments describing next focus
SUCCESS CRITERIA
- Summarise the current conversation
- Suggest skills for the next session
- Avoid duplicating content already captured in other artifacts
CAVEATS
- Dependencies
-
- current conversation
- user arguments if passed
- Missing context
-
- Definition or scope of 'skills'
- Exact list or examples of artifacts to avoid duplicating
- Ambiguities
-
- Why read the file before writing to a path produced by mktemp (new file).
- 'skills' is undefined and not exemplified.
QUALITY
- OVERALL
- 0.78
- CLARITY
- 0.80
- SPECIFICITY
- 0.75
- REUSABILITY
- 0.85
- COMPLETENESS
- 0.70
IMPROVEMENT SUGGESTIONS
- Replace 'read the file before you write to it' with a clear rationale or remove the step.
- Add a brief definition or examples of what 'skills' means in this context.
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR AGENT
- Repo Workflow AGENTS.md Editor agent workflow
- Fal Workflow JSON Generator agent workflow
- Fal Workflow JSON Generator agent workflow
- Comprehensive Codebase Bug Analysis and Fixer agent analysis
- Xcode MCP Usage Guidelines for Agents agent tool_use
- Xcode MCP Usage Guidelines agent tool_use
- Rapid App MVP Prototyper agent coding
- Local Documentation Online Sync Automator agent operations
- HashiCorp Packer Golden Image Expert agent operations
- Xquik X/Twitter API Integration Skill agent tool_use
- MoltPass Client for AI Agent Identities agent security
- AI-First Design Handoff Specs Generator agent coding
- Consciousness Council Multi-Perspective Deliberation agent planning
- Creative Thinking Frameworks for CS Research agent research
- Filesystem Agent Context Engineering agent tool_use
- Academic Paper Figure Generator agent research
- Multi-Agent Architecture Patterns Guide agent planning
- Existing Web Design Premium Upgrader agent creative
- Product Marketing Context Document Creator agent marketing
- Test-Driven Development Workflow Rules agent coding
- Agent Tool Design Principles agent tool_use
- TDD Implementation Plan Writer agent planning
- Conventional Git Commit Creator agent tool_use
- GitHub Trending Dashboard Generator agent tool_use
- Structured Autonomy Implementation Agent agent coding