CLUE — AI skill for Claude Code
Local-first, bounded, anti-anchoring personal memory & cross-harness session recall for AI coding agents.
How to install CLUE
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open henryyu333/CLUE and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What CLUE does
Local-first, bounded, anti-anchoring personal memory & cross-harness session recall for AI coding agents.
Alternatives in AI
README
clue
**Local-first, bounded, anti-anchoring personal memory & cross-harness session recall for AI coding agents.**
English | [简体中文](./README.zh-CN.md)
`clue` gives every AI coding harness you use — **Antigravity (AGY)**, **Claude Code**, **Codex**, **OMP**, **pi**, **OpenCode**, and **Hermes** — one tiny, Git-audited source of truth for who you are, how you work, what traps you've hit, and what you actually said in past sessions.
Zero cloud services. Zero always-on MCP bloat. Zero vector databases. Zero runtime dependencies beyond [Bun](https://bun.sh).
Why `clue`?
Recent research exposed two uncomfortable truths about agent memory:
- Heavy memory pipelines often underperform direct search (Memory Tax): aggressively summarizing or restructuring conversations introduces faithfulness loss, retrieval mismatch, and cross-model fragility — a memory written by Model A often degrades Model B.
- Preloaded context must stay tiny, and stale notes are worse than no notes (The Components of Agent Memory): longer instruction files reduce adherence, while unverified notes anchor future sessions into repeating the same mistakes.
`clue` is built directly around those findings:
| Layer | File | Purpose | Token Cost |
|---|---|---|---|
| Hot Layer | PROFILE.md + PROJECTS.md |
Who you are + global habits + only the current repo (worktrees auto-normalized) | Tiny & frozen per session (≤1500 + ≤900 chars) — prompt cache stays intact |
| Cold Pitfalls | pitfalls.db + pitfalls.jsonl |
Anti-anchoring bug root causes (root_cause separated from historical_fix, plus rethink_hint & evidence) |
0 tokens until searched (clue search) |
| Verbatim Recall | recall.db (rebuildable cache) |
Incremental SQLite FTS5 search across all 7 harnesses' raw transcripts (including .jsonl.zst Codex rollouts) |
**0 |
Related Skills
Cfetch
Local-first AI agent memory and context engine for Claude Code, Codex, Gemini and MCP: cited Markdown recall,
BladeX
Self-hosted memory-first proxy for AI agents. Cross-session & cross-agent memory + task ledger. Zero code chan
Agent Knowledge
Cross-session memory and recall for AI agents — git-synced knowledge base, hybrid semantic+TF-IDF search, auto
Terminus
Persistent, cross-session memory for Claude Code. Archives every session transcript losslessly, indexes it at
Sessionmem
Local-first MCP memory layer for AI coding assistants; persistent cross-session memory, stored entirely on you
Elepha
Local session memory for Claude Code and Codex. Search your past AI coding sessions and recall them inside the
Related Agents
Memory Recall
Use this agent PROACTIVELY before starting complex, multi-step implementations or when encountering unfamiliar
Context Memory
Keeps the repo's working memory per feature - context, decisions, links and tickets, a todo list, a dated log
Mer Recall
Worker that loads a project's Memory v2 context (mem_state, mem_context, mem_search, mem_get) and reconciles i