thedotmack avatar

Knowledge Agent

This turns your claude-mem observations into queryable AI sessions. Build a filtered corpus from your observation history (say, all hook-related decisions or last month's bugfixes), prime it to load the knowledge into a chat session, then ask questions conversationally. It's useful when you want focused answers from past work rather than scanning through everything manually. The workflow is straightforward: build with filters like project, types, concepts, or date ranges, prime once, then query repeatedly. The session remembers context across follow-ups. Keep corpora focused for better results, and rebuild plus reprime when you've added new observations worth including.

skills.sh installs
6K
GitHub stars
115.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add thedotmack/claude-mem --skill knowledge-agent --agent claude-code

Installs into .claude/skills of the current project.

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=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 (prefix match)
  • query — semantic search query
  • dateStart / dateEnd — ISO date range
  • limit — max observations (default 500)

Step 2: Prime the corpus

prime_corpus name="hooks-expertise"

Sponsors

Details

Repository
github.com/thedotmack/claude-mem
Categories
DevOps & CI/CD, AI & Agent Building
First seen
May 16, 2026

More from thedotmack/claude-mem

All 18
1qianwen-ai avatarqianwen-audio-ttsqianwen-ai/qianwen-ai[QianWen] Synthesize speech from text with Qwen TTS models. TRIGGER when: user wants to convert text to speech, create voiceovers, generate audio narration, rea6Kskills.sh installs
2affaan-m avatarbrand-voiceaffaan-m/eccBuild a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and so6Kskills.sh installs
3remorses avatarplaywriterremorses/playwriterControl the user own Chrome browser via Playwriter extension with Playwright code snippets in a stateful local js sandbox. Use this over other Playwright MCPs t5.9Kskills.sh installs
4wordpress avatarwp-block-developmentwordpress/agent-skillsUse when developing WordPress (Gutenberg) blocks: block.json metadata, register_block_type(_from_metadata), attributes/serialization, supports, dynamic renderin5.9Kskills.sh installs
5bencium avatarbencium-impact-designerbencium/bencium-marketplaceCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applicat5.9Kskills.sh installs
6figma avatarimplement-designfigma/mcp-server-guideTranslates Figma designs into production-ready code with 1:1 visual fidelity. Use when implementing UI from Figma files, when user mentions "implement design", 5.9Kskills.sh installs