Khipu — AI skill for Claude Code
Persistent, cross-session memory for AI coding agents.
How to install Khipu
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open mrkinglollipop/Khipu and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Khipu does
Persistent, cross-session memory for AI coding agents. Mac app and CLI, PostgreSQL 19 with pgvector, a knowledge graph and per-harness hooks. AGPL-3.0.
Alternatives in AI
- Wiki Graph — Build the LLM Wiki knowledge graph 2.3k ★
- Nocturne Memory — A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents 1.3k ★
- Open Dot — Open-source personal AI agents that work on their own, on their own computers 606 ★
README
Khipu
**Khipu gives AI coding agents a memory that outlives the session.**
The name comes from Andean knotted-cord records (*khipu*): memory encoded as structure, not as a pile of chat transcripts.
What it is
Every coding agent forgets. Close the window and the decisions, the constraints and the approaches you already ruled out are gone.
Khipu is a Mac app, a Python CLI and a set of agent integrations. It captures what happened in an agent session, stores it in PostgreSQL as searchable prose plus a knowledge graph, and puts it back in front of the agent when it is relevant. It works across machines.
flowchart LR
A["Agent session
ends or compacts"] --> B["Hook queues
a capture job"]
B --> C["Background drainer
summarises it"]
C --> D[("PostgreSQL")]
D --> E["Next session
gets prior work"]
E --> A
Who it is for
People who use coding agents every day, on one Mac or several, and want the agents to remember. It is a personal system: one database, your machines, your agents.
What it does
- Capture. Hooks in your agents queue a capture after about five user turns or twenty minutes, and always at compaction or session end. A background step summarises each window and writes it to the database.
- Recall. Prior work is pushed into context at session start and on each prompt (Claude Code and Codex). Agents and you can also search by best match, exact words or meaning, or walk the graph.
- Commitments. Open loops from sessions become an Owed list you can close, reopen or snooze.
- Decisions. A registry tracks which decisions still stand, and which were superseded or retracted.
- Briefs and reflect. Optional, off by default: source-backed topic briefs, and answers from memory that cite their sources.
- Libraries. Index a folder of
.txtand.mdfiles as another search space. - Routing and plan usage. Shows each subscrip
Related Skills
Claude Engram
Persistent memory and session intelligence for AI coding assistants. Auto-tracks mistakes, decisions, and cont
Aethos Memory
Universal, cross-tool persistent memory bank for AI assistants (Claude Code, Cursor, Windsurf, OpenCode, Codex
Orange Hourglass
Orange Hourglass 橙色沙漏 — 本地优先、AI 驱动的个人注意力管理工具。Local-first, AI-driven attention management with 4-Agent architec
AI Document Assistant
Secure, multi-tenant enterprise document intelligence & RAG platform: sandboxed ingestion, hybrid pgvector/Qdr
Graqle
Persistent organisational intelligence for AI agents. Turn codebases, documents, policies and decisions into a
MCP Memory Sqlite
A personal knowledge graph and memory system for AI assistants using SQLite with optimized text search. Perfec
Related Agents
Memory Manager
Invoke when the user wants to save brand knowledge to persistent memory, search past campaign learnings, sync
Rememora Triage
Use this agent when triaging issues, feature requests, or bugs for the Rememora project — a cross-agent persis
Claude Harness Engineer
Changes Claude Code harness configuration — settings.json, statusline.sh, CLAUDE.md global rules, hooks, rules