artifact-archive-cleanup
Use when stale or completed colony artifacts need safe archival, cleanup, or retrieval without losing evidence
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when stale or completed colony artifacts need safe archival, cleanup, or retrieval without losing evidence
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when Codex is asked to colonize, plan, build, continue, swarm, or seal an Aether colony and must mirror wrapper orchestration safely
Use when Codex is asked to initialize or set up an Aether colony and should refine intent before running init
Use when Codex is asked to run Aether Oracle or discuss flows and should refine scope before research or clarification
Use when acceptance criteria need unit, integration, or end-to-end tests generated from implementation context
Use when delivered functionality needs acceptance-criteria verification before a phase advances
Use when a phase involves LLMs, AI agents, RAG, ML inference, or prompt/tool integration design
| source | shipped |
| name | artifact-archive-cleanup |
| description | Use when stale or completed colony artifacts need safe archival, cleanup, or retrieval without losing evidence |
| type | colony |
| domains | ["maintenance","archival","workspace"] |
| agent_roles | ["medic","keeper","chronicler"] |
| workflow_triggers | ["medic","seal"] |
| task_keywords | ["cleanup","archive","stale","artifact","retrieve"] |
| priority | normal |
| version | 1.0 |
Colonies accumulate artifacts as they work. Completed phase directories, old planning files, and stale data clutter the active workspace. This skill archives completed work, keeps the workspace clean, and allows retrieval when archived context is needed again.
1. Read ROADMAP.md to identify completed phases
2. Scan .aether/phases/ for directories matching completed phases
3. Check for stale data in .aether/data/ (older than decay threshold)
4. Identify orphaned artifacts (files not referenced by any active phase)
5. Calculate space savings estimate
Before any archival, always offer a preview:
CLEANUP PREVIEW
Phase directories to archive:
- phase-1-requirements/ (completed 5 days ago, 12 files)
- phase-2-design/ (completed 3 days ago, 8 files)
- phase-3-implementation/ (completed 1 day ago, 23 files)
Stale data to archive:
- .aether/data/colonization/ (last updated 7 days ago)
Total: 43 files, ~{size} -> will be archived to .aether/archive/milestone-{N}/
[Run with --confirm to execute]
Support granular control:
--phase {N} Archive only phase N
--milestone {N} Archive all completed phases in milestone N
--before {date} Archive everything completed before date
--except {list} Archive everything except listed phases
--data-only Only archive stale data, keep phase directories
1. Create archive directory: .aether/archive/milestone-{N}/
2. Generate archive manifest: list of files, sizes, timestamps, checksums
3. Move phase directories to archive location
4. Create lightweight pointers in original locations:
- phase-{N}/.archived -> points to archive location
- Contains summary: phase name, status, artifact count, archive path
5. Update ROADMAP.md with archive references
6. Emit cleanup pheromone (strength 0.3, fast decay)
colony-cleanup retrieve --phase {N}
colony-cleanup retrieve --milestone {N}
colony-cleanup retrieve --search "{keyword}"
Retrieval process:
1. Check archive manifest for matching items
2. Copy archived files back to active workspace
3. Do NOT remove from archive (archive is append-only)
4. Log retrieval in archive manifest
CLEANUP -- {action}
Archived: {count} files ({size})
Location: .aether/archive/milestone-{N}/
Pointers: {count} archive pointers created
Space recovered: {size} in active workspace
Manifest: .aether/archive/milestone-{N}/MANIFEST.json
Preview and execute:
"Preview: 3 completed phase directories (43 files) ready for archival. Run
colony-cleanup --confirm --milestone 1to archive." "Archived 43 files to .aether/archive/milestone-1/. Active workspace reduced by 180kb. 3 pointer files created."
Retrieve for reference:
"Retrieving phase-2 artifacts from archive. 8 files copied to .aether/phases/phase-2-design/. Archive preserved."