Rewind your day.

Decisions. Questions. Corrections. Everything you worked out with your AI agents today, stitched into one daily note.

rwd today
  ██████  ██     ██ ██████
  ██   ██ ██     ██ ██   ██
  ██████  ██  █  ██ ██   ██
  ██   ██ ██ ███ ██ ██   ██
  ██   ██  ███ ███  ██████
rewind your day  v0.15.0
2026-04-18
Claude Code
10:24 ~ 15:07 Sessions: 6 in 61,891,779 out 673,146
Codex
10:13 ~ 10:52 Sessions: 1
Analyzing insights via OpenAI... ✓ Analyzing 6 sessions (est. 45,382 tokens) ✓ [1/6] Done   ✓ [2/6] Done   ✓ [3/6] Done   ✓ [4/6] Done   ✓ [5/6] Done   ✓ [6/6] Done
▸ Session: 6e70ea19

Migrated the status bar context indicator from percent to raw tokens, then fixed values getting stuck at [1 / 1.0M] by including cache tokens in the total.

  • Show context usage as raw tokens instead of a percentage. → wanted a precise number, not an approximate ratio.
  • Why does the status bar keep showing [1 / 1.0M]?
  • Said the context-token fix was complete. Status bar still showed [1 / 1.0M]. Fix missed cache tokens.
01 · Capture

One command scans the whole day

rwd today walks your supported AI agent sessions across projects, extracts what happened, and writes one structured note.

Claude Code, Codex, and Antigravity today.

~ rwd today
rwd  v0.15.0  ·  2026-04-18 Analyzing insights via OpenAI... ✓ Analyzing 6 sessions (est. 45,382 tokens) ✓ [1/6] 865ae218 ✓ [2/6] 73db096f ✓ [3/6] 6e70ea19 ✓ [4/6] 7a239c41 ✓ [5/6] 4a267ae8 ✓ [6/6] de3292ba Markdown saved: ~/Daily/2026-04-18.md ✓ Today's daily rewind is ready!
02 · Rewind

Every decision, every correction, kept.

Each note keeps what you decided. What you wondered. What you corrected. The reasoning trail AI agents strip out. Saved as Markdown, on your machine.

2026-04-18.md

# 2026-04-18 Dev Session Review

## Session: 6e70ea19
Work Summary

Migrated the status-bar context indicator from percent to raw tokens. Debugged values getting stuck at 1, then fixed the sum to include cache tokens.

Key Decisions
  • Show context usage as raw tokens, not a percent. Wanted a precise number in the status bar, not an approximate ratio.
Questions & Curiosities
  • How do you swap the percent display for actual token counts?
  • Why does the status bar keep showing [1 / 1.0M]?
Model Errors & Corrections
Said the token-count fix was complete. Status bar still showed [1 / 1.0M]. The fix missed cache tokens.
03 · Redact

Common secrets masked before analysis

Before anything reaches the model, rwd masks values that match its built-in patterns, such as API keys, bearer tokens, and private IPs. Masking is on by default.

Patterns can't catch every secret. Turning masking off in the config sends these values unmasked.

redact · before / after
Raw session log
export OPENAI_API_KEY=sk-proj-Rip3ZAtl... curl -H "Authorization: Bearer eyJhbGciOi..." db_host: 192.168.1.42:5432 anthropic_api_key=sk-ant-api03-dSYa...
Sent to the model
export OPENAI_API_KEY=[REDACTED:API_KEY] curl -H "Authorization: [REDACTED:BEARER_TOKEN]" db_host: [REDACTED:PRIVATE_IP]:5432 anthropic_api_key=[REDACTED:API_KEY]
04 · Share

Team-ready updates, no rewrite

rwd slack drops a Slack-ready post in your clipboard, grouped by theme.

~ rwd slack
dev-daily Today at 3:14 PM
gigagookbob via rwd · 3:14 PM
[Today's Work Update]
  • (Landing Page Messaging) Rewrote the main page voice and flow for a clearer, less AI-sounding read.
  • (Showcase Planning) Rebuilt the missing showcase using real rwd output instead of stock copy.
  • (Usage Display) Switched the status bar from percent to real token counts, then fixed cache tokens in the sum.
  • (Launch Readiness) Completed release checks and fixed an access-related issue before cutting the tag.

I code with Claude every day. The code ends up in git. My decisions, my corrections, the questions I was working through don't. I wanted to keep them, so I wrote rwd.

gigagookbob

Install and set up

From your first install to your first daily note.

Check your environment

  • macOS: Apple Silicon (arm64).
  • Linux / WSL2: x86_64, with glibc 2.34 or later.

No Rust toolchain is needed for these downloads. Intel Macs and Linux ARM are not covered by this installer. Native Windows is not supported; use an x86_64 WSL2 Linux shell.

  1. Install rwd

    Run this in a Bash or Zsh terminal. It downloads the latest release to ~/.local/bin/rwd.

    curl -fsSL https://raw.githubusercontent.com/gigagookbob/rewind/main/cli/install.sh | bash
  2. Make the command available

    Try rwd --version first. If your terminal says rwd: command not found, add the install folder to PATH for this terminal:

    export PATH="$HOME/.local/bin:$PATH"

    Run rwd --version again. It should print the installed version. If it already worked, skip the PATH commands.

    Keep PATH when you reopen your terminal

    Run only the command for your shell. Use echo $SHELL if you are unsure, then open a new terminal after running it.

    Zsh (the macOS default) echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
    Bash (common on Linux / WSL2) echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
  3. Choose a provider and note folder

    rwd init
    • Press Enter to use anthropic (the default), then paste your Anthropic API key.
    • To use OpenAI, type openai and paste your OpenAI API key.

    Either provider can analyze your local Codex sessions.

    Choose where to save Markdown files and select en or ko. For Obsidian, choose your vault's daily notes folder. Settings are saved in ~/.config/rwd/config.toml.

  4. Create your first daily note

    After using Claude Code, Codex, or Antigravity, run:

    rwd today

    rwd reads today's local session logs and saves a dated .md file in your chosen folder. If no sessions are found, use your coding agent first, then run it again.

Frequently asked questions

Claude Code, Codex, and Antigravity (agy CLI, Antigravity app, and Antigravity IDE).

Any folder you choose, as Markdown. Works well with Obsidian but doesn't require it.

Both. Add --lang en or --lang ko to today or slack.

rwd is free and MIT licensed. Analysis uses your own Anthropic or OpenAI API key. Your provider's API rates apply.

Not by default. Before sending to your chosen provider, rwd masks values that match its built-in patterns: API keys, bearer tokens, AWS, GitHub, and Slack tokens, private keys, quoted password, secret, or api_key assignments, and private IPs. The rest of the conversation is sent as is, and patterns can't catch every secret.

To turn masking off, set [redactor] enabled = false in ~/.config/rwd/config.toml. These values are then sent unmasked.