shardstitch
v0.0.6
Published
ShardStitch — capture your AI coding session (git diff, dependency graph, intent) and stitch it into the next tool. 22 AI tools supported. 100% local, zero telemetry. https://shardstitch.com
Downloads
537
Maintainers
Readme
ShardStitch
"Rate limit reached." "Context window full." "VRAM out of memory."
Your code is half-written. Your plan is in your head. ShardStitch captures your entire session — git diff, changed files, dependency graph, intent — and stitches it into the next AI tool. One hotkey. Keep building like nothing happened.
Install
npm install shardstitch
npx shardstitchWhat it does
When Claude, Cursor, Codex, or Gemini locks you out mid-session, ShardStitch:
- Scans your project — git diff, changed files, recent commits, your notes
- Builds a dependency graph — impact radius, architecture communities — and warns the next AI what's dangerous to touch
- Generates a continuation prompt formatted for the target tool
- Injects it into the tool's pickup file (CLAUDE.md, AGENTS.md, GEMINI.md, .cursorrules) for automatic discovery
Under 30 seconds, end to end.
Not just for switching tools
The same trick fixes a bloated session in the same tool. Long AI chats accumulate a huge context tree — token burn climbs, responses slow down, and eventually you hit "Service is busy" even with quota left. ShardStitch is the clean-restart button: extract a compact context, open a fresh window of the same tool, paste, keep going.
22 supported AI tools
Claude Code, Claude Desktop, Cursor, Codex CLI, Gemini CLI, Windsurf, Aider, Kiro, Amazon Q Developer, DeepSeek, ChatGPT, OpenCode, Trae, Factory Droid, OpenClaw, VS Code Copilot, JetBrains AI, Zed AI, Replit Agent, Cody, Continue, and Tabnine.
7 surfaces
- Web dashboard — scan, generate, copy, download
- VS Code / Cursor extension — Alt+G hotkey
- MCP server — Claude Code and Cursor call it directly
- CLI —
npx shardstitchorshardstitch capture - Desktop app — standalone Windows exe
- Autosave hooks — auto-inject on session end
- Local LLM failover — Ollama, vLLM, LM Studio (zero cloud)
Key features
- Per-agent formatting — 22 format adapters, one for each tool
- AI task router — semantic matching picks the best tool for each task
- Persistent memory — project decisions survive across sessions
- Team coordination — shared
.shardstitch/directory - Tamper-evident audit trail — hash-chained timeline logs
- Dependency graph analysis — impact radius, god nodes, architecture communities
100% local
Your code never leaves your machine. No cloud, no telemetry, no account required. All processing happens on your hardware.
Links
- Website: https://shardstitch.com
- GitHub: https://github.com/shardstitch/shardstitch
- X / Twitter: https://x.com/ShardStitch
- VS Code / Cursor Extension: https://marketplace.visualstudio.com/items?itemName=shardstitch.shardstitch
- Changelog: https://github.com/shardstitch/shardstitch/releases
- Support: [email protected]
