leszekgruchala/buddy / skills/archive-worklogs
archive-worklogs
VerifiedArchive, clean up, or organize dated `.ai/worklog` development worklogs by year using an age or date cutoff. Keep the current request in this skill; route new requests by their own scope.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.3 KB |
| agents/openai.yaml | config | 208 B |
| scripts/archive_worklogs.py | script | 3.6 KB |
SKILL.md
View on GitHub---
name: archive-worklogs
description: Archive, clean up, or organize dated `.ai/worklog` development worklogs by year using an age or date cutoff. Keep the current request in this skill; route new requests by their own scope.
---
# Archive Worklogs
Keep the current request in this skill. Do not activate another Buddy skill without user or `develop` direction. Workers return to their caller. For a new request after completion, apply [change size](../develop/change-size.md) and route by its own scope. Move whole worklogs without deleting contents.
Resolve `.ai/` paths from the user's workspace root (its git root), never from the skill or plugin directory.
## Model selection
Apply [model selection](../develop/model-selection.md); recommend `balanced`.
## Procedure
1. Run from the repository root with `python3 <skill-dir>/scripts/archive_worklogs.py --older-than <days>`.
2. Review the dry-run with the user unless archival was already explicit.
3. Add `--apply` to move the listed worklogs into `.ai/worklog/archive/<yyyy>/`.
4. For an exact inclusive cutoff, replace `--older-than` with `--through YYYY-MM-DD`.
5. Refuse collisions; skip and report malformed names and symlinks, never following them.
Age uses only the `yyyyMMdd` prefix. `--older-than 7` means strictly before the local date seven days ago. Dry-run is always default.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |