什麼是 memory-defrag?
對代理記憶體檔案進行碎片整理和重組:拆分臃腫的檔案、合併重複項、刪除陳舊資訊並重組記憶體層次結構。當記憶體檔案變得笨重、包含冗餘或需要重組時使用。定期(每週)或按需運行。 來源:basicmachines-co/basic-memory-skills。
對代理記憶體檔案進行碎片整理和重組:拆分臃腫的檔案、合併重複項、刪除陳舊資訊並重組記憶體層次結構。當記憶體檔案變得笨重、包含冗餘或需要重組時使用。定期(每週)或按需運行。
透過命令列快速安裝 memory-defrag AI 技能到你的開發環境
來源:basicmachines-co/basic-memory-skills。
Reorganize memory files for clarity, efficiency, and relevance. Like filesystem defragmentation but for knowledge.
For each file, note: line count, last modified, topic coverage, staleness.
| Bloated file | >300 lines, covers many topics | Split into focused files | | Duplicate info | Same fact in multiple places | Consolidate to one location | | Stale entries | References to completed work, old dates, resolved issues | Remove or archive | | Orphan files | Files in memory/ never referenced or updated | Review, merge, or remove |
對代理記憶體檔案進行碎片整理和重組:拆分臃腫的檔案、合併重複項、刪除陳舊資訊並重組記憶體層次結構。當記憶體檔案變得笨重、包含冗餘或需要重組時使用。定期(每週)或按需運行。 來源:basicmachines-co/basic-memory-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/basicmachines-co/basic-memory-skills --skill memory-defragBrowse more skills from basicmachines-co/basic-memory-skills
對代理記憶體檔案進行碎片整理和重組:拆分臃腫的檔案、合併重複項、刪除陳舊資訊並重組記憶體層次結構。當記憶體檔案變得笨重、包含冗餘或需要重組時使用。定期(每週)或按需運行。 來源:basicmachines-co/basic-memory-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/basicmachines-co/basic-memory-skills --skill memory-defrag 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/basicmachines-co/basic-memory-skills