← スキル一覧に戻る

cleanup
by joshuacook
Filesystem-first knowledge management for Claude Code. Context Lake pattern with MCP integration.
⭐ 1🍴 1📅 2026年1月23日
SKILL.md
name: cleanup description: Archive processed inbox items. Activate when user says "cleanup", "archive inbox". Moves session summaries to archive, keeps inbox clean for new items. allowed-tools: Bash, Read
Cleanup (Inbox Archive)
Archive processed inbox items to keep inbox clean for new work.
When to Activate
- User says: "cleanup", "archive inbox", "clean inbox"
- After learn skill completes
- When inbox has accumulated processed items
Process
1. Check Inbox Contents
ls -la inbox/
ls -la inbox/session-summaries/ 2>/dev/null
2. Archive Session Summaries
Move processed summaries to monthly archive:
# Create archive directory
mkdir -p inbox/session-summaries/archive/$(date +%Y-%m)
# Move files older than 1 hour (not currently being written)
find inbox/session-summaries/ -maxdepth 1 -name "*.md" -mmin +60 -exec mv {} inbox/session-summaries/archive/$(date +%Y-%m)/ \;
3. Clean Other Processed Items
# Remove ephemeral files after processing
rm -f inbox/role-review-needed.txt 2>/dev/null
4. Verify Clean State
ls inbox/
5. Report
Inbox cleanup complete.
Archived:
- [N] session summaries → inbox/session-summaries/archive/YYYY-MM/
Inbox ready for new items.
Archive Structure
inbox/
├── session-summaries/
│ ├── archive/
│ │ ├── 2025-11/
│ │ └── 2025-12/
│ └── (empty - ready for new)
└── (clean)
Safety
- Only archive files older than 1 hour
- Never delete session summaries (archive instead)
- Idempotent - safe to run multiple times
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です