Organizes personal Desktop/Downloads files into numbered ~/Files categories with deduplication and reversible save paths. Uses a Python script to move, verify, and record files. Never deletes; not for code repos.
Ships in adonis-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Keep a person's own files in one Root, grouped into numbered Categories, with every new file arriving through an Inbox. Read references/glossary.md first and use its terms in plans and reports, so the user sees the same words every run.
TIDY=<this skill's directory>/scripts/file_tidy.py is the engine (Python 3.9+, standard library only). It never decides where a file belongs: you decide, the user reviews, and the script moves, verifies and records. Use absolute paths for the script and for every plan entry, because the script may run from any working directory.
On Windows or WSL, read references/windows.md before the first step; it covers how to run the engine, path forms, drives and Windows-only tools.
Each rule protects something that is hard to get back.
trash action, or to the Quarantine with the quarantine action where the trash is unsafe (Windows: see windows.md > Duplicates and quarantine). Never replace duplicates with hard links: backup tools copy them back into separate files, and an edit through one name changes all of them. Only the owner empties the trash or the Quarantine, after checking the result._system folder and anything under outside_root in the config (Windows: see windows.md > What never moves).naming: "en" (default) is lowercase English. If the user wants another language, set naming and write the Category ids in it yourself, keeping the two-digit prefixes because they fix the sort order (example table in windows.md > Localized Category names). Any path an app, game, terminal or script uses stays English without spaces, because many programs break on non-ASCII paths.trash, quarantine and uncertain items separately, because those are the ones the user must judge.$FILE_TIDY_ROOT if set, else ~/Files.<Root>/_system/config.json. If it is missing, this is a first run: go to Setup.outside_root directories (Notes, Code Roots, App Data), app_settings to re-check, naming, and optional drives (what each drive is for, used to decide where large or app-owned things go). The Root need not be on the system drive. Windows: see windows.md > Paths for path forms and where the Root may not go.assets/default-config.json on every platform. With more than one drive, ask the user what each drive is for and record it in drives. Change Categories only if the user asks; keep the two-digit prefixes and the gaps so later Categories fit in between.python3 "$TIDY" init --root <Root> --config <edited config> (dry-run), then add --apply. Windows: see windows.md > Running the engine.outside_root with the machine's real Notes, Code Roots and App Data directories. Windows: see windows.md > Probing the machine.app_settings.<Root>/README.md for humans: the Category table and "new files arrive in Downloads and the Capture Inbox".Scan the Inboxes, the Workbench and any directory the user named: python3 "$TIDY" scan <dirs...> --hash. Equal sha256_tree values mean byte-identical content, even under different names.
Classify every top-level item. A directory that forms one coherent unit moves whole; a mixed directory is split item by item.
precedence: the Sensitive Zone beats finance, finance beats work and personal, and those beat media. Anything about money goes to finance. Media holds only creative work and reusable assets.Screenshot …png, IMG_1234.jpg, report.csv), look at the content before giving up: view images, read the first lines of text, CSV and documents, and use metadata such as the download source or creation date. Skip this for Sensitive Zone candidates. The Capture Inbox deserves the effort because the user expects it to end up empty./Applications and ~/Applications, the package manager, or Program Files on Windows). If the same app and version is installed, remove the installer with trash or quarantine; otherwise move it to the installers Category.python3 "$TIDY" dupes <dirs...> [--min-size N] for a report of byte-identical files (it skips hard links and _quarantine, and moves nothing). Decide per group: keep the copy in the better location and remove the others. Treat a Live Photo's HEIC and same-name MOV as one pair, since one without the other is broken. Exclude thumbnail caches from phone-maker PC backup suites (such as .thumbnails or thumb) before judging; they look like duplicates but the backup tool owns them. Judge a whole game or app folder as one unit, never file by file; uninstall a game through its platform first, then remove what remains.Check references. Moving a file breaks every absolute path that points at it: shell profiles, .env files and project configs (cloud service-account keys are the usual case), agent configs and symlinks, launch agents, shortcuts, and video-editor projects. Before writing the Plan, search for each source path in the shell profiles, ~/.config, the Code Roots, the Notes and the agent config folders, for example rg -l --hidden -F "<source path>" ~/.zshrc ~/.config <code roots>. An item referenced by active config either stays put, or the report lists the exact reference to update after the move. Media referenced by a video-editor project stays put unless the user agrees to relink it. Put cloud-sync client folders, desktops managed by an organizer tool, and game saves under outside_root instead of moving them, because their owners treat a move as a delete or lose track of the files. Windows: see windows.md > Shortcuts for listing and fixing shortcuts.
Write the Plan to <Root>/_system/plans/<YYYYMMDD>-<topic>.json:
{
"root": "~/Files",
"items": [
{
"src": "~/Downloads/invoice-0003.pdf",
"dest": "30_finance/invoices/company/2026/invoice-0003.pdf",
"reason": "company invoice"
},
{
"src": "~/Downloads/SomeApp.dmg",
"action": "trash",
"reason": "SomeApp.app 2.1 is installed"
}
]
}
dest is relative to the Root (or absolute) and is the full target path, not a parent directory. When one item goes inside another item's destination, list the enclosing item first.
Dry-run with python3 "$TIDY" apply <plan>. It rejects existing destinations, destinations that differ only in letter case, nested sources and protected paths. Fix every error; never work around one by deleting. Each WARN about a relative link means the moved directory would break that link: treat the directory as uncertain.
Confirm and apply. Show the Plan as a table grouped by Category, with trash and quarantine items and their evidence listed separately. After approval, run apply <plan> --apply.
Verify. On success the command prints the Manifest path, and every entry has "verified": true. On failure it prints the error, the Manifest path and how many items moved; report that state and stop, because the Manifest can roll back what already moved. Re-scan the Inboxes and the Workbench and say what is left and why.
Cross-volume copies are checked by content SHA-256; same-volume moves are checked by metadata (names, sizes, mtimes, link targets), since a rename does not change content and this keeps large moves fast. Each Manifest entry records which ("verify": "stat" or "sha256"), and rollback checks the same way.
Re-check app_settings and report any app whose save location drifted.
Run python3 "$TIDY" rollback <Root>/_system/manifests/<stamp>.json as a dry-run, then add --apply. Items are restored newest first, each re-verified just before it moves. Rollback stops if an item changed since the move or its original path is now occupied, so it never overwrites newer work. If the user has emptied the trash, or restored an item from it by hand, since the run, add --skip-missing to restore everything else. On Linux each trashed item sits directly in Trash/files with a freedesktop Trash/info/<name>.trashinfo, so the desktop trash can also restore it; rollback deletes that .trashinfo after restoring the item. Trash refuses items on another mount (such as a USB drive), because it would copy them into the home trash; move them instead. On macOS the script moves items into a file-tidy-<stamp> folder in ~/.Trash and writes no Put Back record, so Finder's "Put Back" does not work for them; use rollback instead.
State:
| Platform | Trash for removed items | Engine | Read |
|---|---|---|---|
| macOS | OS Trash (trash) | python3 | app-defaults.md > macOS |
| Linux | freedesktop Trash (trash) | python3 | app-defaults.md > Policy |
| Windows and WSL | same-drive Quarantine (quarantine); trash is refused on Windows drives | py -3 natively, or python3 from WSL (slower) | windows.md, app-defaults.md > Windows |
agents/openai.yaml (opens in a new tab)assets/default-config.json (opens in a new tab)evals/evals.json (opens in a new tab)references/app-defaults.md (opens in a new tab)references/glossary.md (opens in a new tab)references/windows.md (opens in a new tab)scripts/file_tidy.py (opens in a new tab)scripts/test_file_tidy.py (opens in a new tab)scripts/windows/probe-locations.ps1 (opens in a new tab)scripts/windows/shortcuts.ps1 (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/adonis-skills:file-tidyfrom adonis-skills
npx claudepluginhub adonis0123/adonis-skills --plugin adonis-skills34 skills in this plugin
/agent-dispatchPick the lightest agent setup for coding, review, drafting or design research: do it yourself, fan out 2-3 workers across local CLIs and accounts (Claude Code, Codex, Grok, Cursor), run a scoped architecture loop, or brief independent researchers; choose a cross-model reviewer and track dispatched work on a Run Board. Use when work may need delegation, or the user asks to dispatch, parallelize, run several agents or accounts, get another AI's review or independent design opinions, or check dispatched work. 中文触发:派活、并行、多开几个 agent、分给多个账号 / codex / grok、找另一个 AI 审、多方意见、派出的任务进行到哪了。Not for trivial edits, a single diff review (agentic-review-handoff) or the session list (sideby sessions); inside another named workflow, only size its workers./agentic-review-handoffValidate review findings, run auto Git review-fix-re-review loop, DecisionConsult, or DDD/cohesion review. Requires Git & review/consult intent./agent-practice-auditScore local coding-agent usage (Claude/Codex/Grok/WorkBuddy/agy) against official docs into HTML report. Triggers: agent 用法体检、实践评分. Never edits config./agent-skill-evaluationUse when comparing or trial-testing agent skills before installing — including GitHub/skills.sh URLs, 测试一下/值不值得装, package screening, and A/B artifact runs./agent-symlink-initInitialize or migrate agent-skill symlinks in any repository for Claude Code, Codex, Cursor, and Antigravity (agy) / Gemini setups. Use when a project needs `.claude/skills` linked to `.agents/skills`, `AGENTS.md` linked to `CLAUDE.md`, checks for `GEMINI.md` or `.agents/skills.json`, migration away from `.ruler`-based AI rules, or removal of legacy `sync-llm-skills` copy/sync setups. Trigger on requests about Claude, Codex, Cursor, or Antigravity (`agy`) / Gemini skill symlinks, AGENTS/CLAUDE/GEMINI rule links, `.claude/skills` setup, replacing copied skill folders with symlinks, or cleaning old ruler/sync automation./architecture-hardening-loopRun bounded architecture scan-triage-fix-review-rescan loop on explicit code scope until no evidence-backed DDD/cohesion fixes remain.Other plugins' skills for the same job