# desktop organizer

> Organize messy directories into categorized folders with duplicate detection and a safe undo manifest.

desktop organizer is a free AI agent skill on Agensi by Iris, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Iris](https://www.agensi.io/creators/iris)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-11-24
- Security: scan passed (2026-11-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/desktop-organizer
- Tags: automation, python, filesystem, productivity, cli-tool

## About this skill

Messy directories and bloated Downloads folders slow down local development and search. This skill provides a safe, preview-first workflow to categorize files, detect duplicates, and isolate large assets without the risk of data loss.

### What it does
- **Smart classification**: Sorts files into logical category folders like code, data, images, and archives.
- **Preview-first logic**: Generates a complete mapping of file movements for approval before any disk write occurs.
- **MD5 duplicate detection**: Identifies identical files across directories to help reclaim disk space.
- **One-command undo**: Records every move in a session manifest, allowing for batch restoration of the original state.
- **Safety-locked operations**: Skips hidden files and handles name conflicts with numeric suffixes to prevent overwriting.

### How it works
1. **Target Selection**: Define the directory and specify if the agent should recurse into subfolders.
2. **Health Check**: Run a scan to view file type distributions, duplicates, and large file warnings.
3. **Plan Approval**: Review the dry-run table showing exactly where every file will be moved.
4. **Execution**: Commit the moves and receive a manifest ID for future undo capabilities if needed.

### Frameworks & tools
The system uses a Python-based utility script compatible with any standard filesystem (macOS, Windows, Linux). It utilizes MD5 hashing for file integrity and manifest-based session tracking.

### Why this beats prompting it yourself
Prompting an LLM to "clean my desktop" often results in buggy shell scripts that might delete data or fail on filenames with spaces. This skill uses a specialized script with built-in safety rules, conflict resolution, and a dedicated undo engine that raw prompts lack.

### Use cases
- Clean up a cluttered `~/Downloads` folder by grouping files by month and type.
- Identify duplicate assets and large binaries across a local project directory.
- Prepare a messy `Desktop` for a presentation by archiving everything into categories.
- Standardize file organization across multiple local folders using custom thresholds.

### Known limitations
Does not support file deletion or cloud storage syncing. Files locked by other processes are skipped. Requires a local Python environment to execute the underlying script.

## 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 desktop organizer skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does the duplicate detection work if files have different names?

The skill uses MD5 hashing to compare the actual content of files, not just the names. This ensures that even if two files have different names, they will be identified as duplicates if their data is identical.

### Is there a way to revert the changes if I don't like how the files were organized?

Every organization session generates a manifest file that tracks the 'before' and 'after' location of every file. If you aren't happy with the results, you can use the undo command to instantly restore all files to their original directories.

### Which AI agents and operating systems are compatible with this skill?

This skill is designed to work with any AI agent that has local filesystem access and a Python environment. It is compatible across macOS, Windows, and Linux systems.

### Will this skill accidentally move hidden system files or overwrite existing documents?

No, the skill includes 'Safety-locked operations' that skip hidden system files and resolve naming conflicts with suffixes. It also requires your explicit approval of a preview plan before any files are actually moved.

### What exactly is included in the purchase of the Desktop Organizer skill?

You receive the specialized Python-based utility script, the integration manifest for your AI agent, and a detailed user guide for executing scans, approvals, and undo operations.

---

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.
