recording-mode

Reviewed at commit 33a936f

/rec before you record: masks keys, personal details, and business figures on screen and keeps private files closed (/rec strict, /rec off, /rec config)

Made by
Nate Herk
What we checked

Type /rec before recording your screen and it masks keys, emails, names, phone numbers, addresses and money figures in what Claude Code draws, hides results from mail, chat and finance tools, and refuses Claude's attempts to open private files such as .env while on. It adds a note to each prompt asking Claude to leave such details out. It makes no network calls.

Review details

Static review of the source at the pinned commit; not run. Hooks: session.start, command.run (rec/recording), prompt.submit, tool.call, ui.render (UserMessage, AssistantMessage, CommandOutput, ToolUse, ToolResult, AbovePrompt, SessionMode). Masking only changes what is drawn; the model still receives the original text. Files: writes ~/.claude/mods-data/recording.json (on/strict flag, polled every 3 s so all sessions follow) and, on /rec config, a template ~/.claude/mods-data/recording-mode/config.json that it reads back; while on it also reads .env and .env.local in the working directory and up to three parent folders so their values can be masked, held in memory only and never written. Blocks tool calls (deny) whose file path, pattern, command or url matches private path patterns (.env, credentials, ~/.claude.json, Claude memory, .ssh/.aws/.gnupg, keys, finance documents, user-configured paths) or finance tools; matching is by pattern, so it is best-effort. Adds a context note to each prompt while on. No fetch, no processes, no eval. npm dependencies: none.

What it uses
  • Reads your prompts: yes
  • Sees tool calls: yes
  • Blocks or changes tool calls: yes
  • 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
Made this mod? Add a badge to your README

modsforClaude badge for recording-mode

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/recording-mode.svg)](https://modsforclaude.com/mods/recording-mode/)

← All mods