Grep every Claude Code session you've ever run.
Project description
Grep every Claude Code session you've ever run. cc-transcript's lossless parser reads Claude Code's on-disk JSONL; the CLI lists transcripts, greps their content, and renders one compact line per event.
Get started
uvx cc-transcript list
Every session is already on disk under ~/.claude/projects. list finds them newest first, and stats collapses one into a screenful:
Driving with an agent? Paste this:
/plugin marketplace add yasyf/cc-transcript
/plugin install cc-transcript@cc-transcript
The plugin's skill teaches Claude to answer "what did I ask you yesterday" from its own history, funneling through the CLI instead of reading raw JSONL.
No Claude Code? Point any agent at the CLI
Use `uvx cc-transcript` to investigate my Claude Code sessions: `list` finds
transcripts on disk, `stats` summarizes one, `grep` searches content, and `show`
renders one compact line per event. Start by listing my newest sessions and
summarizing the most recent one. Docs: https://yasyf.github.io/cc-transcript/
Use cases
Ask Claude what you asked Claude yesterday
Yesterday's session is a megabyte of JSONL, and pasting it into a chat blows the context window. Render the spine instead:
uvx cc-transcript show --signal --tail 20 ~/.claude/projects/<project>/<session>.jsonl
--signal keeps only the substantive user and assistant turns. One line per event, a few hundred tokens for the whole exchange. With the plugin installed, skip the command and ask Claude directly; its skill runs this funnel for you.
Find the session where you fixed that bug
The fix happened weeks ago, in one of a few hundred transcripts. Search them all:
uvx cc-transcript grep "TranscriptExpiredError" --project cc-transcript
Hits print under their transcript's path, each line carrying its raw event index; feed an index back into show --range to re-read the conversation around the fix. grep searches your newest 50 transcripts by default; --all takes it to every session on disk, and a no-match run exits 1 so it scripts cleanly.
Debug a token blowup from transcript evidence
A session burned through the context window and you want the culprit, not a guess. Rank the evidence:
uvx cc-transcript stats --per-file --project myapp
Each block reports text, thinking, and tool-io bytes plus per-tool call counts; the blowup stands out as an outsized tool io line. Then grep --tool <name> --with-result pins it to the exact calls.
More in the docs
- The Python library turns raw JSONL bytes into typed events, a composed filter, and a score in a dozen lines.
- Filtering events covers composable clauses, specs, and the ready-made
NOISE_SPEC. - Sentiment scoring buckets conversations and scores them around any inference engine.
- Feedback mining runs detectors, confidence calibration, and LLM verdict passes over your corpus.
- Two backends, one protocol pairs a Rust fast path with a Python reference, parity-asserted against each other.
- API reference documents the complete typed surface, from
TranscriptEventtoSessionActivity.
Read the docs for the full guide. Licensed under PolyForm Noncommercial 1.0.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cc_transcript-12.0.0.tar.gz.
File metadata
- Download URL: cc_transcript-12.0.0.tar.gz
- Upload date:
- Size: 212.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b56af30ed14afcb2fbaef47dd3e6cd8a49a76d1dd75bf23c77713f027e041878
|
|
| MD5 |
93e2c99d72207d49f1022509eeb1c95c
|
|
| BLAKE2b-256 |
f59aab8d725160d1a31dd948654ef57434b626c91cc38b65aabedb2121d7850a
|
Provenance
The following attestation bundles were made for cc_transcript-12.0.0.tar.gz:
Publisher:
release-pypi.yml on yasyf/cc-transcript
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cc_transcript-12.0.0.tar.gz -
Subject digest:
b56af30ed14afcb2fbaef47dd3e6cd8a49a76d1dd75bf23c77713f027e041878 - Sigstore transparency entry: 2146823109
- Sigstore integration time:
-
Permalink:
yasyf/cc-transcript@53a99b82f899716d937a04c1538f9ac526cc60b0 -
Branch / Tag:
refs/tags/v12.0.0 - Owner: https://github.com/yasyf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@53a99b82f899716d937a04c1538f9ac526cc60b0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cc_transcript-12.0.0-cp313-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: cc_transcript-12.0.0-cp313-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.13+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf9aa95079d21c7048e044572326d126e9eeb3a1f8a3850e6170d4142d38e748
|
|
| MD5 |
d1fb80129a2ff9c3b81e8b019e3109f0
|
|
| BLAKE2b-256 |
8e8b4a41e4ece3cf210ffaf72418144579eafee05dce5815e936b4fc93344433
|
Provenance
The following attestation bundles were made for cc_transcript-12.0.0-cp313-abi3-manylinux_2_28_x86_64.whl:
Publisher:
release-pypi.yml on yasyf/cc-transcript
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cc_transcript-12.0.0-cp313-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
cf9aa95079d21c7048e044572326d126e9eeb3a1f8a3850e6170d4142d38e748 - Sigstore transparency entry: 2146824014
- Sigstore integration time:
-
Permalink:
yasyf/cc-transcript@53a99b82f899716d937a04c1538f9ac526cc60b0 -
Branch / Tag:
refs/tags/v12.0.0 - Owner: https://github.com/yasyf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@53a99b82f899716d937a04c1538f9ac526cc60b0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cc_transcript-12.0.0-cp313-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: cc_transcript-12.0.0-cp313-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.13+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4e2f459744085274f177f5689d8a82c1563dc0eef8c776256b4b7263105d623
|
|
| MD5 |
ce768629738d104c13659690e726fdc6
|
|
| BLAKE2b-256 |
3abe149e94bc7777b579424f54165d71e5472d583cee91f14ca2e9e3c75c1e32
|
Provenance
The following attestation bundles were made for cc_transcript-12.0.0-cp313-abi3-manylinux_2_28_aarch64.whl:
Publisher:
release-pypi.yml on yasyf/cc-transcript
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cc_transcript-12.0.0-cp313-abi3-manylinux_2_28_aarch64.whl -
Subject digest:
a4e2f459744085274f177f5689d8a82c1563dc0eef8c776256b4b7263105d623 - Sigstore transparency entry: 2146825150
- Sigstore integration time:
-
Permalink:
yasyf/cc-transcript@53a99b82f899716d937a04c1538f9ac526cc60b0 -
Branch / Tag:
refs/tags/v12.0.0 - Owner: https://github.com/yasyf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@53a99b82f899716d937a04c1538f9ac526cc60b0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cc_transcript-12.0.0-cp313-abi3-macosx_11_0_x86_64.whl.
File metadata
- Download URL: cc_transcript-12.0.0-cp313-abi3-macosx_11_0_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.13+, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19c323edbd3aeb1255536504d888362e8e6f9f546016598ca4c6823fd00fbfe9
|
|
| MD5 |
3172aa6098d04f4098c8a603bd9c5a2e
|
|
| BLAKE2b-256 |
5b66f728299f55c3b1a7d5c1c046625df1cf7ec7f019f58c3f654cec80c33092
|
Provenance
The following attestation bundles were made for cc_transcript-12.0.0-cp313-abi3-macosx_11_0_x86_64.whl:
Publisher:
release-pypi.yml on yasyf/cc-transcript
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cc_transcript-12.0.0-cp313-abi3-macosx_11_0_x86_64.whl -
Subject digest:
19c323edbd3aeb1255536504d888362e8e6f9f546016598ca4c6823fd00fbfe9 - Sigstore transparency entry: 2146824689
- Sigstore integration time:
-
Permalink:
yasyf/cc-transcript@53a99b82f899716d937a04c1538f9ac526cc60b0 -
Branch / Tag:
refs/tags/v12.0.0 - Owner: https://github.com/yasyf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@53a99b82f899716d937a04c1538f9ac526cc60b0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cc_transcript-12.0.0-cp313-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: cc_transcript-12.0.0-cp313-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.13+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
818f65c726d50ea696a3fb41892f99ef96b19f00ecf877bd6370e16cf92087db
|
|
| MD5 |
c0f748de24dc5add4990ba996ed35aaa
|
|
| BLAKE2b-256 |
a9822578e9f239ec0f64d87ff0e4382ab35593e1ce3296da3668f4509d91adf1
|
Provenance
The following attestation bundles were made for cc_transcript-12.0.0-cp313-abi3-macosx_11_0_arm64.whl:
Publisher:
release-pypi.yml on yasyf/cc-transcript
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cc_transcript-12.0.0-cp313-abi3-macosx_11_0_arm64.whl -
Subject digest:
818f65c726d50ea696a3fb41892f99ef96b19f00ecf877bd6370e16cf92087db - Sigstore transparency entry: 2146823456
- Sigstore integration time:
-
Permalink:
yasyf/cc-transcript@53a99b82f899716d937a04c1538f9ac526cc60b0 -
Branch / Tag:
refs/tags/v12.0.0 - Owner: https://github.com/yasyf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@53a99b82f899716d937a04c1538f9ac526cc60b0 -
Trigger Event:
push
-
Statement type: