apm-9-recover

Restore APM agent working context after data loss or compaction.

1|Updated Dec 13, 2025
One-click install
npx skills add https://github.com/stephendor/TDL --skill apm-9-recover
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apm-9-recover
Source: https://github.com/stephendor/TDL/tree/main/.agents/skills/apm-9-recover
Command: npx skills add https://github.com/stephendor/TDL --skill apm-9-recover

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the issue of reconstructing the working context of an APM agent after platform auto-compaction, manual compaction, or when an agent must resume after a cleared or lost conversation.

Core Features & Use Cases

  • Recovery of Context: Restores the working context of APM agents (Manager and Workers) after various forms of data loss or system actions.
  • Role-Based Execution: Accepts an optional role argument to specify whether the command is for a Manager or a Worker agent.
  • Document Reading: Reads all documents referenced by the initiation command to reconstruct procedural knowledge and project state.
  • Project State Exploration: Explores project state from artifacts and the current codebase to reconstruct work status.
  • Recovery Event Noting: Adds a working note to the Tracker for Managers or includes it in the next Task Report for Workers.

Quick Start

Run the 'apm-9-recover' command with the role specified, e.g., 'apm-9-recover manager' or 'apm-9-recover frontend-agent'.

Frequently Asked Questions about apm-9-recover

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

FAQPage Schema
How do I restore agent working context after platform auto-compaction?

You restore agent working context after platform auto-compaction by running a recovery command that reads referenced documents and explores project artifacts to reconstruct procedural knowledge and work status.

What is the best way to resume an APM agent after a cleared conversation?

Resuming an APM agent after a cleared conversation is done by executing a context recovery command that rebuilds project state from artifacts and the current codebase while noting the recovery event in the Tracker.

Can I specify a role when recovering an APM agent's working context?

Yes, you can specify a role when recovering an APM agent's working context by passing an optional role argument like 'manager' or 'frontend-agent' to tailor the procedural knowledge reconstruction process.

How does manual compaction context recovery work for project agents?

Manual compaction context recovery works by reading all documents referenced in the initiation command to reconstruct procedural knowledge, exploring project state from artifacts, and adding a working note to the Tracker or next Task Report.

Do I need to reference specific documents to reconstruct an agent's project state?

Yes, you need to reference specific documents because the recovery process reads them to reconstruct procedural knowledge and explores project state from artifacts and the current codebase to determine work status.