Show HN: Capn-hook for coding agents – don't grep the same mystery twice
Category: devtools
Tags: coding-agent, developer-tools, persistent-memory
Score: 6.8/10 (Innovation: 7, Technical: 6, Documentation: 8, Utility: 6)
Capn-hook provides persistent memory for coding agents by saving and retrieving file-level answers to questions about a codebase, significantly reducing token usage on repeated queries. It uses SHA256 file fingerprinting and automatic invalidation to ensure answers remain accurate, integrating with Claude Code and Codex via session hooks. This tool is innovative in combining agent memory with codebase change detection, filling a clear pain point in agent-assisted development workflows.
Target audience: backend devs, frontend devs, devops
Repository: https://github.com/cyrusNuevoDia/capn-hook · TypeScript · MIT · 17 stars
View on Hacker News