Capture every tool call Claude Code makes — file reads, writes, bash commands, and more — with zero changes to your workflow.Documentation Index
Fetch the complete documentation index at: https://docs.provenlog.com/llms.txt
Use this file to discover all available pages before exploring further.
Setup
Install provenlog:.claude/settings.json (project) or ~/.claude/settings.json (global):
What gets captured
Every tool call is captured to~/.provenlog/events.db:
| Event | Action Type | Details |
|---|---|---|
| Pre-tool use | TOOL_CALL | Tool name, input arguments |
| Post-tool use | TOOL_RESULT | Tool output, success/failure |
| Tool failure | TOOL_RESULT | Error message, failure details |
How it works
Theprovenlog-hook command reads Claude Code’s hook event data from stdin, converts it to a ProvenLogEvent, and writes it to the local SQLite database. The hook runs synchronously for PreToolUse (so it can block if needed) and asynchronously for PostToolUse and PostToolUseFailure (to avoid slowing down Claude Code).