Docs
Set up TinySift
Install it, find it in the menu bar, read your agents, and clean with a preview before anything moves.
These pages cover installation, the menu bar, Agents, permissions, Clean and Processes in the current app. The open-source command line is covered at the end.
Installation
TinySift for Mac Available
Use Download in the header to open the download. Open the disk image and drag TinySift to Applications.
Agents Available
Agents lists every coding agent session running on this Mac, named by the folder it runs in, with the CPU and memory it uses. It finds Claude Code, Codex and OpenCode today. Readings arrive every 2 seconds.
Limits and Sessions
- Limits opens first: a tile per tool with the share of each window left and when it resets, over the sessions running now.
- Sessions shows one session’s processes as a tree, with the PID, parent, folder and where it runs from. Quit and Force Quit each ask first.
- Agents, and the 1-hour and 6-hour CPU and Memory charts, are free.
Where the limits come from
- Codex writes its limits into its session logs. TinySift reads the end of the newest log in
~/.codex/sessionsand decodes only the line that holds them; conversation lines are skipped. - Claude Code hands its limits only to a status line. Click Show Claude limits and TinySift adds a small step to the status line command in
~/.claude/settings.json, keeping a copy of the file as it was. The step saves four numbers, the 5-hour and weekly use and when each resets, then runs your own status line as before. The tile fills after Claude Code’s next reply. - Turn off on the Claude Code tile restores your status line and deletes the saved numbers.
Full Disk Access
Some folders, such as Mail and Safari data, are protected by macOS. An app cannot read them until you allow it, and nothing in TinySift can bypass that check. Without access TinySift still works, but the protected locations are out of reach.
Grant it to the Mac app Available
- Open System Settings and choose Privacy & Security, then Full Disk Access.
- Turn TinySift on. If it is not listed, click the plus button and pick it from Applications. macOS asks for your password or Touch ID.
- Quit and reopen TinySift. macOS applies the change only to apps that start afterwards.
The app says which locations it could not read, rather than show them as empty. You can turn the switch off again at any time.
What access does and does not mean
- TinySift looks only in the locations its cleanup categories name.
- Access lets TinySift read. It never moves a path you did not tick and confirm, and it never follows symlinks out of the listed locations.
Finder access for the Trash
Emptying the Trash and moving an uninstalled app’s files to the Trash go through Finder. macOS asks for Finder access the first time you confirm one. If you refused, allow Finder under System Settings, Privacy & Security, then Automation, and scan and confirm again. A denied Trash action never falls back to permanent deletion; earlier successful deletions or prunes are not undone.
Clean Available
Clean finds caches and leftovers, shows how much space each category takes, lets you pick, and shows every path before it touches anything.
Removal routes
- Rebuilt automatically and build output: deleted permanently by default. Turn on “Move rebuilt items and build output to the Trash” in Settings to keep a restorable copy instead.
- Your files: old downloads, old screenshots and Mail attachments always go to the Trash. Nothing recreates them; review each path.
- Always permanent: emptying the Trash, tool pruning, system simulator cache cleanup and simulator runtime removal. The Settings switch cannot make these recoverable.
- Report only: categories such as Docker, unavailable simulator devices and orphaned app data are shown but cannot be cleaned in the app.
Select, review, confirm
- Scan. Rebuilt automatically and idle project build output come ticked; your files, other review items and the Trash wait for your tick.
- Open a row to see each path, its size and its removal route. Untick anything you want to keep.
- Press Clean and read the confirmation: it says what can’t be put back, what goes to the Trash and what macOS removes later. Confirm only what you intend.
Items moved to the Trash stay there until it is emptied and still use disk space. TinySift moves them itself, not through Finder, so Put Back does not apply: drag an item out of the Trash to keep it. Permanent cleanup does not go to the Trash and cannot be put back; apps and tools create new caches when needed. Runtime removal finishes in the background, so its size is not counted as freed. The result reports what was cleaned, failed, skipped or not attempted.
Emptying the Trash also empties the Trash on other disks and anything added since the scan. If Finder empties your Trash automatically, turn that off before relying on the Trash.
Where it looks
All 33 places, grouped as the Clean screen groups them.
Rebuilt automatically: Apps and tools make these again.
- Xcode DerivedData
- node_modules idle 7+ days
- Browser caches
- iOS Simulator caches
- Crash reports
- User logs
- Font and Quick Look caches
- User caches
- npm cache
- pnpm store
- Yarn cache
- Cargo cache
- Python caches and venvs
- Rust target folders
- Go build caches
- Gradle and Maven caches
- Android SDK caches
- JetBrains indexes
- VS Code caches
- Xcode DeviceSupport
- Chat app caches
- Streaming app caches
- Gatekeeper history
Your files: Only the Trash can bring these back.
- Old downloads
- Old screenshots
- Mail attachments
- Xcode Archives
Report only: Shown, never moved.
- Docker images and build cache
- Docker volumes
- Unavailable Simulator devices
- Time Machine local snapshots
- Trash
- App leftovers
What it skips
- A category is skipped while its app is open, for example Xcode categories while Xcode runs. TinySift tells you which app to quit.
- Project caches are listed only when the project has been idle for 30 days.
- Orphaned app data is report only. A folder name does not prove an app is gone, so TinySift never moves it.
- Old downloads, old screenshots and Mail attachments require your selection.
Processes Available
CPU and Memory show which agents, apps and background processes use your Mac’s resources, with actions to inspect or quit them.
What it shows
- Overview shows whole-machine CPU, memory and startup disk, your limit tiles, and the agents and apps using the most.
- CPU and Memory chart the last 5 minutes, hour or six hours with the peak, over a list where agents, apps and background processes each have their own group. The 1-hour and 6-hour charts are kept only while TinySift runs.
- For a selected row: name, PID, parent and where it runs from, with search and sorting by CPU, memory or name. Listening ports appear in process details.
CPU is counted per core, so a busy app can read above 100%. Data that could not be measured is labelled unavailable or stale, never shown as zero.
Acting on a process
- Quit asks the process to stop. Force Quit is a separate action with its own confirmation, and TinySift never escalates to it on its own.
- Each confirmation names the target and what will happen. TinySift re-checks the process just before signalling and refuses system processes, itself and processes owned by other users.
- Process details list the listening TCP ports TinySift can read. Missing readings are not evidence that a port is free.
- Reveal in Finder and Copy PID or path are available from the same menu.
Command line Available in the CLI
The open-source engine also runs from your terminal. Cleanup commands show a plan before acting. clean and uninstall default to Move to Trash for file-based items; tool pruning and runtime or snapshot removal are permanent. tiny --help and tiny <command> --help list every flag, and tiny --version prints the version.
Install
The Rust engine is open source, and the tiny command is built from source today. You need a Rust toolchain; rustup installs one. The source lives on GitHub.
git clone https://github.com/mxrsv/tinysift
cd tinysift
cargo install --path crates/tiny
tiny --helpcargo install puts tiny in ~/.cargo/bin, so make sure that folder is on your PATH. To try it without installing, run any example below with cargo run -p tiny -- in place of tiny.
sys, scan, process inspection and focus only read your system or write their own log. clean and uninstall need macOS. Trash moves go through Finder, so the first move may ask you to allow your terminal app to control Finder. Permanent actions cannot be restored from the Trash.
Full Disk Access for the terminal
The command-line tool runs with your terminal's permissions. To let it read protected folders, add the terminal app you run it from (Terminal, iTerm and so on) in the Full Disk Access list. Unreadable scan paths and cleanup candidates produce diagnostics and a nonzero exit status rather than a successful incomplete result. Review the error, grant access when appropriate and run again.
System information
Prints one snapshot of the OS, host, uptime, CPU, memory and per-disk usage, then exits. Nothing is written anywhere.
tiny sysProcesses and ports
Lists running processes, inspects one PID, finds visible owners of a listening TCP port and quits a process you own.
tiny processes
tiny processes --sort memory --limit 50
tiny processes --port 3000
tiny processes show 4321
tiny processes quit 4321--sort <SORT>- cpu (default) or memory, highest first.
--limit <LIMIT>- Maximum list length. Default 20; ignored with --port.
--port <PORT>- List every visible owner of this listening TCP port.
--json- Print JSON for the list, --port or show.
CPU is per core and can exceed 100%. Unmeasured values are unavailable, never zero. Port owners are limited by your permissions; an empty list does not prove a port is free.
quit asks before sending SIGTERM. quit --force sends SIGKILL, which loses unsaved work; --force -y also requires TINY_CONFIRM_FORCE=1. It never escalates on its own, refuses protected or other users’ processes, and reports an error if the target does not exit.
Scan files
Reports large and old files so you can decide what to keep. It never deletes, moves or changes anything. By default it looks in ~/Downloads, ~/Desktop and ~/Documents.
tiny scan
tiny scan --min-size-mb 500 --older-than-days 365
tiny scan --path ~/Movies --path ./assets
tiny scan --by-ext --duplicates
tiny scan --json > report.json--min-size-mb <MIN_SIZE_MB>- Report files at or above this size in megabytes. Default 100.
--older-than-days <OLDER_THAN_DAYS>- Report files not modified for this many days. Default 90.
--path <DIR>- Scan this folder instead of the default three. Repeatable; each use replaces the default set.
--limit <LIMIT>- Items shown per section in text mode. Default 20.
--sort <SORT>- size (largest first, default), age (oldest first) or path.
--by-ext- Add a per-extension breakdown: file count and total size.
--duplicates- Group files that share both size and filename.
--hash- With --duplicates, confirm groups by comparing file content. Slower, but drops files that only looked alike.
--json- Print one JSON object on stdout instead of text.
Version-control folders, build and package output such as node_modules and target, macOS metadata folders and anything deeper than 12 levels are always skipped. A .tinyignore file in a scanned folder or your home folder skips more: one folder name or *.ext pattern per line.
Clean caches
Interactive cleanup of caches and selected files. It needs macOS, shows a plan first and defaults to Move to Trash for file-based categories. Tool pruning and runtime or snapshot removal are permanent. It uses the same categories as the Clean section above; on the command line they are labelled Safe, Review or Destructive.
tiny clean --dry-run
tiny clean
tiny clean --include-review --review-paths
tiny clean --category node-modules --idle-days 60--dry-run- Show the report and exit without prompting for cleanup.
--category <CATEGORY>- Restrict discovery and selection to this category. Repeatable; shows it whatever its risk level.
--include-review- List review-risk categories in the picker, unticked.
--include-destructive- List destructive categories such as Trash, unticked.
--review-paths- Untick individual paths after picking categories. Cannot be combined with --yes.
--idle-days <IDLE_DAYS>- Project caches and old downloads or screenshots are listed only when untouched for this many days. Default 30, must be above 0.
-y, --yes- Skip the picker and the action menu. Requires --category and cannot be combined with --dry-run.
--hard- Delete permanently instead of moving to the Trash. Not recoverable.
The plan lists up to 20 paths per category with their sizes, then a count of the rest. The action menu offers Move to Trash (the default), Dry-run, Review paths, Hard delete and Cancel. Hard delete is permanent and asks you to confirm once more. At the end tiny prints how many paths it removed and lists any it could not.
Destructive categories, the Trash, Time Machine snapshots and Docker volumes, are listed only with --include-destructive. Docker cleanup prunes only unused images and build cache. Tool pruning (including uv and pnpm), snapshot deletion and simulator device or runtime removal have no Trash route: they are permanent whichever action you choose. Naming a category explicitly shows it whatever its risk.
Hard delete without a prompt needs TINY_CONFIRM_HARD=1 in the environment as well as -y and --hard. Scan errors and unreadable candidate sizes stop cleanup with diagnostics. Failed or refused cleanup items produce a nonzero exit status after the report.
Focus timer
A focus timer with a progress bar. A finished session is appended to ~/.tiny-cli/focus-sessions.json; stopping early with Ctrl-C records nothing.
tiny focus
tiny focus --minutes 50 --label "deep work"--minutes <MINUTES>- Length of the session in minutes. Default 25.
--label <LABEL>- Optional label stored with the session.
If the log file is not valid JSON, tiny refuses to overwrite it: it copies the file to focus-sessions.json.bak and asks you to fix or delete the original.
Uninstall apps
Removes an app from /Applications together with the data it left in ~/Library. It needs macOS, reports what it found and asks before removing anything.
tiny uninstall
tiny uninstall AltTab --dry-run
tiny uninstall AltTab --leftovers-only[NAME]- App name. Without it, an interactive picker lists every app in /Applications.
--dry-run- Only show the report and exit.
--shallow- Remove only the .app, skip ~/Library. Cannot be combined with --leftovers-only.
--leftovers-only- Clean only the ~/Library data and keep the app. Cannot be combined with --shallow.
--sort <SORT>- Picker order: last-used (default, least recently used first), size or name.
-y, --yes- Skip the action menu; remove only the app and cache entries, keeping app data. Uses the Trash unless --hard is set.
--hard- Delete permanently instead of using the Trash. Not recoverable.
--force- Allow removing apps installed as Homebrew casks, which tiny refuses by default.
Apple's own apps are always refused. If any selected app is refused, tiny stops after the report and removes nothing.
Within each app, execution stops at the first failure or refusal; earlier removals are not undone. Other selected apps still run, failures are reported and the command exits nonzero. Uncertain or shared entries are never removed.
Unlike clean, uninstall --hard -y permanently deletes the app and caches without further confirmation; data entries stay. Run without -y and choose an action to include app data. Run --dry-run first.