AIWG Workspace Cleanup

•
146
•

Automates the organization of temporary AI agent artifacts by promoting finalized documents, archiving history, and deleting obsolete files.

This skill provides an intelligent lifecycle management system for the .aiwg/working/ directory, a core component of the AIWG cognitive architecture. It analyzes drafts, review notes, and temporary scratch files generated during agentic workflows, applying heuristics to determine whether content should be moved to permanent documentation, preserved in an archive, or securely deleted. By categorizing files based on age, status markers, and naming conventions, it reduces workspace clutter and ensures that only high-value, finalized artifacts remain in active documentation paths.

Key Features

01Heuristic-based cleanup of temporary scratch and duplicate files
02Automated promotion of approved drafts to official documentation structures
03Interactive and dry-run modes for safe, human-verified pruning
04Version-aware archiving for historical reference and audit trails
05Intelligent file classification using naming patterns and age thresholds
06146 GitHub stars

Use Cases

01Cleaning up multi-agent scratch notes after a complex feature implementation
02Finalizing a design phase by moving approved ADRs and SAD drafts to permanent storage
03Maintaining a lean project repository by archiving superseded versions of requirements