Skip to content

Adonis0123/adonis-skills / skills/file-tidy

file-tidy

Verified

Organize a person's own files on macOS, Linux or Windows into one numbered Root (default ~/Files): empty Downloads and screenshot Inboxes, clear the desktop, file personal, work, finance, media, installer and sensitive files into Categories, find duplicate files, and point app save locations at the Inboxes. Use when the user asks, in any language (e.g. 整理文件/桌面/下载、去重), to tidy, sort, dedupe or file their Desktop, Downloads, home folder, documents or data drives, set default download or screenshot folders, repeat the scheme on a new computer, or undo a previous tidy. Every run is planned, verified, reversible and never deletes. Not for code repositories, cloud documents, photo-library management or disk-space analysis alone.

references/app-defaults.md

View on GitHub
# App Save Locations

Goal: every app keeps writing to a Default Folder or an Inbox, so new files never land in the Root's Categories or on the Workbench by accident. Prefer leaving defaults alone; change only apps that write to the Workbench (desktop).

Record each checked app in `<Root>/_system/config.json` under `app_settings` as `{ "app", "expected", "how" }` so later runs can re-check it.

## Policy

| Source                                                         | Expected location                     | Why                                                                                           |
| -------------------------------------------------------------- | ------------------------------------- | --------------------------------------------------------------------------------------------- |
| Browsers (Chrome and other Chromium browsers, Safari, Firefox) | Download Inbox (OS default Downloads) | Already the default; app updates and new profiles keep it. Do not enable "ask where to save". |
| OS screenshots and screen recordings                           | Capture Inbox                         | The OS default is the desktop, which turns the Workbench into storage.                        |
| Chat or meeting apps that save screen recordings               | Capture Inbox                         | Same reason.                                                                                  |
| Chat apps' received-file storage                               | Leave as is (App Data)                | Moving it usually relocates the whole chat database. "Save as" already goes to Downloads.     |

## macOS

Screenshots and screen recordings share one setting:

```bash
mkdir -p ~/Files/00_inbox
defaults write com.apple.screencapture location ~/Files/00_inbox
killall SystemUIServer
defaults read com.apple.screencapture location   # verify
```

UI equivalent: Cmd-Shift-5 → Options → Save to → Other Location.

Chromium-family browsers store the download directory per profile in `<profile>/Preferences` under `download.default_directory`; a missing key means the OS Downloads folder. Edit only through the browser UI (Settings → Downloads) or with the browser fully quit, otherwise the browser overwrites the file on exit. Do not use the `DownloadDirectory` enterprise policy: it locks the setting and shows "managed by your organization".

Apps that keep settings in encrypted stores (for example many chat apps) can only be changed in their own settings UI. Check the result by recording a short clip or saving a file and confirming where it lands.

## Windows

Run `scripts/windows/probe-locations.ps1` first; it prints the current save locations as JSON and changes nothing. Compare it with `app_settings`. `scripts/file_tidy.py` runs with `py -3`; use the `quarantine` action; `trash` is refused for items on Windows drives (see `windows.md`). "Agent via Computer Use" means: if the host provides a Computer Use style tool, tell the user it will take the mouse and keyboard, then click through the settings UI; otherwise give the user the click path to do it themselves.

| Source                                                                                                      | Expected location                                     | How to change                                                                                                                 | Who                    | Confidence | Source                                                                                 |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ---------------------- | ---------- | -------------------------------------------------------------------------------------- |
| Screenshots (Win+PrtScn, Snipping Tool auto-save)                                                           | Capture Inbox                                         | Known Folder `{B7BEDE81-DF94-4682-A7D8-57A52620B86F}`: Explorer > Pictures > Screenshots > Properties > Location > Move       | Agent via Computer Use | community  | https://www.howtogeek.com/797229/how-to-change-where-screenshots-are-saved-on-windows/ |
| Xbox Game Bar recordings (`Videos\Captures`)                                                                | Capture Inbox                                         | Same Properties > Location > Move on the Captures folder                                                                      | Agent via Computer Use | inferred   | —                                                                                      |
| NVIDIA App / ShadowPlay recordings                                                                          | Capture Inbox                                         | NVIDIA App > Settings > Recordings / Screenshots location                                                                     | Agent via Computer Use | inferred   | —                                                                                      |
| Chrome, Edge and other Chromium browsers                                                                    | Download Inbox (default Downloads)                    | Browser Settings > Downloads, per profile. Do not edit `download.default_directory` in `Preferences`; the browser rewrites it | Agent via Computer Use | inferred   | —                                                                                      |
| Cloud sync or netdisk clients with their own download folder (for example OneDrive, Dropbox, Baidu Netdisk) | Download Inbox or a dedicated folder outside the Root | App settings > download path                                                                                                  | Agent via Computer Use | inferred   | —                                                                                      |
| Chat app data (for example WeChat, QQ, WeCom)                                                               | Leave as is, or move by the user only                 | See `windows.md` > Chat apps                                                                                                  | User only              | community  | see `windows.md`                                                                       |
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall