rewatch
analytics over your claude code session transcripts.
claude code keeps a jsonl transcript of every session under ~/.claude/projects/.
rewatch separates what you actually typed from harness noise (tool results,
slash-command expansions, subagent sidechains) and tells you things like:
- your most-repeated literal prompts (everyone has a "make the PR description not suck")
- how often you open with
no/wait/stop/actually - where your prompts, interrupts, and output tokens go, per project
- which tools claude leans on, and what hours you really work
install
uv tool install rewatch
usage
rewatch report # the whole picture, human-formatted
rewatch prompts --pretty # most-repeated literal prompts
rewatch hours --pretty # prompts by local hour of day
rewatch overview --days 7 # recent only
machine-readable by default — lists are ndjson, single results are one json object — so output pipes straight into jq or an agent:
rewatch projects | jq -r '.project'
note: claude code prunes local transcripts (30 days by default, see
cleanupPeriodDays), so rewatch sees a rolling window, not all time.
library
from rewatch import load_sessions, repeated_prompts
sessions = load_sessions(days=30)
for text, count in repeated_prompts(sessions, top=10):
print(count, text)
Metadata
Release files for rewatch 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rewatch-0.1.0.tar.gz | 16.8 kB | Without provenance | Details for rewatch-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rewatch-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for rewatch-0.1.0-py3-none-any.whl |
Total release size: 24.8 kB
Release files / rewatch-0.1.0.tar.gz
| Download URL | rewatch-0.1.0.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
215e2c77181d87285460326d46453e54d21e136a9204041c7d96ec7e48d285b5
|
|
BLAKE2b-256 checksum How to use checksums |
78340a132115eb851a64504dd5bc9e5798b2d31734257d681f56238f4db4086e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / rewatch-0.1.0-py3-none-any.whl
| Download URL | rewatch-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95bc141ab3e07c4462d9a68b430bc497e4e126aea808e3ba31ce930026c6e721
|
|
BLAKE2b-256 checksum How to use checksums |
ac8daecb7dd0dfd22592b7680bc93e7c0e98a48c7a050f6a9a7710567b7e24db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for rewatch 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.