Agent Context Management and Handoff

Log agent work progress, decisions, and blockers via the td CLI.

1|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/em-jones/staccato-toolkit --skill agent-context-management-and-handoff
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Agent Context Management and Handoff
Source: https://github.com/em-jones/staccato-toolkit/tree/main/.opencode/skills/agent-context-handoff
Command: npx skills add https://github.com/em-jones/staccato-toolkit --skill agent-context-management-and-handoff

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of maintaining context and ensuring smooth transitions between agents working on the same task, preventing loss of information and redundant effort.

Core Features & Use Cases

  • Context Capture: Logs detailed work progress, decisions, blockers, and remaining tasks using the td CLI.
  • Context Retrieval: Provides a comprehensive summary of task history, including previous handoffs, blockers, and session details.
  • Handoff Automation: Enables agents to hand off work cleanly without manual document editing, relying on automated rendering.
  • Use Case: An agent working on a complex feature can log their progress, decisions, and any blockers encountered. The next agent can then immediately understand the full state of the task, including what's done, what's left, and why certain decisions were made, allowing them to pick up exactly where the previous agent left off.

Quick Start

Use the agent-context-handoff skill to capture your current work state for task 'td-87cb57' by running td handoff td-87cb57 --done "Implemented core parsing logic" --remaining "Add integration tests".

Frequently Asked Questions about Agent Context Management and Handoff

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I transfer agent context and task history between multiple AI agents?

Agent context handoff works by logging work progress, decisions, and blockers via the `td` CLI, which enables the next agent to retrieve complete task history and session details for seamless work continuity.

How do I log agent work progress and blockers without manual document editing?

You log agent work progress by running a `td handoff` command with task identifiers, completed work summaries, and remaining items, relying on automated document rendering instead of manual editing.

What is agent context management and when do I need it for workflow automation?

Agent context management is the process of capturing and retrieving task state to prevent information loss during agent transitions. You need it when multiple agents work sequentially on complex features.

Does the agent handoff skill integrate with OpenSpec workflow for document rendering?

Yes, the agent handoff skill integrates with OpenSpec workflow to automate document rendering, ensuring agents can hand off work cleanly without manually updating project documentation.

Can I retrieve previous session details and decisions after an agent handoff?

Yes, you can retrieve a comprehensive summary of previous handoffs, blockers, and session details using the `td` CLI, ensuring the next agent understands exactly why certain decisions were made.