Install
openclaw skills install file-management-by-brianOrganize and maintain AI agent workspaces with structured directories, clear naming, regular audits, dead file detection, and safe cleanup practices.
openclaw skills install file-management-by-brianA battle-tested approach to keeping your AI agent workspace organized and maintainable.
This skill documents the file management system developed through real-world use of OpenClaw. It covers workspace structure, naming conventions, dead file detection, and cleanup practices.
workspace/
├── memory/ # Daily session logs and working context
├── skills/ # Installed skill directories
├── project-1/ # Project-specific directories
├── project-2/
├── ACTIVE.md # Currently running projects & priorities
├── DREAMS.md # Background processing notes
└── ARCHIVED/ # Completed or abandoned projects
.sh for bash, .py for Python, .js for JavaScript.log.json, .yaml, or .mdmemory/YYYY-MM-DD.md formatRun workspace audits monthly or after major changes. Use the audit script to identify:
# Find files not referenced by any cron or script
grep -r "filename" ~/path/to/workspace/ --include="*.sh" --include="*.py" --include="*.js"
# Find recently modified files
find ~/path/to/workspace -type f -mtime -7
# Check disk usage by directory
du -sh ~/path/to/workspace/*/
trash instead of rmSee FILE-MANAGEMENT.md for the complete reference implementation, including: