task-cleanup

Automates retirement of completed task packs by migrating knowledge and removing stale references.

2|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/clawperator/clawperator --skill task-cleanup-clawperator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: task-cleanup
Source: https://github.com/clawperator/clawperator/tree/main/.agents/skills/task-cleanup
Command: npx skills add https://github.com/clawperator/clawperator --skill task-cleanup-clawperator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Close out a completed task pack and retire associated work by migrating durable knowledge to permanent homes, removing stale phase references from code, and deleting the task folder only after all cleanup gates pass.

Core Features & Use Cases

  • Knowledge migration: move design decisions, outcomes, and actionable notes to durable destinations for future agents.
  • Code hygiene: identify and remove stale phase references, per-task labels, and broken links so the repo remains clean after deletion.
  • Plan fidelity and governance: triage gaps, classify them as fix-now, defer, or accept, and ensure safe deletion of the task pack only when all gates are cleared.

Quick Start

Run: $task-cleanup <task-path> to retire a completed task pack.

Frequently Asked Questions about task-cleanup

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

FAQPage Schema
How do I safely retire completed task packs and clean up repository references?

Safely retire completed task packs by migrating durable knowledge to permanent homes, removing stale phase references from code, and deleting the task folder only after all cleanup gates pass. This ensures repository hygiene is maintained without losing actionable outcomes.

What is the best way to migrate durable knowledge before deleting a task folder?

The best way to migrate durable knowledge is to move design decisions, outcomes, and actionable notes to durable destinations for future agents. This knowledge migration ensures no critical information is lost when the task folder is ultimately deleted.

How do I triage gaps in code hygiene when closing out a task pack?

Triage gaps in code hygiene by classifying them as fix-now, defer, or accept. This governance check requires explicit gap handling to ensure safe deletion of the task pack only when all gates are cleared or formally accepted.

Does task pack cleanup require passing governance gates before folder deletion?

Yes, task pack cleanup requires passing three governance gates before deletion. It enforces governance checks, requires explicit gap handling, and ensures deletion only after all gates are resolved or accepted to maintain strict repository hygiene.

What happens to stale phase references and broken links during task pack retirement?

During task pack retirement, code hygiene processes identify and remove stale phase references, per-task labels, and broken links. This ensures the repository remains clean and free of outdated references after the task folder is deleted.

When should I not use an automated task pack retirement process?

You should not use automated task pack retirement when explicit gap handling is incomplete or governance gates remain unresolved. The process enforces strict checks and blocks deletion until all cleanup gates are cleared or formally accepted.