Knowledge Agent
Turns your claude-mem observation history into focused, queryable knowledge bases you can chat with.
Data & AnalyticsIntermediate★ 90,139⑂ 7,846AI score 6/10Last updated: Aug 9, 2026
What it does
Filters your claude-mem observation history into a corpus, loads it into an AI session (priming), and lets you ask questions conversationally.
build_corpus: filter by project, type (decision, bugfix, feature, refactor, discovery, change), concepts, file paths, semantic query, or date rangeprime_corpus: load the whole corpus into an AI sessionquery_corpus: ask questions with follow-up context retainedlist_corpora,rebuild_corpus,reprime_corpus: inspect, refresh with new observations, reset the session
Who it's for
- Developers already accumulating work logs with claude-mem
- Anyone writing retros or documentation ("all decisions from last month")
- Teams needing to recover past context for a specific module fast
Examples
- Topic brain:
build_corpus name="hooks-expertise" concepts="hooks", prime it, then ask "What are the 5 lifecycle hooks and when does each fire?" - Monthly retro: filter
types="decision"withdateStart/dateEndand ask "Which decision carried the most risk this month?" - Bug pattern review:
types="bugfix" files="src/worker"to summarize recurring root causes in the worker service
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the plugin/skills/knowledge-agent folder from the GitHub repo thedotmack/claude-mem into my ~/.claude/skills/knowledge-agent/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/thedotmack/claude-mem.git && mkdir -p ~/.claude/skills && cp -r claude-mem/plugin/skills/knowledge-agent ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Make sure the claude-mem plugin is installed and running — this skill needs existing observation data to be useful.
- Clone the repo:
git clone https://github.com/thedotmack/claude-mem.git - Copy the skill folder:
mkdir -p ~/.claude/skills && cp -r claude-mem/plugin/skills/knowledge-agent ~/.claude/skills/ - Restart Claude Code.
- Test it with a prompt like "Build a knowledge base about hooks from my observation history".
- Run
list_corporato check status, and always prime a corpus before querying it.
View source on GitHub ↗License: Apache-2.0