尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
Memory built for AI coding — local, searchable memory across your Claude Code, Codex & Gemini CLI sessions, callable by your agents.
翻译准备中
正在加载完整 README。
查看完整 README ↗Memory built for AI coding. · Pick work back up with context, not guesswork.
I wanted to remember what we discussed about my projects, and couldn't find past discussions, decisions, or feedback. The AI agents also seemed to forget.
So I built cc-anywhere — for me and the AI coding agents. One memory layer; both audiences read it the same way.
Every Claude Code, Claude Cowork, Codex CLI / Desktop, and Gemini CLI session you run gets captured into a fast local SQLite database with full-text and natural-language search. Then you can ask any future session — Claude, Codex, Gemini, anything that can shell out to a CLI — "what did we decide about auth last week?" and get the actual past conversation back.
pip install cc-anywhere
cc-anywhere --init
Prefer pipx, or
pipblocked byexternally-managed-environment(common with Homebrew Python)?pipx install cc-anywhereworks the same.
Two minutes, fully local, no account. Open a fresh session and ask "what did we decide last week?" — recall fires automatically. Platform notes and manual commands are in Install below.
cc-anywhere --ask "what did we decide about auth?"
cc-anywhere --ask "catch me up"
cc-anywhere --ask "the pricing page"
And under the hood:
--daily / --weekly / --monthly activity reports, plus opt-in cross-machine sync (your own private GitHub repo, an external SSD, or an iCloud / Dropbox / NAS folder).pip install cc-anywhere
cc-anywhere --capture
cc-anywhere --ask "what did we decide about auth?"
That's the whole thing. The third command searches every Claude Code, Claude Cowork, and Codex session you've ever had on this machine and returns the conversations that match — ranked, with project, speaker, and timestamp.
The first time you run it, search will surface conversations from months ago that you'd half-forgotten. The moment people realize their entire AI coding history just became queryable is the moment this project earns its keep.
--ask routes automatically# Topical recall — name a subject, get the relevant past conversations
cc-anywhere --ask "what did we decide about pricing"
# Temporal recall — name a time window, get a chronological pull (no keywords needed)
cc-anywhere --ask "what was I working on today"
cc-anywhere --ask "this week"
cc-anywhere --ask "catch me up"
Wide windows (this week / month) return a daily rollup with drill-in hints so you can walk back into a specific day. Narrow windows return a per-session list with previews.
cc-anywhere --usage
Modeled on Claude Code's /usage but with longer time horizons (not capped at 30 days), per-project breakdown, per-machine breakdown when sync data is present, and a marathon-sessions view.
cc-anywhere --llm-guide
Prints the full LLM-facing usage reference (query patterns, drill-in, when not to use, code-vs-conversation interplay). Reachable from any cwd, so an agent in any session can fetch it. LLM-CHEATSHEET.md at the repo root mirrors the same content for human reading.
AI coding assistants are great at remembering inside a session and unaware of everything before it. ChatGPT memory is locked to ChatGPT. Claude memory is locked to Claude. Codex has no cross-tool memory at all. Vendors won't fix this — siloed memory is a feature of their lock-in, not a bug.
cc-anywhere is the local layer that gives that history back to you. User-owned, vendor-neutral, fully on your machine, free.
It also exposes that memory to coding agents. A human can use the CLI directly, or an agent can call --ask, --view, and --source on the user's behalf to recover project context before acting.
Once installed on a machine, any coding agent that can run local shell commands can theoretically use it as a memory layer. Today that means Claude Code and Codex are the concrete first-class examples; other CLI-capable agents can use the same interface as long as they can execute local commands and read the output.
One command on macOS and Linux (including WSL):
pip install cc-anywhere
cc-anywhere --init
Prefer pipx, or
pipblocked byexternally-managed-environment?pipx install cc-anywhereworks the same.
--init is idempotent and does three things:
~/.claude/settings.json so future sessions auto-load past context and capture on exit. Existing hooks are preserved, never replaced.以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗