diff options
| author | Agando <roduccomm@gmail.com> | 2026-11-09 15:36:23 +0100 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-11-09 15:36:23 +0100 |
| commit | a065a4c30be748b0c8fc6dd0b5ee1dc4d3de4b1c (patch) | |
| tree | 8a84adabfccee9994937cd71888170ab205b9361 /skills/file-archive-manager.json | |
| parent | a46ebee30cfbbac86abb45068411bc28e1c65503 (diff) | |
The daily collector and the feedback pipeline had left 57 modified files uncommitted (skills,
modules-index, CHANGELOG, feedback decisions, debug counters). The public mirror publishes git
HEAD, so without this the published repo stayed behind the tree - and it blocked the publisher
outright once uncommitted subtrees started failing loudly.
Diffstat (limited to 'skills/file-archive-manager.json')
| -rw-r--r-- | skills/file-archive-manager.json | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/skills/file-archive-manager.json b/skills/file-archive-manager.json new file mode 100644 index 0000000..7d10710 --- /dev/null +++ b/skills/file-archive-manager.json @@ -0,0 +1,15 @@ +{ + "name": "file-archive-manager", + "description": "Organize, compress, and prune files in VFS. Manage storage bloat and identify unused files.", + "tags": [ + "files", + "storage", + "vfs", + "cleanup", + "archive" + ], + "category": "system", + "created": "2026-10-16T16:28:11.499Z", + "updated": "2026-10-16T16:30:38.270Z", + "content": "---\nname: file-archive-manager\ndescription: Organize, compress, and prune files in VFS. Manage storage bloat and identify unused files.\ntags: [files, storage, vfs, cleanup, archive]\ncategory: system\n---\n## Steps\n1. **Scan for large files:**\n - Run: du -sh /* 2>/dev/null | sort -rh | head -20\n - Identify files >10MB that could be archived\n\n2. **Find unused files (not accessed in 30+ days):**\n - Check file metadata with stat command\n - List by date: ls -lt (newest first), ls -ltr (oldest first)\n\n3. **Archive files:**\n - Create tar.gz: tar -czvf archive.tar.gz /path/to/files\n - Store archives in /archives/ directory\n - Delete originals after successful archive\n\n4. **Prune stale content:**\n - Remove old checkpoints: checkpoint-list → checkpoint-del <name>\n - Clear session logs >7 days: session_recent(30) → identify old entries\n - Delete temp files in /tmp/\n\n5. **Storage report:**\n - df -h (disk usage)\n - du -sh /* (per-directory breakdown)\n - Report findings to user before major cleanup\n\n## When to use:\n- User mentions \"storage full\" or \"too many files\"\n- Before major system updates\n- Monthly maintenance routine\n" +}
\ No newline at end of file |