
Knowledge Agent
- 4.3k installs
- 89.6k repo stars
- Updated August 4, 2026
- thedotmack/claude-mem
knowledge-agent is an agent skill for build and query focused knowledge bases from claude-mem observations for past work recall.
About
The knowledge-agent skill 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. 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". ``text build_corpus name="hooks-expertise" description="Everything about the hooks lifecycle" project="claude-mem" concepts="hooks" limit=500 `` text build_corpus name="hooks-expertise" description="Everything about the hooks lifecycle" project="claude-mem" concepts="hooks" limit=500 Filter options: - project — filter by project name - types — comma-separated: decision, bugfix, feature, refactor, discovery, change - concepts — comma-separated concept tags - files — comma-separated file paths.
- project — filter by project name
- types — comma-separated: decision, bugfix, feature, refactor, discovery, change
- concepts — comma-separated concept tags
- files — comma-separated file paths (prefix match)
- query — semantic search query
Knowledge Agent by the numbers
- 4,271 all-time installs (skills.sh)
- +208 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #185 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
knowledge-agent capabilities & compatibility
- Capabilities
- project — filter by project name · types — comma separated: decision, bugfix, featu · concepts — comma separated concept tags · files — comma separated file paths (prefix match · query — semantic search query
- Use cases
- memory · research
What knowledge-agent says it does
Build and query AI-powered knowledge bases from claude-mem observations.
Think of them as custom "brains": "everything about hooks", "all decisions from the last month", "all bugfixes for the worker service".
build_corpus name="hooks-expertise" description="Everything about the hooks lifecycle" project="claude-mem" concepts="hooks" limit=500
npx skills add https://github.com/thedotmack/claude-mem --skill knowledge-agentAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 4.3k |
|---|---|
| repo stars | ★ 89.6k |
| Security audit | 3 / 3 scanners passed |
| Last updated | August 4, 2026 |
| Repository | thedotmack/claude-mem ↗ |
How do I build and query focused knowledge bases from claude-mem observations for past work recall with documented agent guidance?
Build and query focused knowledge bases from claude-mem observations for past work recall.
Who is it for?
Developers who need ai & agent building help during build work.
Skip if: Skip when the task falls outside AI & Agent Building scope described in SKILL.md.
When should I use this skill?
Build and query focused knowledge bases from claude-mem observations for past work recall.
What you get
Completed ai & agent building workflow aligned with SKILL.md steps and validation.
- filtered observation corpus
- primed knowledge session
By the numbers
- project — filter by project name
- types — comma-separated: decision, bugfix, feature, refactor, discovery, change
- concepts — comma-separated concept tags
Files
Knowledge Agent
Build and query AI-powered knowledge bases from claude-mem observations.
What Are Knowledge Agents?
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".
Workflow
Step 1: Build a corpus
build_corpus name="hooks-expertise" description="Everything about the hooks lifecycle" project="claude-mem" concepts="hooks" limit=500Filter 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)
Step 2: Prime the corpus
prime_corpus name="hooks-expertise"This creates an AI session loaded with all the corpus knowledge. Takes a moment for large corpora.
Step 3: Query
query_corpus name="hooks-expertise" question="What are the 5 lifecycle hooks and when does each fire?"The knowledge agent answers from its corpus. Follow-up questions maintain context.
Step 4: List corpora
list_corporaShows all corpora with stats and priming status.
Tips
- Focused corpora work best — "hooks architecture" beats "everything ever"
- Prime once, query many times — the session persists across queries
- Reprime for fresh context — if the conversation drifts, reprime to reset
- Rebuild to update — when new observations are added, rebuild then reprime
Maintenance
Rebuild a corpus (refresh with new observations)
rebuild_corpus name="hooks-expertise"After rebuilding, reprime to load the updated knowledge:
Reprime (fresh session)
reprime_corpus name="hooks-expertise"Clears prior Q&A context and reloads the corpus into a new session.
Related skills
How it compares
knowledge-agent is an agent skill for build and query focused knowledge bases from claude-mem observations for past work recall, not a generic alternative.
FAQ
Who is knowledge-agent for?
Developers using AI & Agent Building workflows with agent-guided SKILL.md steps.
When should I use knowledge-agent?
Build and query focused knowledge bases from claude-mem observations for past work recall.
Is knowledge-agent safe to install?
Review the Security Audits panel on this page before installing in production.