Part of the AI coding agent security checklist
Claude Code audit log tools compared: ranwhat, suvadu and cc-audit-log
Three free tools answer "which commands did Claude Code run?". They differ in one way that decides the choice: ranwhat and cc-audit-log read the transcripts already on your disk, so they work on sessions from before you installed anything. suvadu records through hooks, so it starts from the day you set it up and keeps more about each command from then on. This page is written by ranwhat's maker; every claim about the other two comes from their own pages, listed under Sources.
Checked against each tool's site, README and changelog under Sources, and ranwhat's source. We did not run suvadu or cc-audit-log. Published .
The short answer
Side by side
What each tool's own pages say, as of 12 November 2026. "Not described" means we found no mention of it there.
| Tool | Gets its record from | Sessions before install | Agents | Leaked keys | Can block |
|---|---|---|---|---|---|
| ranwhat | The history agents write to disk | Yes | 30 | Finds them in transcripts and says what to rotate | Opt-in hook, Claude Code only |
| suvadu | Hooks it adds to each agent, into its own database | No; a past session's conversation can be imported | 6 with setup, 10 more tagged | Masks secrets in the commands it stores | Only if you wire its guard into a hook |
| cc-audit-log | Claude Code's transcripts on disk | Yes | 1 | Not described | No |
| Tool | Licence | Price | Runs with | Latest release |
|---|---|---|---|---|
| ranwhat | MIT | Free; Plus €12 a month per organisation | Python 3.9+, uvx or pipx | 0.10.0, November 2026 |
| suvadu | MIT | Free | A Rust binary from Homebrew or cargo; macOS and Linux, zsh or bash | 0.5.3, November 2026 |
| cc-audit-log | MIT | Free | Node, npx | 1.0.7, March 2026; archived |
suvadu: a shell history that also records your agents
suvadu replaces your shell history with a local SQLite database and adds the commands AI agents run to it. For Claude Code, suv init claude-code writes hooks into ~/.claude/settings.json, and recording starts with the next session.
cc-audit-log: a timeline from one script
cc-audit-log scans ~/.claude/projects/ and prints a readable timeline of files, commands, commits and subagents, for today, a date or the last few sessions.
ranwhat: what it adds, and what it does not do
ranwhat reads the history Claude Code and twenty-nine other coding agents already write to disk. Nothing has to be installed before the session you want to look at.
Which one to use
| If you | Start with | Why |
|---|---|---|
| Need to know what an agent did in a session that already happened | ranwhat | It reads what is on disk. A hook installed today recorded nothing last week. |
| Use Cursor, Codex or Gemini CLI as well as Claude Code | ranwhat | One pass over thirty agents' history, with no setup for each. |
| Want to know whether a key leaked into a transcript | ranwhat | It finds the credential, says what to rotate and what the token allows. |
| Want a lasting record with exit codes and timings, next to your own shell history | suvadu | Its database outlives the transcripts and holds detail they do not. |
| Want your agent to look up what ran earlier | suvadu | Its MCP server lets an agent query the history. |
| Want a one-line look at today in Claude Code | cc-audit-log | Nothing to install, and small enough to read first. Check that it still parses your version's transcripts. |
Next
To read the record by hand, with no tool at all, see a Claude Code audit log from what is already on disk. For tools that stop a call before it runs, Stroq and HOL Guard among them, read the best AI coding agent security tools. Every other control is in the AI coding agent security checklist, and the rest of the guides are listed here.
Sources
- suvaduwhat it is, platforms, install, MCP server
- suvadu: AI integrationwhich agents get hooks, what is captured for Claude Code
- suvadu: which commands Claude Code ranrecording starts once the hook is installed; importing a past session
- suvadu: FAQlicence, storage, redaction, guard
- suvadu: changelogversion 0.5.3
- cc-audit-log on GitHubwhat it reads, its flags, archived status
- Claude Code settingscleanupPeriodDays, 30 days by default
- ranwhat referenceevery command, and what goes online