henryyu333

CLUE — AI skill for Claude Code

AI community

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

  • Ataru — High-performance AI memory retrieval for local agent history — a Rust search core (SDK / API / JSON CLI) plus 351 ★
  • Tastecode — Personal Harness - a beautiful, adaptive control panel for AI coding agents 292 ★
  • Engrim — The Universal Cross-Model Episodic Memory Standard 219 ★

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:

  1. 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.
  2. 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