knowledge-agent SKILL.md skillA

knowledge-agent from thedotmack/claude-mem is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add thedotmack/claude-mem/knowledge-agent@git:20260409.c648d5d

Pins git:20260409.c648d5d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
thedotmack/claude-mem
Path
plugin/skills/knowledge-agent/SKILL.md
Versions recorded
1
Latest version
git:20260409.c648d5d, committed Apr 9, 2026
Size
2,488 bytes
Repository stars
102,153
License
Apache-2.0

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.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 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

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

### Step 2: Prime the corpus

```text
prime_corpus name="hooks-expertise"
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add thedotmack/claude-mem/knowledge-agent@sha256:538de006ebe2619b

The line at the top of this page pins the label git:20260409.c648d5d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ef2pvrz3kckujwcp.svg)](https://markdownregistry.com/a/art_ef2pvrz3kckujwcp)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Apr 9, 2026.

versioncommittedcommitsizeaudit
git:20260409.c648d5d latest2026-04-09 c648d5d 2,488 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2488 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

thedotmack/claude-mem · 102,153 stars · license Apache-2.0 · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ef2pvrz3kckujwcp
GET https://markdownregistry.com/api/v1/resolve?ref=thedotmack/claude-mem/knowledge-agent
GET https://markdownregistry.com/api/v1/blob/538de006ebe2619b8a47dd47b09c5afa51ccbe0f806f5fd17ab348609eef6fd1

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from thedotmack/claude-mem

CLAUDE.md CLAUDE.md file
thedotmack/claude-mem · CLAUDE.md
git:20261013.84bbb53 · audit A · 102,153 stars
Agent Cost Report SKILL.md skill
thedotmack/claude-mem · claude-mem-cursor/skills/agent-cost-report/SKILL.md · Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from…
git:20261005.57744a0 · audit A · 102,153 stars
claude-mem-install SKILL.md skill
thedotmack/claude-mem · claude-mem-cursor/skills/install/SKILL.md · Use this when setting up claude-mem on Cursor: local or remote worker, local host-login observer or remote cmem.ai…
git:20260902.1c7aaff · audit A · 102,153 stars
mem-search SKILL.md skill
thedotmack/claude-mem · claude-mem-cursor/skills/mem-search/SKILL.md · Use this when the user asks to search memory, "did we already solve this?", "how did we do X last time?", or wants work…
git:20260907.fd0ecf0 · audit A · 102,153 stars
Agent Cost Report SKILL.md skill
thedotmack/claude-mem · claude-mem-grok-bot/skills/agent-cost-report/SKILL.md · Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from…
git:20261005.57744a0 · audit A · 102,153 stars
host-observer SKILL.md skill
thedotmack/claude-mem · claude-mem-grok-bot/skills/host-observer/SKILL.md · Use this when fulfilling claude-mem observer jobs on Grok Bot: reply only skip_summary or one full observation XML…
git:20260902.1c7aaff · audit A · 102,153 stars
claude-mem-install SKILL.md skill
thedotmack/claude-mem · claude-mem-grok-bot/skills/install/SKILL.md · Use this when setting up claude-mem on Grok Bot: local worker plus CMEM Pro observer (default), optional host-login…
git:20260916.96f04a9 · audit A · 102,153 stars
mem-search SKILL.md skill
thedotmack/claude-mem · claude-mem-grok-bot/skills/mem-search/SKILL.md · Use this when the user asks to search memory, "did we already solve this?", "how did we do X last time?", or wants work…
git:20260916.96f04a9 · audit A · 102,153 stars
Agent Cost Report SKILL.md skill
thedotmack/claude-mem · cowork/skills/agent-cost-report/SKILL.md · Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from…
git:20261005.57744a0 · audit A · 102,153 stars
mem-search SKILL.md skill
thedotmack/claude-mem · cowork/skills/mem-search/SKILL.md · This skill should be used when the user asks to "search memory", "what do you remember about X", "check claude-mem"…
v0.1.0 · audit A · 102,153 stars
mem-setup SKILL.md skill
thedotmack/claude-mem · cowork/skills/mem-setup/SKILL.md · This skill should be used when the user asks to "set up claude-mem", "pair claude-mem", "connect cmem", "add my cmem…
v0.1.0 · audit A · 102,153 stars
openclaw SKILL.md skill
thedotmack/claude-mem · openclaw/SKILL.md
git:20261005.5dcf449 · audit C · 102,153 stars

Every file in thedotmack/claude-mem

Other files named knowledge-agent

knowledge-agent SKILL.md skill
skillmds/skillmd · plugins/agents-mcp/skills/knowledge-agent/SKILL.md · Build and query AI-powered knowledge bases from claude-mem observations. Use when users want to create focused "brains"…
git:20260919.fecc0d5 · audit A · 250 stars

Browse by kind, by grade A, or by owner.