Skip to content
Back to skills

Archive Worklogs

ASecurity

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.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 26, 2026
ai-agentspythongogit

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 21, 2026

npx -y skills add leszekgruchala/buddy --skill archive-worklogs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Archive Worklogs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Archive Worklogs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leszekgruchala-archive-worklogs/badge)](https://www.skillsdirectory.com/skills/leszekgruchala-archive-worklogs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Files in this skill

  • SKILL.md1.2 KB
  • agents/openai.yaml208 B
  • scripts/archive_worklogs.py3.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.