Workspace Cleanup

Remove reinstallable dependencies and cache directories from workspaces using Python scripts.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/kartikfed/OpenClawLimen --skill workspace-cleanup-kartikfed
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Workspace Cleanup
Source: https://github.com/kartikfed/OpenClawLimen/tree/main/skills/workspace-cleanup
Command: npx skills add https://github.com/kartikfed/OpenClawLimen --skill workspace-cleanup-kartikfed

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps manage disk space by automatically identifying and removing unnecessary files and directories within your workspace, such as temporary files and reinstallable dependencies.

Core Features & Use Cases

  • Selective Deletion: Safely removes only known temporary files, cache directories, and reinstallable dependencies like node_modules and venv.
  • Protected Directories: Never touches critical files or directories like memory logs, skills, scripts, or documentation.
  • Use Case: After a large development cycle, your workspace might accumulate gigabytes of node_modules folders. This Skill can quickly identify and remove them, freeing up significant disk space without risking important project files.

Quick Start

Run the workspace cleanup skill to see what can be removed.

Frequently Asked Questions about Workspace Cleanup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean up node_modules and venv directories to free up disk space?

To free up disk space, this cleanup tool selectively targets and removes reinstallable dependencies like node_modules and venv, quickly identifying unnecessary files without risking important project data.

What is the safest way to remove cache directories from my Python workspace?

The safest way to remove cache directories is by using a dry-run mode to preview deletions. This tool safely removes caches like .cache/knowledge-graph/ while strictly avoiding protected files.

Does workspace cleanup delete memory logs and documentation files?

No, workspace cleanup does not delete memory logs or documentation. It strictly avoids protected directories and file types, ensuring critical project files remain completely untouched.

Can I preview files before deleting dependencies in my workspace?

Yes, you can preview files before deletion using the dry-run mode. The tool also offers interactive deletion with confirmation tokens, ensuring you approve all dependency removals.

Why does my disk space run out after a large development cycle?

Disk space runs out because large development cycles accumulate gigabytes of temporary files and reinstallable dependencies. This tool identifies and removes these specific patterns to reclaim storage.