HyperMnesia — Data skill for Claude Code
Self-hosted long-term memory for AI coding agents: Postgres+pgvector doc-RAG (component/constraint map + hybrid RRF + cross-encoder rerank) and bi-temporal personal memory.
How to install HyperMnesia
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Recluse/HyperMnesia and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What HyperMnesia does
Self-hosted long-term memory for AI coding agents: Postgres+pgvector doc-RAG (component/constraint map + hybrid RRF + cross-encoder rerank) and bi-temporal personal memory. MCP-native, local-model friendly.
Alternatives in Data
- Private GPT — Complete API layer for private AI applications on local models: RAG, skills, tools, MCP, text-to-sql, and more 57.5k ★
- OpenViking — Self-evolving Context Database for AI Agents 33.3k ★
- Sprite Gen — Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame 763 ★
README
HyperMnesia
*The opposite of amnesia* (Greek *hypermnesia* -- abnormally complete recall). Self-hosted long-term memory for AI coding agents -- a Postgres-backed store that gives an agent (Claude Code, or any MCP client) two things:
- Architectural memory (doc-RAG + Tier 0/1) -- your repos' docs made searchable, plus a deterministic component -> constraint model so the agent knows the rules that apply to a file before it edits, without a search.
- Personal memory -- durable facts/preferences/decisions distilled from work sessions and injected back automatically, so the agent stops re-learning the same things every session.
One store (Postgres + [pgvector](https://github.com/pgvector/pgvector)), local-model friendly (embeddings via [Ollama](https://ollama.com) or [TEI](https://github.com/huggingface/text-embeddings-inference)), MCP-native, no cloud dependency. Runs on a laptop, one server, or Kubernetes.
Not a vector-DB wrapper. The value is the **delivery**: deterministic constraint injection (Tier 1) and hook-driven personal-memory capture/recall -- "storage is solved, injection isn't."
How it works
+---------------- retrieval ----------------+
query --> Tier 0: pinned project map + global invariants |
Tier 1: path -> component -> must/should constraints (+1-hop graph) <- deterministic
Tier 2: hybrid RRF search (pgvector cosine + Postgres FTS) + rerank <- fuzzy
+-------------------------------------------+
- Tier 2 search fuses dense (bge-m3 embeddings, HNSW) and lexical (composite
tsvector, works for code identifiers and non-English) via Reciprocal Rank Fusion, then an optional cross-encoder reranker (bge-reranker-v2-m3) reorders the top candidates (measured +0.16 recall@1 on our eval set). - Personal memory is bi-temporal (event time vs ingestion time), **supersede-not-overwr
Related Skills
Building Online RAG Pipelines For Semantic Search
Build a production retrieval-augmented generation pipeline in plain JavaScript: ingest, chunk, embed, store in
Docwise Agentic
Full agentic RAG pipeline: adaptive chunking → Qdrant hybrid search (semantic + BM25 + RRF) → LangGraph ReAct
Leteo
Persistent memory for AI coding agents. MCP server + lifecycle hooks that give Claude Code, Codex and Cursor l
Reconstruction And Visualisation Skill
Claude skill to create an output optimised for the reader's comprehension from existing source material (a mes
Maxgraph
Persistent memory for AI agents — MCP server, knowledge graph, hybrid semantic search. Self-hosted & private:
Clinic AI Receptionist
WhatsApp AI receptionist for clinics — FastAPI + Postgres/pgvector + Claude. Answers FAQs via RAG, books appoi
Related Agents
Council Regulator
Regulator / Constraint Analyst persona for the autodecision council. Optimizes for compliance, sustainability,
Supabase Substrate Explorer
Specialist research agent for discovering creative, non-obvious applications of the Supabase SUBSTRATE dimensi
AI Specialist
Expert in integrating LLMs, building RAG systems (pgvector), and creating MCP servers.