Archive and clean up old logs based on age threshold
Archives and cleans up old logs based on age threshold with dry-run support.
/plugin marketplace add fractary/claude-plugins/plugin install fractary-logs@fractary[--older-than <days>] [--dry-run]claude-haiku-4-5Archive and clean up old logs (time-based safety net).
/fractary-logs:cleanup [--older-than <days>] [--dry-run]
--older-than <days>: Age threshold in days (default: 30)--dry-run: Show what would be done without doing itUse the @agent-fractary-logs:log-manager agent to clean up old logs with the following request:
{
"operation": "cleanup",
"parameters": {
"age_days": 30
},
"options": {
"dry_run": false
}
}
Time-based cleanup:
archive/logs/{year}/{month}/orphaned/