cleanup-temp

Remove temporary files and failed job artifacts from the ai-image-system project folder.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/redbananastudios/ai-library --skill cleanup-temp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cleanup-temp
Source: https://github.com/redbananastudios/ai-library/tree/main/generated/claude/skills/cleanup-temp
Command: npx skills add https://github.com/redbananastudios/ai-library --skill cleanup-temp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

You need to remove temporary and failed artifacts to reclaim disk space without accidentally deleting approved outputs, learning data, or registered LoRAs.

Core Features & Use Cases

  • Safe cleanup with guardrails: Identifies what is safe to delete and explicitly lists what must never be removed.
  • Staged inspection before deletion: Scans temp, failed jobs, stale active jobs, and old rejected outputs, then summarizes totals for the user.
  • Confirmation-first workflow: Requires explicit user confirmation before deleting anything, and reports freed space afterward.
  • Use case: After an image generation run produces many failed attempts, you can safely clean temp and stale artifacts while keeping approved results intact.

Quick Start

Ask the AI to run cleanup-temp for the ai-image-system project folder and only delete items after you confirm the proposed summary.

Frequently Asked Questions about cleanup-temp

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

FAQPage Schema
How do I safely clean up temporary files and failed image generation artifacts to free up disk space?

Safely cleaning temporary files requires a confirmation-first workflow that scans temp folders and failed jobs, summarizes the deletable items, and requires explicit user approval before removing anything to prevent accidental data loss.

What is the best way to delete stale job artifacts without removing approved outputs and registered LoRAs?

The best way to delete stale job artifacts without losing approved outputs is using a cleanup process with strict guardrails that explicitly identifies and preserves registered LoRAs, workflow templates, and job metadata while targeting only temporary files.

How does a confirmation-based cleanup summary protect learning data during disk space maintenance?

A confirmation-based cleanup summary protects learning data by staging an inspection of old rejected outputs and failed jobs, presenting totals to the user, and enforcing a strict deletion rule that preserves approved results until explicit confirmation is given.

Can I reclaim disk space from failed image generation runs without manually checking every file?

You can reclaim disk space from failed runs without manual file checks by running an automated scan that categorizes temporary files, stale active jobs, and failed artifacts, then generates a summary of total space to be freed pending your confirmation.

When should I not use an automated temp file cleanup for my image generation project?

You should not use automated temp file cleanup without reviewing the staged inspection summary, because bypassing the confirmation step risks deleting unregistered workflow templates, active jobs, or approved outputs that may still be needed.

Does the cleanup-temp process preserve workflow templates and job metadata while clearing disk space?

The cleanup process preserves workflow templates and job metadata by applying strict deletion guardrails, ensuring that only temporary files and failed job artifacts are marked for removal during the disk space reclamation summary.