Ctx – a /resume that works across Claude Code and Codex

ctx is a local SQLite-backed skill for Claude Code and Codex that stores context as a persistent workstream that can be continued across agent sessions. Each workstream can contain multiple sessions, notes, decisions, todos, and resume packs. It essentially functions as a /resume that can work across coding agents.Here is a video of how it works: https://www.loom.com/share/5e558204885e4264a34d2cf6bd488117I initially built ctx because I wanted to try a workstream that I started on Claude and continue it from Codex. Since then, I’ve added a few quality of life improvements, including the ability to search across previous workstreams, manually delete parts of the context with, and branch off existing workstreams.. I’ve started using ctx instead of the native ‘/resume’ in Claude/Codex because I often have a lot of sessions going at once, and with the lists that these apps currently give, it’s not always obvious which one is the right one to pick back up. ctx gives me a much clearer way to organize and return to the sessions that actually matter.It’s simple to install after you clone the repo with one line: ./setup.sh, which adds the skill to both Claude Code and Codex. After that, you should be able to directly use ctx in your agent as a skill with ‘/ctx [command]’ in Claude and ‘ctx [command]’ in Codex.A few things it does:- Resume an existing workstream from either tool- Pull existing context into a new workstream- Keep stable transcript binding, so once a workstream is linked to a Claude or Codex conversation, it keeps following that exact session instead of drifting to whichever transcript file is newest- Search for relevant workstreams- Branch from existing context to explore different tasks in parallelIt’s intentionally local-first: SQLite, no API keys, and no hosted backend. I built it mainly for myself, but thought it would be cool to share with the HN community.

Hacker NewsToolAISource
0Sign in to voteCopy link

FL score

62

out of 100

Verdict

VALIDATE

medium confidence

Competition

No competitor data yet

Trend

No signal yet

A local SQLite skill that persists coding context across Claude and Codex sessions, replacing their native resume features with better organization.

The pain

Developers juggling multiple AI coding agent sessions lose track of which conversation contains relevant work. Native resume lists are unorganized and don't show context clearly. Switching between Claude and Codex means losing continuity on the same task.

The gap

No tool currently bridges Claude and Codex sessions or provides persistent, searchable context management for multi-agent coding workflows. The native resume feature is a flat list without semantic organization.

Build angle

Start by validating whether developers actually need cross-platform continuity (Claude to Codex) or if the real problem is just better session organization within one platform. Test with 20-30 active users doing multi-session coding work. Measure: do they actually switch platforms mid-project, or is that a false premise? If the core value is organization, consider whether this should be a Claude-only or Codex-only product first.

Strengths

  • Solves a real friction point the builder experiences daily (credible founder-market fit)
  • Local-first architecture removes friction, no auth, no backend, one-line setup
  • Works within existing tools rather than requiring new platform adoption
  • Specific features (branching, search, stable transcript binding) show thoughtful design
  • Open source on HN suggests community validation potential

Risks

  • Market size unclear, how many developers actually use both Claude and Codex regularly for coding? This may be a niche within a niche.
  • Dependency risk: Claude and Codex control their APIs and skill systems. A platform change breaks the product.
  • Adoption friction: requires manual installation and CLI commands. Competes against built-in features users already have.
  • Monetization path is invisible. Open source tool with no clear business model.
  • The problem may not be cross-platform continuity but rather that developers shouldn't be juggling multiple agents simultaneously. Solving the wrong problem.
  • No evidence of product-market fit beyond one user (the builder). Needs external validation.

Questions about this idea?

FlyBot reads the scoring and gives you a second opinion on “Ctx – a /resume that works across Claude Code and Codex”.

Open FlyBot