npx skills add ...
npx skills add thedotmack/claude-mem --skill knowledge-agent
Build and query AI-powered knowledge bases from claude-mem observations. Use when users want to create focused "brains" from their observation history, ask questions about past work patterns, or compile expertise on specific topics.
npx skills add thedotmack/claude-mem --skill knowledge-agent
Build and query AI-powered knowledge bases from claude-mem observations.
Knowledge agents are filtered corpora of observations compiled into a conversational AI session. Build a corpus from your observation history, prime it (loads the knowledge into an AI session), then ask it questions conversationally.
Think of them as custom "brains": "everything about hooks", "all decisions from the last month", "all bugfixes for the worker service".
Filter options:
project — filter by project nametypes — comma-separated: decision, bugfix, feature, refactor, discovery, changeconcepts — comma-separated concept tagsfiles — comma-separated file paths (prefix match)query — semantic search querydateStart / dateEnd — ISO date rangelimit — max observations (default 500)This creates an AI session loaded with all the corpus knowledge. Takes a moment for large corpora.
The knowledge agent answers from its corpus. Follow-up questions maintain context.
Shows all corpora with stats and priming status.
After rebuilding, reprime to load the updated knowledge:
Clears prior Q&A context and reloads the corpus into a new session.