1. Habit
  2. Skills
  3. Knowledge Agent skill
thedotmack · 6K installs

Knowledge Agent skill
Runs by itself, every Monday morning.

Keep your work brains current.

Install the Knowledge Agent skill and make it a habit: follow https://gethabit.dev/skills/thedotmack/knowledge-agent.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

6K installs102K starsApache-2.0 licenceSource on GitHub ↗

Knowledge Agent

by thedotmack · 6K installs

The skill

The knowledge agent skill lets claude-mem users build focused knowledge bases from their observation history, prime them into an AI session and ask questions about past work, decisions and bugfixes.

Only when you ask.

The habit

Keep your work brains current.

↻ Runs by itselfevery Monday morning

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after all listed corpora, at most one retry per corpus.

  1. 01

    List corpora

    list_corpora shows every corpus with its stats and priming status.

  2. 02

    Rebuild

    rebuild_corpus pulls the newest observations into each corpus.

  3. 03

    Reprime

    reprime_corpus loads the updated knowledge into a fresh session.

  4. 04

    Ask

    query_corpus asks each corpus the standing questions from the answers file.

  5. 05

    Compare

    The agent notes where an answer changed since last week.

  6. 06

    Save

    The new answers and changes go into the answers file.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Knowledge Agent skill helps.

Use it when

  • ✓ You use claude-mem
  • ✓ You ask about past decisions
  • ✓ You collect expertise on a topic

Skip it when

  • – You do not use claude-mem
  • – You need facts from outside your work history

Questions

Knowledge Agent skill, answered.

What is a corpus?

A filtered set of claude-mem observations, for example all decisions about one topic, loaded into an AI session you can question.

Why rebuild every week?

New observations only reach a corpus after a rebuild and a reprime. The loop does both so answers stay fresh.

Do I need claude-mem?

Yes. The skill works only on observations stored by claude-mem.

How do I install the Knowledge Agent skill?

Copy the prompt at the top into your agent. It installs the skill from thedotmack/claude-mem and sets up the habit. Or run npx skills add thedotmack/claude-mem --skill knowledge-agent.

Is the Knowledge Agent skill free?

Yes. It is published under Apache-2.0. Habit is free too.

Knowledge Agent. Now as a habit.

Install the Knowledge Agent skill and make it a habit: follow https://gethabit.dev/skills/thedotmack/knowledge-agent.md

  • Free
  • No account
  • Undo in one line

All thedotmack skills →More notes skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by thedotmack, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.