polaroid
Reviewed
at commit 867b81f
KOZMOS Polaroid: /polaroid snapshots the session as a self-contained dark-neon HTML report in .kozmos/reports: model, duration, cost, tokens, context peak…
0 upvotes
Log in to upvote or save- Made by
- KOZMOS
- Pinned commit
-
867b81f5651059bb0c22563c8b175475787c84ae - What we checked
-
Collects statistics about your session as it runs (model, cost, tokens, context use, rate limits, tool counts, files touched, short prompt excerpts, slash commands) and, only when you type /polaroid, writes them as an HTML or Markdown report in .kozmos/reports in your project. It makes no network calls and runs no programs.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (registers the /polaroid command), command.run (the /polaroid handler, plus an observer that records other slash commands with arguments clipped to 120 characters), turn.start (first 200 characters of each prompt), turn.step, turn.complete, agent.spawn, tool.call and session.measure. All observers pass the event through unchanged and have catch fallbacks. Runtime calls: $.clock.now, $.session.usage/model/version/root/cwd, $.command.register, $.fs.write (only inside the /polaroid handler, to <project root>/.kozmos/reports/session-<timestamp>.html or .md), $.ui.copy (copies the path). Tool calls are only counted, and file_path/notebook_path of Read, Write, Edit, MultiEdit and NotebookEdit are recorded; Bash commands and tool output are not recorded. Reports can contain prompt excerpts and slash-command arguments, and the folder is not git-ignored by the mod. Report text is HTML-escaped; the HTML has no scripts and loads no external resources. State is kept in memory only. hooks/lib/probe.ts is in the plugin folder but is not imported by any module. npm dependencies: none. kz.ts is a shared helper (colors, formatting, SVG, price table), reviewed in full.
- What it uses
-
- Reads your prompts: yes
- 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: no
- Shows something on screen: yes
KOZMOS Polaroid: /polaroid snapshots the session as a self-contained dark-neon HTML report in .kozmos/reports: model, duration, cost, tokens, context peak, rate limits, tool calls by family, a timeline of turns, subagents, files touched and commands run, all collected live. It answers with the path and copies it. /polaroid md writes Markdown instead.
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/polaroid/)