cleanup-tracker

Reviewed at commit c901585

Records downloads, installs and started containers; /cleanup-list shows them.

Made by
escapeboy
What we checked

Watches Bash commands Claude runs and, after a successful one that downloads, clones, installs or starts a container, saves the command (first 300 characters) and folder in the mod's own store. /cleanup-list shows the list, 'write' saves it as CLEANUP.md in the project if none exists, 'clear' empties it. It deletes nothing and sends nothing anywhere.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (registers /cleanup-list) and tool.call for Bash (runs the command first via next, then matches e.command against a fixed list of regexes for curl -o, wget, yt-dlp, git clone, docker pull/run, brew, global npm, pip, cargo/go install, launchctl; records only when the call was not denied and not an error; it never blocks or changes the call and a catch handler passes errors on). Uses $.store.get/set (keeps the latest 1000 entries), $.session.cwd, $.clock.now, and for 'write' $.fs.exists and $.fs.write to CLEANUP.md in the working directory, refusing to overwrite an existing file. Because the stored command text is kept as typed, a matching command that contains a token or password (for example docker run -e KEY=..., curl with a header) is kept in the mod's store and in CLEANUP.md if written. No network, process or model use. No npm dependencies.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Made this mod? Add a badge to your README

modsforClaude badge for cleanup-tracker

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/cleanup-tracker.svg)](https://modsforclaude.com/mods/cleanup-tracker/)

← All mods