The prompt

Automated Folder Cleanup System guides the model through a defined task while preserving the source prompt's useful structure and constraints. It specifically covers Task, Context, 1. System Architecture Overview. Use it when exploring data and explaining what the results support and you want a response that is easier to evaluate and act on.

text prompt
## Role You are a digital organization systems architect specializing in automated file management. You design cleanup workflows that balance efficiency with safety. ## Task Create a comprehensive automated folder cleanup system with configurable retention policies, protective safeguards, and archival workflows. The system must identify obsolete files, enforce retention rules, preserve critical documents, and provide full visibility into all actions taken. ## Context Digital storage accumulates files exponentially—most users retain content they'll never access again. Manual cleanup fails due to time constraints and deletion anxiety. The solution requires automation that mirrors intentional decluttering: every action reflects conscious priority choices, files are evaluated by last-modified date, and multiple safety layers prevent catastrophic loss. Critical documents need special handling regardless of age, and nothing is permanently deleted without a grace period. {{cleanupConfiguration}} should specify: target folders, retention period in days, critical file patterns to exclude (contracts, tax documents, licenses, etc.), archival destination path, and automation schedule. ## Output Deliver a structured implementation guide containing: ### 1. System Architecture Overview Explain the complete workflow: file discovery → retention evaluation → critical file detection → archive/delete decision → safety staging → final disposition → reporting. ### 2. Retention Policy Framework - How to set different retention periods for file types and folder hierarchies - Logic for evaluating last-modified dates vs. creation dates - Rules for distinguishing active projects from archive candidates ### 3. Safety Mechanisms - Pre-cleanup notifications with intervention windows - 30-day staging area before permanent deletion - Exception reporting for critical file patterns - Dependency detection to avoid breaking linked files ### 4. Archival Strategy - Process for moving non-active files to the archival location specified in {{cleanupConfiguration}} - Preservation of folder hierarchies to maintain context - Metadata tagging for archived content ### 5. Reporting System - Summary reports tracking moved/deleted files with justifications - Exception logs for critical pattern matches - Storage reclamation metrics ### 6. Implementation Steps Provide numbered, actionable setup instructions with: - Code snippets or automation rules in `monospace format` - Configuration examples based on {{cleanupConfiguration}} - Scheduling setup for low-activity windows ### 7. Customization Options Explain adaptation points: adding file type rules, adjusting retention tiers, expanding critical patterns, modifying notification timing. ### 8. Example Scenarios Show the system handling: - A folder with mixed current and old files - Detection of a critical document exceeding retention period - A pre-cleanup notification triggering user intervention ### 9. Troubleshooting Address common issues: false positive deletions, archive migration failures, scheduling conflicts, storage quota problems. **Format all safety-critical information in warning boxes. Keep instructions clear and testable.**

Tune the prompt, not the plumbing.

Every control comes from this prompt’s content schema. Changes stay in your browser and update instantly.

Customized prompt3232 characters
## Role You are a digital organization systems architect specializing in automated file management. You design cleanup workflows that balance efficiency with safety. ## Task Create a comprehensive automated folder cleanup system with configurable retention policies, protective safeguards, and archival workflows. The system must identify obsolete files, enforce retention rules, preserve critical documents, and provide full visibility into all actions taken. ## Context Digital storage accumulates files exponentially—most users retain content they'll never access again. Manual cleanup fails due to time constraints and deletion anxiety. The solution requires automation that mirrors intentional decluttering: every action reflects conscious priority choices, files are evaluated by last-modified date, and multiple safety layers prevent catastrophic loss. Critical documents need special handling regardless of age, and nothing is permanently deleted without a grace period. a specific cleanup configuration should specify: target folders, retention period in days, critical file patterns to exclude (contracts, tax documents, licenses, etc.), archival destination path, and automation schedule. ## Output Deliver a structured implementation guide containing: ### 1. System Architecture Overview Explain the complete workflow: file discovery → retention evaluation → critical file detection → archive/delete decision → safety staging → final disposition → reporting. ### 2. Retention Policy Framework - How to set different retention periods for file types and folder hierarchies - Logic for evaluating last-modified dates vs. creation dates - Rules for distinguishing active projects from archive candidates ### 3. Safety Mechanisms - Pre-cleanup notifications with intervention windows - 30-day staging area before permanent deletion - Exception reporting for critical file patterns - Dependency detection to avoid breaking linked files ### 4. Archival Strategy - Process for moving non-active files to the archival location specified in a specific cleanup configuration - Preservation of folder hierarchies to maintain context - Metadata tagging for archived content ### 5. Reporting System - Summary reports tracking moved/deleted files with justifications - Exception logs for critical pattern matches - Storage reclamation metrics ### 6. Implementation Steps Provide numbered, actionable setup instructions with: - Code snippets or automation rules in `monospace format` - Configuration examples based on a specific cleanup configuration - Scheduling setup for low-activity windows ### 7. Customization Options Explain adaptation points: adding file type rules, adjusting retention tiers, expanding critical patterns, modifying notification timing. ### 8. Example Scenarios Show the system handling: - A folder with mixed current and old files - Detection of a critical document exceeding retention period - A pre-cleanup notification triggering user intervention ### 9. Troubleshooting Address common issues: false positive deletions, archive migration failures, scheduling conflicts, storage quota problems. **Format all safety-critical information in warning boxes. Keep instructions clear and testable.**

Useful structure, room to move.

Automated Folder Cleanup System guides the model through a defined task while preserving the source prompt's useful structure and constraints. It specifically covers Task, Context, 1. System Architecture Overview. Use it when exploring data and explaining what the results support and you want a response that is easier to evaluate and act on.

The prompt establishes the job first, then supplies concrete decisions a model can act on. The variables preserve that structure while letting you change the subject, context, or output.