frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: AI-context-bridge – Save AI coding context across tools via Git hooks

https://github.com/himanshuskukla/ai-context-bridge
1•himanshuDS•2h ago

Comments

himanshuDS•1h ago
Hey HN,

I built this because I kept losing hours of AI coding context every time a rate limit hit.

The scenario: You're 3 hours into a session with Claude Code. It finally understands your codebase, your decisions, your architecture. Then — rate limit. Session dead. You can't even run a save command.

You open Cursor. "How can I help you today?" Back to square one. 15 minutes re-explaining everything.

I looked for existing tools. Ruler (~2,500 stars) is great at syncing rules across AI tools — if that's what you need, use it. SaveContext captures sessions but uses SQLite and dependencies. But none of them solved the specific problem: when the rate limit hits, you can't run anything. Your context has to already be saved.

So I built ctx. It installs git hooks that auto-save your context on every commit. Pre-generates resume prompts for 11 tools (Claude, Cursor, Codex, Copilot, Windsurf, Cline, Aider, Continue, Amazon Q, Zed, Antigravity). When a rate limit hits, you just open .ctx/resume-prompts/cursor.md, paste, and keep working. In 10 seconds.

The interesting engineering challenge was token-aware compilation — each tool has wildly different size limits (Windsurf: 6K/file, 12K total. Codex: 32 KiB. Claude: ~100K chars). The compiler prioritizes session context over rules and compresses aggressively for tight-budget tools.

Honest disclosure: I'm a project manager, not a CS grad. I built this entire thing through vibe coding with Claude Code. TypeScript, zero production dependencies, 115 tests. It works on itself (I used ctx during its own development when sessions died).

New in the latest version: ctx init --external stores all context outside the project directory (~/.ctx-global/) — zero files in the repo. Built this after I accidentally pushed private session data to a public repo.

    npm i -g ai-context-bridge
    cd your-project
    ctx init              # private repos
    ctx init --external   # public/open-source repos
Zero deps. MIT licensed. Would love feedback, especially from people who use multiple AI coding tools.

Issues with "C99 implementation of new O(m log^(2/3) n) shortest path algorithm"

https://github.com/danalec/DMMSY-SSSP/issues/1
1•dunmalg•3m ago•0 comments

The Future of Social Media Is Human

https://blog.picheta.me/post/the-future-of-social-media-is-human/
1•dom96•3m ago•0 comments

AWS suffered 'at least two outages' caused by AI tools

https://www.tomsguide.com/computing/aws-suffered-at-least-two-outages-caused-by-ai-tools-and-now-...
1•randycupertino•3m ago•1 comments

Show HN: MachineAuth:open source Google login for your AI Agent

https://github.com/mandarwagh9/MachineAuth
2•mandarwagh•4m ago•0 comments

Is this cloud/local boundary for trading infra reasonable?

1•Sultan_Custodia•5m ago•0 comments

Zoye – The First AI Native Workspace for All Your Business Tools

https://zoye.io/
1•anizeu•5m ago•1 comments

The British get a nosebleed when they get too successful

https://www.reaction.life/p/the-british-get-a-nosebleed-when
1•ossa-ma•7m ago•0 comments

Liver exerkine reverses Alzheimer's-related memory loss via vasculature

https://www.sciencedirect.com/science/article/pii/S009286742600111X
4•PaulHoule•10m ago•0 comments

Show HN: Shibuya – A High-Performance WAF in Rust with eBPF and ML Engine

https://ghostklan.com/shibuya.html
3•germainluperto•11m ago•0 comments

The Era of AI human clone

1•Metalcode•11m ago•0 comments

Show HN: I built a tool track cash flow without the "spreadsheet stress"

https://www.opboard.io/
1•wwxoxo•11m ago•1 comments

Baudbot: Always-on AI assistant for dev teams

https://github.com/modem-dev/baudbot
1•tosh•13m ago•0 comments

Why Frederick Wiseman Was the Greatest Documentary Filmmaker Ever

https://www.newyorker.com/culture/the-front-row/why-frederick-wiseman-was-the-greatest-documentar...
1•mitchbob•13m ago•1 comments

Anthropic announces proof of distillation at scale by MiniMax, DeepSeek,Moonshot

https://twitter.com/anthropicai/status/2025997928242811253
7•Jimmc414•14m ago•3 comments

Lucid cuts 12% of its US workforce in a profitability push

https://sherwood.news/markets/lucid-cuts-12-of-its-us-workforce-in-a-profitability-push/
1•avonmach•17m ago•0 comments

Show HN: I vibe-coded a custom WebGPU engine for my MMO

https://github.com/verekia/voidcore
1•jverrecchia•17m ago•0 comments

Show HN: Code that makes Einstein's equivalence principle bidirectional

https://go.dev/play/p/LtvvBYQN3t7
1•u3829hg•20m ago•0 comments

The "giddy nothingness" of AI coding (from creator of Dapper, OTel, etc.)

https://foggyfuture.substack.com/p/the-giddy-nothingness-of-automatic
2•el_bhs•21m ago•0 comments

The Fundraising Tactic AI Startups Are Using to Juice Valuations

https://www.wsj.com/business/entrepreneurship/the-fundraising-tactic-ai-startups-are-using-to-jui...
1•vshastry•21m ago•0 comments

Lifo – Browser-Native OS for AI Sandboxing

https://lifo.sh
1•twapi•22m ago•1 comments

Webspace Invaders

https://matthiasott.com/articles/webspace-invaders
1•eustoria•22m ago•0 comments

Hate the peer-review process? Einstein did too (2014)

https://theconversation.com/hate-the-peer-review-process-einstein-did-too-27405
1•Tomte•22m ago•0 comments

Show HN: RBAC Algorithm – Pure Python, hybrid RBAC+ABAC, pluggable storage

https://github.com/Maneesh-Relanto/RBAC-algorithm
1•maneeshthakur•24m ago•0 comments

An in-depth guide to customising lists with CSS

https://piccalil.li/blog/an-in-depth-guide-to-customising-lists-with-css/
1•eustoria•24m ago•0 comments

What are your top 5 missing features of OpenClaw?

2•challehallberg•25m ago•0 comments

CEO Phil Spencer and Xbox President Sarah Bond Depart

https://sherwood.news/business/microsoft-makes-dramatic-shakeup-to-its-gaming-division-as-gaming-...
1•avonmach•28m ago•2 comments

Scrapping business class could halve aviation emissions – new study

https://theconversation.com/scrapping-business-class-could-halve-aviation-emissions-new-study-275474
2•DamonHD•28m ago•0 comments

Eac-d – lightweight push-to-deploy for Proxmox LXC (Go, no CI platform)

https://github.com/FratteFlorian/easycd
1•flofra•29m ago•1 comments

Show HN: Rhome, a social app for media recs from friends instead of algorithms

https://preview.rhomeapp.com/profile/rohannihalani
3•rohannih•31m ago•0 comments

One-liner to get Claude Code usage stats

https://github.com/anthropics/claude-code/issues/13585
1•behnamoh•31m ago•0 comments