# folder tidy

> Tidy messy folders with content-aware renaming, duplicate isolation, and a safety-first undo system.

folder tidy is a paid AI agent skill on Agensi by Giuseppe Bellamacina, in Productivity. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Giuseppe Bellamacina](https://www.agensi.io/creators/giuseppe-bellamacina)
- Category: [Productivity](https://www.agensi.io/skills/productivity)
- Version: 1.0
- Last updated: 2026-10-09
- Security: scan passed (2026-10-09); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/folder-tidy
- Tags: productivity, python, automation, file-management, utilities

## About this skill

Managing folders full of `IMG_9942.jpg` and `scan01.pdf` is a manual chore that most developers ignore until their drive is full. This skill provides a structured, script-based workflow to categorize, rename, and deduplicate messy directories without the risk of data loss.

### What it does
- **Smart categorization** organizes files by type and date into a clean folder hierarchy.
- **Content-aware renaming** reads PDFs and documents to propose descriptive names like `2024-05-Electricity-Bill.pdf`.
- **Deduplication** identifies identical file contents and moves them to a separate staging area to save space.
- **Safe previewing** generates an HTML report showing exactly what will happen before any file is touched.
- **Atomic undo** records every move in a journal, allowing a full rollback with a single command.

### How it works
1. **Scan** the target directory to index file types, generic names, and potential duplicates.
2. **Configure** the layout rules for folder structures and date prefixes via a JSON configuration.
3. **Analyze** document contents to generate human-readable names for generic files.
4. **Apply** the plan after user approval, maintaining a local journal for safety.

### Frameworks & tools
This skill uses a standalone Python 3.8+ script utilizing only the standard library for maximum compatibility. It requires local file system access and does not perform any network requests.

### Why this beats prompting it yourself
Writing a custom script to handle file moves safely is time-consuming and error-prone. This skill includes a pre-built journaled undo system and logic to avoid breaking sensitive directories like `.git` or system folders that a basic prompt might overlook.

### Use cases
- **Downloads cleanup** to sort installers, archives, and PDFs into dated folders.
- **Photo ingestion** to organize mobile backups into `{year}/{month}` structures.
- **Document archiving** to rename scanned receipts and bills based on their actual text.
- **Disk space recovery** by isolating large duplicate files for manual review.

### Known limitations
The script refuses to run on root drives, home directories, or system folders. Renaming requires the agent to have permission to read file contents.

## Requires

- Python

## 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 folder tidy 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 happens if I don't like how the files were renamed or organized?

The skill uses a journaled 'Atomic Undo' system that records every operation; if you aren't happy with the organization, you can revert the entire folder to its original state with a single command.

### Can I see the changes before the skill actually moves my files?

Yes, the tool generates a safe HTML preview report that outlines every proposed move, rename, and deletion, requiring your explicit approval before any changes are executed.

### Which AI agents or environments are compatible with this folder tidy skill?

The skill is built as a standalone Python 3.8+ script designed for local execution, making it compatible with any AI agent that has file system access and a Python environment.

### Is there a risk of the skill accidentally deleting important system files?

To prevent accidental data loss, the skill includes hardcoded safeguards that prevent it from running on root directories, system folders, or hidden directories like .git.

### How does the skill determine the new names for my generic PDF documents?

The skill uses 'content-aware' analysis to read the text inside PDFs and documents, allowing it to replace generic filenames like 'scan001' with descriptive titles based on the actual content.

### What exactly is included in the download once I purchase this skill?

You receive the full Python script, the JSON configuration template for custom rules, and a comprehensive guide on how to integrate the skill into your agent's workflow.

---

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.
