Auto-generated by trend-scout.py β review and edit as needed.
π What problem it solves
Long-term memory layer for Claude Code and Codex β markdown-in-git knowledge base, SQLite FTS5 retrieval, MCP, and native agent hooks.
π
Timeline
| Field |
Value |
| Created |
2026-04-18 |
| Last pushed |
2026-07-17 |
| Stars |
2 |
| Forks |
0 |
| Open issues |
7 |
| License |
MIT |
| Language |
TypeScript |
| Topics |
agent-tools, ai-tools, anthropic, claude-code, cli, codex, coding-agents, developer-tools, fts5, knowledge-base, markdown, mcp, obsidian, openai, sqlite, typescript |
β
Strengths
- Well-tagged: agent-tools, ai-tools, anthropic, claude-code, cli, codex
- Primary language: TypeScript
- Actively maintained (pushed within 30 days)
β οΈ Weaknesses / Risks
- Low star count (2) β limited community validation
π‘ What this repo can learn
- Claude Code session patterns: this repo's Claude Code integration approach could improve
claude-adapter.py's JSONL parsing β e.g., handling new session event types or extracting richer metadata from Claude Code tool-use blocks
- CLI verb patterns: a clear add/search/update/delete verb model (like
memory-tool add / search / dream) could streamline the UX of query-session.py and learn.py, making them easier to invoke from hooks or scripts
- Git hook / workflow patterns: hook design from this repo could strengthen the
hooks/ enforcement chain (e.g., auto-briefing, commit guards, learn reminders)
- MCP tool-server surface: the MCP server interface here could expose
query-session.py and briefing.py as directly callable MCP tools β e.g., a Copilot agent could invoke the briefing lookup in-process rather than shelling out to a subprocess, reducing latency in hook-driven workflows
README excerpt
<p align="center">
<img src=".github/og.png" alt="Caveat β long-term memory layer for coding agents" width="100%">
</p>
# Caveat
[](https://www.npmjs.com/package/caveat-cli)
[](https://github.com/kitepon-rgb/Caveat/actions/workflows/ci.yml)
[](LICENSE)
[](https://nodejs.org/)
[](https://github.com/kitepon-rgb/Caveat/releases)
> **Stop rediscovering the same trap.** Caveat is a long-term memory layer for Claude Code and Codex: every time you bleed for an external-spec quirk or a repo-specific oddity, write it down once β and the next time anyone (you or your AI) is about to step on the same rake, the relevant note surfaces automatically.
π―π΅ **ζ₯ζ¬θͺη**: [README.ja.md](README.ja.md)
## What it does in 30 seconds
```sh
npm install -g caveat-cli
caveat init # registers Claude Code MCP + hooks
caveat codex-hook install # optional: register native Codex hooks
On macOS with Homebrew Node, generated hook commands use the stable
/opt/homebrew/bin/node symlink when it resolves to the current Node binary,
instead of a versioned `/opt/ho
(truncated)
</details>
---
*Scouted on 2026-07-17 Β· [View on GitHub](https://github.com/kitepon-rgb/Caveat)*
<!-- trend-scout:repo:c8cb7d8d79cc44a2 -->
π Trend Scout: kitepon-rgb/Caveat
π What problem it solves
Long-term memory layer for Claude Code and Codex β markdown-in-git knowledge base, SQLite FTS5 retrieval, MCP, and native agent hooks.
π Timeline
β Strengths
π‘ What this repo can learn
claude-adapter.py's JSONL parsing β e.g., handling new session event types or extracting richer metadata from Claude Code tool-use blocksmemory-tool add/search/dream) could streamline the UX ofquery-session.pyandlearn.py, making them easier to invoke from hooks or scriptshooks/enforcement chain (e.g., auto-briefing, commit guards, learn reminders)query-session.pyandbriefing.pyas directly callable MCP tools β e.g., a Copilot agent could invoke the briefing lookup in-process rather than shelling out to a subprocess, reducing latency in hook-driven workflowsREADME excerpt
On macOS with Homebrew Node, generated hook commands use the stable
/opt/homebrew/bin/nodesymlink when it resolves to the current Node binary,instead of a versioned `/opt/ho
(truncated)