
CooknCap
Cook n cap, records every Claude Code session, then lets you chat with, mine, and publish what actually happened.
Tech stack
- Languages
- TypeScript
- Frameworks
- Fastify
- React 19
- Electron
- Infra
- SQLite
- Turborepo
- AI tooling
- Anthropic Claude
- MCP
The name is the pitch: cook (write code) n cap (capture what’s being done). CooknCap is a self-hosted overwatcher that watches Claude Code session logs and captures everything, prompts, outputs, progress, into local SQLite. Months of AI-assisted development become a queryable archive instead of a memory.
What it does#
- Captures everything. A file watcher tails the session logs and indexes each session locally. Nothing leaves the machine unless you ask.
- Makes it answerable. Conversational analysis over the archive, so “when did I fix that, and how” is a question rather than an excavation.
- Turns work into output. Blog generation from real sessions, plus an MCP server so other tools can query the archive too.
Why it matters#
If you build with AI agents all day, the session logs quietly become the best record of how your software actually got made: every dead end, every fix, every decision. CooknCap treats that as data worth owning, and keeping it self-hosted means the record of how I work stays mine. It is also where this site’s engineering posts start life, mined from real sessions rather than reconstructed from memory.
The stack#
A TypeScript ESM monorepo (pnpm and Turborepo, 12 packages): Fastify 5 API, React 19 dashboard, Electron desktop app, better-sqlite3 storage and a Commander CLI. 745 passing tests.

