Ccgs
Collaborative Claude Code sessions, stored in Git branches
Details
- External ID
- 48426297
- Source
- HN
- Company
- —
- Product
- Ccgs
- Website domain
- github.com
- Launched
- June 6, 2026
- Cohort
- —
- Upvotes
- 6
- Upvotes percentile
- 0.31420765027322406
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
My team uses Claude Code daily, and the sessions have become some of the most useful artifacts we produce. But they're trapped in ~/.claude/projects/ on whichever laptop they happened on. There's no good way to hand a colleague "the session where I untangled the migration" so they can claude --resume it and keep going from where I left off. Enter ccgs: Share Claude Code sessions through an orphan branch (@ccgs/<name>) in your existing repo's remote- Session files carry the author's absolute paths. On pull, ccgs rewrites the working dir back to your path so resume actually works — surgically editing only the structural cwd field, not a blind find-and-replace that would happily corrupt the transcript.- Everything goes through git plumbing (hash-object/commit-tree/update-ref) against a throwaway index. It never touches your working tree, index, or current branch, and it's fine with a dirty tree. It will not git checkout something behind your back.To try it without installing: `npx claude-git-sessions`. This also incidentally allows you to move a directory and carry the claude code transcripts with it (just push first, then move the directory, then pull)IMPORTANT CAVEAT: Unless you have a very good security hygiene, your Claude Code sessions are likely full of sensitive information such as environment secrets. Use with caution and avoid using on public repositories. Branches used by ccgs are prefixed by `@ccgs/` so you can easily filter them out.This project was written by and with Claude Code. This Show HN was not.(Reposted with URL fixed)
Enrichment
- Theme
- utilities for Claude and Claude Code
- Vertical
- —
- Function
- Dev tools
- Audience
- Developer
- AI stance
- AI feature
- Project type
- Commercial product
- Normalized one-liner
- collaborative coding with claude via git
- Manually corrected
- False
Could you build this?
Yes Ccgs is a developer CLI utility that serializes Claude Code session files from local directories and syncs them using standard Git branches. A solo developer can easily vibe-code this using Node.js, Python, or Go with simple file I/O and Git command wrappers.
Discussion
2 comments analyzed.
Concerns raised: Session artifacts expose sensitive information like env secrets and customer data, Tradeoff between perfect replayability and shareability of transcripts, Risk of making bad security practices (pasting secrets) more visible and permanent
Feature requests: Middle layer to redact/quarantine secrets and high-risk data while preserving resumable state, Aggressive filtering of obvious secret classes before sharing transcripts
Competitors
Other products that read as similar to this one — 406 launches clear the similarity bar, closest 8 shown.
Attention rank: #281 of 407 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 215 days after the earliest competitor.
- Claude-replay · hn · 2026-03-02 · 5 upvotes · similarity 0.71
- Claudebin · hn · 2026-02-19 · 30 upvotes · similarity 0.66
- ccrider - Search and Resume Your Claude Code Sessions · hn · 2026-01-06 · 19 upvotes · similarity 0.62
- Making Claude Code sessions link-shareable · hn · 2026-01-17 · 8 upvotes · similarity 0.58
- A context-aware permission guard for Claude Code · hn · 2026-03-11 · 127 upvotes · similarity 0.58
- Claudit · hn · 2026-02-11 · 7 upvotes · similarity 0.57
- Simple plugin to get Claude Code to listen to you · hn · 2026-03-13 · 18 upvotes · similarity 0.56
- Ccmux · hn · 2026-03-02 · 10 upvotes · similarity 0.55
Other launches for this product
- No other launches for this product.