restore-task

Restore local task workspace files from Issue comments marked with sync-issue tokens.

84|5|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/fitlab-ai/agent-infra --skill restore-task
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: restore-task
Source: https://github.com/fitlab-ai/agent-infra/tree/main/.agents/skills/restore-task
Command: npx skills add https://github.com/fitlab-ai/agent-infra --skill restore-task

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Restores local task workspace files by rehydrating them from platform Issue comments that contain sync-issue markers, enabling a seamless recovery of task context after updates or changes.

Core Features & Use Cases

  • Reads Issue comments and identifies sync-issue markers to determine which task and files to restore.
  • Reconstructs files like task.md and related artifacts into a dedicated local workspace at .agents/workspace/active/{task-id}/ with conflict checks.
  • Validates and updates the restored task.md, then performs a post-restore verification to confirm integrity.

Quick Start

Run this skill to restore the local task workspace from Issue comments marked with sync-issue tokens.

Frequently Asked Questions about restore-task

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

FAQPage Schema
How do I restore local task workspace files from Issue comments?

To restore local task workspace files, this skill rehydrates task.md and related artifacts by aggregating fragments from platform Issue comments marked with sync-issue tokens, writing them into the active workspace directory.

Can I recover task.md context after updates using sync-issue markers?

Yes, recovering task.md context is achieved by reading sync-issue markers from Issue comments to validate inputs and reconstruct task files under the dedicated local workspace path with conflict checks.

How does restoring a task workspace handle file conflicts?

Restoring a task workspace applies conflict checks before writing reconstructed files to the active directory, ensuring local task artifacts are safely validated and updated without overwriting unauthorized changes.

Does the workspace restoration process include post-restore verification?

Yes, workspace restoration includes a post-restore verification step that confirms the integrity of the reconstructed task.md and related artifacts, then reports the final validation results to the user.

What is the best way to reconstruct local task artifacts from a platform issue?

The best way to reconstruct local task artifacts is running an automated workflow that parses sync-issue tokens from issue comments, aggregates the file fragments, and writes them directly to the active task directory.

Why does task workspace restoration fail if sync-issue tokens are missing?

Task workspace restoration fails without sync-issue tokens because the skill validates these specific markers in Issue comments to identify the target task-id and correctly aggregate the necessary file fragments.