workspace-cleaner

Delete temporary files and old logs from a workspace directory.

26|5|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/kunwl123456/zeroclaw-skills-collection --skill workspace-cleaner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workspace-cleaner
Source: https://github.com/kunwl123456/zeroclaw-skills-collection/tree/main/workspace-cleaner
Command: npx skills add https://github.com/kunwl123456/zeroclaw-skills-collection --skill workspace-cleaner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill helps maintain a clean and organized workspace by automatically removing old temporary files and logs, preventing disk space from being consumed by unnecessary data.

Core Features & Use Cases

  • Automated Cleanup: Identifies and removes files with .tmp, .bak, and .log extensions.
  • Age-Based Deletion: Targets files older than 7 days within the temp/ directory.
  • Directory Hygiene: Cleans up empty directories within the temp/ directory.
  • Use Case: Schedule this skill to run weekly to automatically clear out old build artifacts and log files, ensuring your development environment remains efficient.

Quick Start

Run the workspace cleaner to perform a dry run of the cleanup process.

Frequently Asked Questions about workspace-cleaner

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

FAQPage Schema
How do I automatically clean up temporary files and old logs in my workspace?

To automatically clean up temporary files and old logs, this skill targets files with specific extensions like .tmp, .bak, and .log within your workspace directory and removes them based on age criteria. It operates locally using Node.js to maintain system hygiene.

How do I find and delete temporary files older than 7 days?

You can delete temporary files older than 7 days by running this skill, which specifically targets files exceeding that age criteria within the temp/ directory. It identifies the aged files and removes them to free up disk space.

Can I use Node.js to remove empty directories in my workspace?

Yes, you can use this Node.js-based skill to remove empty directories and maintain workspace hygiene. It specifically scans the temp/ directory and cleans up any empty folders it finds during the automated maintenance process.

What is the best way to schedule automated workspace maintenance for build artifacts?

The best way to schedule automated workspace maintenance is to run this skill weekly to clear out old build artifacts and log files. This prevents unnecessary data from consuming disk space and keeps your development environment efficient.

Does this workspace cleaner permanently delete files immediately?

No, you can run a dry run of the cleanup process to preview the maintenance actions before permanently deleting files. This allows you to verify which temporary files and logs will be targeted for removal safely.

What file extensions are targeted during an automated workspace cleanup?

During an automated workspace cleanup, the skill specifically targets files with .tmp, .bak, and .log extensions. It identifies these files within your specified workspace directory and removes them to free up disk space.