Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
jaytoone avatar

Ctx

  • 9 repo stars
  • Updated May 21, 2026
  • jaytoone/CTX

Give Claude cross-session memory: a decision timeline from git log plus BM25 search over docs and code, wired through production hooks.

About

ctx provides cross-session memory for Claude Code, combining a decision timeline built from git log with BM25 search over docs and code. It ships four production hooks that surface visible failure warnings and measured utility. Aimed at keeping context and past decisions available across sessions.

  • Cross-session memory
  • Decision timeline from git log
  • BM25 docs/code search
  • Production hooks with failure warnings

Ctx by the numbers

  • Data as of Jul 20, 2026 (Skillselion catalog sync)
/plugin marketplace add jaytoone/CTX
/plugin install ctx@jaytoone

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars9
Last updatedMay 21, 2026
Repositoryjaytoone/CTX

What it does

Give Claude cross-session memory: a decision timeline from git log plus BM25 search over docs and code, wired through production hooks.

README.md

CTX — Cross-Session Memory for Claude Code

CTX gives Claude Code persistent memory across sessions. It injects relevant past decisions, docs, and context into every prompt automatically via three retrieval layers:

  • G1 (time) — recent git commit decisions, ranked by BM25 relevance to the current prompt
  • G2 (space) — BM25 search over project docs and code files
  • CM (chat) — semantic search over past conversation summaries (optional vec-daemon)

Install

pip install ctx-retriever
ctx-install

Or via Claude Code plugin (this package):

/plugin install ctx@jaytoone

The Setup hook installs dependencies and wires hooks automatically. Restart Claude Code after install.

How it works

CTX runs as Claude Code hooks. On every prompt, it retrieves the top-k relevant memories and injects them as additionalContext so Claude sees your project history without you having to re-explain it.

Requirements

  • Python 3.9+
  • pip

License

MIT — see LICENSE

Links

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.