Agent Knowledge — AI skill for Claude Code
Cross-session memory and recall for AI agents — git-synced knowledge base, hybrid semantic+TF-IDF search, auto-distillation with secrets scrubbing.
How to install Agent Knowledge
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open keshrath/agent-knowledge and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Knowledge does
Cross-session memory and recall for AI agents — git-synced knowledge base, hybrid semantic+TF-IDF search, auto-distillation with secrets scrubbing.
Alternatives in AI
README
agent-knowledge
[](LICENSE) [](https://nodejs.org) []() []() []()
**Cross-session memory and recall for AI coding assistants** -- works with Claude Code, Cursor, OpenCode, Cline, Continue.dev, and Aider out of the box. Git-synced knowledge base, hybrid semantic+TF-IDF search, auto-distillation with secrets scrubbing.
**Benchmark:** **R@5 = 97.2% (sparse) / 98.8% (hybrid)** on `longmemeval_s` and **86.0% (sparse) / 88.4% (hybrid)** on the harder `longmemeval_m` split — the public LongMemEval academic benchmark (Wu et al. 2024, ICLR 2025), full 500 questions per split, no LLM, no API key, runs entirely offline. **+8.6pp to +13.2pp R@5 over the paper's official `flat-bm25` baseline** in apples-to-apples reproduction. Full per-category table, reproduction instructions, and paper-comparison details in [`bench/README.md`](bench/README.md).
In Claude Code, the agent-knowledge plugin adds the `/knowledge` pane: the knowledge base beside the conversation. How it works, with pictures: [the user manual](docs/USER-MANUAL.md#4-the-knowledge-pane).

Why
AI coding sessions are ephemeral. When a session ends, everything it learned -- architecture decisions, debugging insights, project context -- is gone. The next session starts from scratch.
**agent-knowledge** solves this with two complementary systems:
- Knowledge Base -- a git-synced markdown vault of structured entries (decisions, workflows, project context) that persists across sessions and machines.
- Session Search --
Related Skills
Enfold
Enfold. Every memory enfolds the whole. Local, private long-term memory for AI agents: one SQLite brain shared
AI Coding Runbook
Multi-vendor AI coding knowledge base. Auto-synced docs for Claude Code, Cursor, Codex, OpenAI, Gemini. Long-t
Claude Cortex
Auto-capture + structured semantic recall for AI coding agents. The memory system Claude Code should have had.
Flyarchive
FlyArchive — self-hosted personal document archive and knowledge base with hybrid semantic + full-text search.
Claude Persistent Memory
Give Claude Code persistent memory across sessions. Hybrid BM25 + vector semantic search, auto-structuring via
Mnemon
Self-hosted, cross-device long-term memory for AI agents via MCP — one vault shared across any MCP client (Cla
Related Agents
Teamai Recall
Search the team knowledge base (skills + learnings + docs + rules + codebase graph) and return a compact, stru
Mer Recall
Worker that loads a project's Memory v2 context (mem_state, mem_context, mem_search, mem_get) and reconciles i
Local Brain Search
Local vector search and connection discovery for the Brain. Use for semantic search, finding connections betwe