archive-tasks

Archive completed tasks into date-organized directories and rebuild manifests.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill archives completed tasks by moving them from the .agents/workspace/completed directory into a date-organized archive structure under .agents/workspace/archive/YYYY/MM/DD/TASK-xxx/, and regenerates the three-level manifest system.

Core Features & Use Cases

  • Move completed task directories to .agents/workspace/archive/YYYY/MM/DD/TASK-xxx/ with date-based organization.
  • Rebuild root manifest: .agents/workspace/archive/manifest.md; year manifests: .agents/workspace/archive/YYYY/manifest.md; month manifests: .agents/workspace/archive/YYYY/MM/manifest.md.
  • Support filtering options like --days, --before, or targeted TASK-ID lists to selectively archive.

Quick Start

Run the archive-tasks script to move completed tasks into a date-based archive and rebuild the manifests.

Frequently Asked Questions about archive-tasks

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

FAQPage Schema
How do I archive completed tasks by date to reduce workspace clutter?

Run the archive-tasks script to move completed task directories into a date-organized archive structure under archive/YYYY/MM/DD/ and automatically rebuild the root, year, and month manifests to reduce workspace clutter.

Can I selectively archive completed tasks using specific dates or task IDs?

Yes, you can selectively archive completed tasks using filtering options like --days to archive by age, --before to specify a cutoff date, or targeted TASK-ID lists to archive specific items only.

How does the manifest system work when archiving completed task directories?

The manifest system rebuilds three levels after archiving completed task directories: the root archive manifest, year manifests, and month manifests, ensuring the date-organized archive structure remains fully indexed and navigable.

What happens if an archive task already exists in the date-organized archive?

The skill validates task metadata and prevents overwrites, skipping any tasks that already exist in the date-organized archive structure and reporting them in a concise summary of archived and skipped tasks.

Do I need any dependencies to automate archiving completed tasks and manifests?

No dependencies are required to automate archiving completed tasks and manifests; the skill operates standalone using its internal scripts to validate metadata, move directories, rebuild manifests, and report summaries.