# Safe Local Folder Organizer & Cleanup

> Safely scan, deduplicate, organize, and clean cluttered local folders with dry-run previews, zero regular-file deletion, and one-click undo.

Safe Local Folder Organizer & Cleanup is a paid AI agent skill on Agensi by kkbeingbusy, in Productivity. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $1 (one-time purchase)
- Creator: [kkbeingbusy](https://www.agensi.io/creators/kkbeingbusy)
- Category: [Productivity](https://www.agensi.io/skills/productivity)
- Version: 1.0
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/safe-local-folder-organizer-cleanup
- Tags: productivity, workflow-automation

## About this skill

Organize cluttered local directories (such as Downloads or Desktop) with zero third-party dependencies using Python 3.8+ standard library only.

### Key Capabilities
- **Four Organization Modes**: `by-type`, `by-date`, `by-type-date`, and `by-extension`, with English (`--lang en`) or Chinese (`--lang zh`) category folders and custom JSON rules.
- **Dry-Run Previews**: Always scans and generates a full move/cleanup plan before any file is touched.
- **3-Stage SHA-256 Duplicate Quarantine**: Detects exact duplicates without deleting originals, isolating redundant copies into `_Duplicates` (`_重复文件`).
- **Collision-Safe & Protected**: Auto-renames filename collisions (`notes (1).txt`) instead of overwriting, and blocks filesystem roots, user home root, and OS system directories.
- **One-Click Undo**: Logs every move and created folder under `<target>/.organizer-logs/` for lossless rollback via `undo`.
- **Optional Consent-Gated Cleanup**: Strictly whitelisted cleanup for `.tmp`/`.temp` files, `temp`/`tmp` folders, truly empty folders (`os.rmdir`), and matching stale Windows `HKCU` registry entries with automatic `.reg` backup and `clean-undo`.

## Requires

- Python 3.8+

Works on Windows, macOS, and Linux. Stale HKCU registry cleanup runs on Windows only and requires no administrator privileges.

## Known limitations

Deleted temporary files cannot be un-deleted by clean-undo (empty folders and backed-up registry entries are restored). Refuses to run on filesystem roots, user home root, or OS system directories.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Safe Local Folder Organizer & Cleanup skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Safe Local Folder Organizer & Cleanup do?

Safely scan, deduplicate, organize, and clean cluttered local folders with dry-run previews, zero regular-file deletion, and one-click undo.

### Which AI agents support Safe Local Folder Organizer & Cleanup?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Safe Local Folder Organizer & Cleanup?

Connect your AI agent to Agensi through MCP, then ask it to use Safe Local Folder Organizer & Cleanup on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
