source-command-apm-7-handoff-worker

Creates Handoff Log and handoff prompt artifacts for APM Worker context transfer.

1|Updated Dec 13, 2025
One-click install
npx skills add https://github.com/ZK-Theory/TDL --skill source-command-apm-7-handoff-worker-zk-theory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: source-command-apm-7-handoff-worker
Source: https://github.com/ZK-Theory/TDL/tree/main/.agents/skills/source-command-apm-7-handoff-worker
Command: npx skills add https://github.com/ZK-Theory/TDL --skill source-command-apm-7-handoff-worker-zk-theory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When an APM Worker agent approaches its context window limit, its working context would be lost. This Skill preserves continuity by generating a structured Handoff Log and a handoff prompt so an incoming Worker instance can reconstruct context and resume work. ## Core Features & Use Cases - Handoff Log Creation: Captures past actions, working context, patterns, and technical notes from the current instance into .apm/memory/handoffs/<agent>/ with a defined YAML frontmatter schema. - Handoff Prompt Generation: Writes a present-tense continuation prompt to the Handoff Bus at .apm/bus/<agent-slug>/handoff.md, covering mid-Task, mid-batch, and between-Tasks scenarios. - Use Case: A Worker agent mid-Task hits context limits; run this command to produce both artifacts, then start a new chat and run /apm-3-initiate-worker so the incoming instance auto-detects the handoff and resumes from the correct step. ## Quick Start Ask the agent to run the apm-7-handoff-worker command to create the Handoff Log and handoff prompt for the current Worker instance.

Frequently Asked Questions about source-command-apm-7-handoff-worker

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

FAQPage Schema
How do I hand off work between APM Worker instances?

Run the apm-7-handoff-worker command to create a Handoff Log in .apm/memory/handoffs and a handoff prompt on the Handoff Bus. Then start a new chat and run /apm-3-initiate-worker so the incoming Worker auto-detects the handoff.

What is the difference between the Handoff Log and the handoff prompt?

The Handoff Log records past actions, working context, and technical notes from the current instance in past tense. The handoff prompt describes current state and continuation guidance in present tense, directing the incoming Worker what to read and do next.

How does the incoming Worker rebuild context after a handoff?

The incoming Worker reads the Handoff Log plus the current Stage Task Logs for that Worker only. It must not load previous-Stage logs, since the Manager supplies cross-Stage dependency context through Task Prompts.

What happens during a mid-Task handoff in APM?

The handoff prompt directs the incoming Worker to read the intact Task from the Task Bus file and resume from the exact step where the outgoing Worker stopped, including execution progress details such as completed steps.

Where are APM handoff artifacts stored?

Handoff Logs are stored in .apm/memory/handoffs/<agent>/ as handoff-<NN>.log.md files with YAML frontmatter. The handoff prompt is written to the Handoff Bus at .apm/bus/<agent-slug>/handoff.md.