← スキル一覧に戻る

clear-memory
by ZipperBagCoffee
memory-keeper-plugin
⭐ 0🍴 0📅 2026年1月19日
SKILL.md
name: clear-memory description: Clean up old memory files
Script Path Resolution
IMPORTANT: The scripts/ folder is in the plugin directory, NOT the current project.
From "Base directory for this skill:" above, derive the scripts path:
- Remove
/skills/clear-memoryfrom the end - Add
/scripts/to get the scripts directory
Example:
- Base:
~/.claude/plugins/cache/memory-keeper-marketplace/memory-keeper/13.8.3/skills/clear-memory - Scripts:
~/.claude/plugins/cache/memory-keeper-marketplace/memory-keeper/13.8.3/scripts/
Use this full path when running node commands below.
Clear Memory
Clean up old session files.
Usage
/memory-keeper:clear-memory [all|old]
Actions
Archive old files (recommended):
Use full path from above:
node "{SCRIPTS_PATH}/counter.js" compress
This archives session files older than 30 days into monthly archives:
sessions/2025-10-15_0300.md -> sessions/archive/2025-10.md
Clear everything (manual):
WARNING: Destructive operation
# Remove all session files
rm -rf .claude/memory/sessions/*.md
rm -rf .claude/memory/sessions/*.jsonl
# Optionally clear memory.md
rm .claude/memory/memory.md
Recommendations
- Regular maintenance: Run
compressmonthly - Before major changes: Create backup first
Notes
compressis non-destructive (archives, doesn't delete)- Archived files can be manually reviewed in
sessions/archive/
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です