Skip to main content

cctree

Personal Claude Code session browser, fork-from-message tool, and history navigator.

Status

Phase 0: scaffolded. Implementation pending /plan-eng-review.

What it does

cctree reads your existing Claude Code session JSONL files in ~/.claude/projects/ and gives you what the built-in TUI doesn't:

  • Browse all sessions across all projects, including ones the resume picker hides (50-cap, custom-titled, etc.)
  • Read pre-compaction history that the TUI stops showing after /compact (the data is in the JSONL — we just render it)
  • Hierarchical navigation of tool calls and subagent transcripts (collapsible, drillable)
  • Task evolution scrubbing — watch your task list change over the course of a session
  • Fork from any message — not just the session HEAD like claude --fork-session — start a fresh Claude Code session from any historical point in any conversation
  • Search across all sessions by keyword/phrase
  • Tags, stars, custom names in a local SQLite metadata layer

Phase 1 ships a CLI. Phase 2 adds a Textual TUI sharing the same core.

Why

The Claude Code TUI access layer has gaps tracked in #27242 and related issues. The data layer is intact — JSONLs are append-only and crash-safe — but the TUI doesn't expose it. cctree is the missing reading lamp.

See docs/ceo-plan.md for the full strategic plan and rationale.

Install

pipx install -e ~/projects/cctree

Layout

cctree/
├── pyproject.toml
├── README.md
├── cctree/
│   ├── __init__.py
│   ├── core/         # JSONL parser, model, tree, forge, tasks, search, export
│   ├── cli/          # Phase 1 — Click-based subcommands
│   └── storage/      # SQLite metadata layer
├── tests/
└── docs/
    └── ceo-plan.md   # Full CEO plan from /plan-ceo-review

License

Personal use.

Metadata

Release files for cctree 0.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cctree 0.5.5
File Size Uploaded Provenance Actions
cctree-0.5.5.tar.gz 263.4 kB Without provenance Details for cctree-0.5.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cctree 0.5.5
File Interpreter ABI Platform Actions
cctree-0.5.5-py3-none-any.whl Python 3 none any Details for cctree-0.5.5-py3-none-any.whl

Total release size: 361.3 kB

Release files / cctree-0.5.5.tar.gz

Download URL cctree-0.5.5.tar.gz
Size 263.4 kB
Tags Source
SHA-256 checksum
How to use checksums
357b6af21b9bede3df1d2a2570aeb6c545f24c84c7541605ec0c30bd7261257f
BLAKE2b-256 checksum
How to use checksums
c829232fa941d0bb5b6d2a964c28c24b1e0bdfd632df6ae515d363d56607dbf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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 / cctree-0.5.5-py3-none-any.whl

Download URL cctree-0.5.5-py3-none-any.whl
Size 98.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72f6dec0c6e04eb9e76f5c4866fbbf5c56e75e8718ff979ed99abe284c5ae3e1
BLAKE2b-256 checksum
How to use checksums
ddcc7fb33b81b01c9c1cfe995af9cefbcfc535763622914b1d4eb64a42cedc72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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 cctree 0.5.5

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page