Rewind your day.
Decisions. Questions. Corrections. Everything you worked out with your AI agents today, stitched into one daily note.
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.
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.
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 Dev Session Review
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.
- Show context usage as raw tokens, not a percent. Wanted a precise number in the status bar, not an approximate ratio.
- How do you swap the percent display for actual token counts?
- Why does the status bar keep showing
[1 / 1.0M]?
[1 / 1.0M]. The fix missed cache tokens.
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.
Team-ready updates, no rewrite
rwd slack drops a Slack-ready post in your clipboard, grouped by theme.
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.
-
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 -
Make the command available
Try
rwd --versionfirst. If your terminal saysrwd: command not found, add the install folder to PATH for this terminal:export PATH="$HOME/.local/bin:$PATH"Run
rwd --versionagain. 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 $SHELLif you are unsure, then open a new terminal after running it.Zsh (the macOS default)echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrcBash (common on Linux / WSL2)echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc -
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
openaiand paste your OpenAI API key.
Either provider can analyze your local Codex sessions.
Choose where to save Markdown files and select
enorko. For Obsidian, choose your vault's daily notes folder. Settings are saved in~/.config/rwd/config.toml. - Press Enter to use
-
Create your first daily note
After using Claude Code, Codex, or Antigravity, run:
rwd todayrwd reads today's local session logs and saves a dated
.mdfile 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.