Claude Code forgets between sessions. CloudCtx gives it total recall — every conversation indexed locally, searchable in milliseconds, survives compaction. One command. Full memory.
No more re-explaining your project every session. No more losing context to compaction. No more hunting for threads from last Tuesday.
Every conversation gets indexed into a local SQLite database with FTS5 full-text search. Past errors, old decisions, that clever fix from three weeks ago — all one query away.
Claude searches it automatically — CloudCtx injects instructions into your
CLAUDE.md,
so your agent stops guessing and starts remembering.
When Claude Code compresses your context — manually via
/compact
or automatically when things get long — critical details vanish. CloudCtx detects
compaction and re-injects the last 40 messages from your database
straight back into the conversation.
Your agent picks up exactly where it left off. No "I don't have context about what we were doing." No restart. No lost momentum.
Bookmark threads by name. Resume them from an interactive TUI. Every thread becomes a domain-specific copilot — a meta-ads campaign agent, a web design collaborator, a quote builder that remembers last week's negotiation.
Arrow keys navigate. Enter resumes.
d deletes.
No hunting through session IDs. No stale terminal tabs. Just the threads you work on,
sorted by last activity.
cloudctx launch
— and you're back in.
CloudCtx installs two Claude Code hooks, parses your existing JSONL session files, and stays out of the way. Your data never leaves your machine.
Deliberately small surface area. Everything does one thing well.
Two commands. Works with your existing Claude Code setup. Seeds your full history immediately.
No. Everything lives in
~/.cloudctx/conversations.db
on your local machine. No telemetry, no cloud sync, no API calls. The only network traffic
happens if you explicitly run
cloudctx docs ingest <url>.
No. CloudCtx only reads the JSONL files in
~/.claude/projects/.
It writes to its own database and adds hooks + a CLAUDE.md block. Run
cloudctx reset
and everything it added is gone.
SQLite handles millions of rows comfortably. Tens of thousands of messages land in well under 100 MB. FTS5 queries stay under 50ms at that scale.
Yes —
cloudctx init
walks every JSONL file in
~/.claude/projects/
and indexes it. Months of old conversations become searchable immediately.
MIT licensed. Source on GitHub. Issues and PRs welcome.