choiyounggi

Claude Secretmode — Development skill for Claude Code

Development community

Leave-no-trace ephemeral Claude Code sessions on macOS — runs Claude Code on a RAM disk so transcripts, prompt history, and file snapshots never touch disk and evaporate on exit, while inheriting your.

How to install Claude Secretmode

This entry records only its repository, not the path inside it, so there is no exact command to give. Open choiyounggi/claude-secretmode and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Secretmode does

Leave-no-trace ephemeral Claude Code sessions on macOS — runs Claude Code on a RAM disk so transcripts, prompt history, and file snapshots never touch disk and evaporate on exit, while inheriting your keychain auth, MCP, CLAUDE.md, hooks, skills, and plugins. Drop-in for `claude` as `claude-secretmode` / `csm`.

Alternatives in Development

  • System Cache Cleanup — Clean temporary files and caches to free disk space: $ARGUMENTS 23.4k ★
  • Phistory — Phistory automatically archives versioned system prompt snapshots from agent CLIs like Claude Code, Codex, Ope 560 ★
  • M5 Paper Buddy — 📟 Claude Code physical companion on M5Paper V1.1 e-ink 160 ★

README

claude-secretmode

**English** | [한국어](README.ko.md)

**Leave-no-trace**, disposable Claude Code sessions — runs Claude Code on a macOS RAM disk, so transcripts, prompt history, and file snapshots are **never written to disk in the first place** and evaporate wholesale on exit.

Type `claude-secretmode` (or `csm`) where you would normally type `claude` — that's it. Auth, MCP, CLAUDE.md, and plugins all work as usual, while that session's **transcript and prompt history** never touch the disk. Your original `~/.claude` conversation history is preserved and never polluted.

Quick start (1 minute)

1. Prerequisites

  • macOS (Apple Silicon / Intel)
  • Claude Code installed and logged in
    • npm install -g @anthropic-ai/claude-code, then log in once via claude
    • Auth is inherited from the macOS Keychain (Claude Code-credentials)

2. Install

# npm
npm install -g @younggichoi/claude-secretmode

# or bun
bun add -g @younggichoi/claude-secretmode

3. Use

# instead of your usual claude — this session leaves no records on disk
claude-secretmode

# short alias
csm

# arguments are passed through to claude as-is
claude-secretmode --model opus

On exit (Ctrl-D, `/exit`, or closing the terminal) the RAM disk is detached and every trace of the session disappears.

How it works

claude-secretmode starts
 └ create a RAM disk → point CLAUDE_CONFIG_DIR at it
    ├ Keychain token → /.credentials.json (auth inherited)
    ├ .claude.json (past-project traces stripped), settings.json (recording hooks disabled)
    ├ CLAUDE.md · hooks · skills · plugins → symlinks (code & policy shared as-is)
    └ transcript / history / snapshots → written to RAM only
 └ run claude (interactive, as usual)
    └ (background) token-sync daemon — keeps whichever token is newer,
      Keychain or RAM session (prevents rollback)
[exit] → RAM disk detached → session traces evaporate. The original ~/