Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By nicolasacchiv0.13.0MITIn 1 marketplace
Claude Code memory via the kb daemon: automatic recall each turn (UserPromptSubmit), a re-injected memory protocol at session start (SessionStart), verbatim transcript capture when the agent finishes (Stop), and a Stop-hook nudge that suggests /kb-distill when a session committed code but kept no memory — LLM-free, every hook just runs a kb verb. Ships /kb-distill (the episodic→semantic distiller: 1–3 quality-gated, deduped, provenance-stamped memories per session, --dry-run supported), /kb-weekly (the GET /api/sessions/ledger's narrative half — a project's week of sessions/commits/decisions turned into a short review note; facts from the daemon, prose from the agent), /kb-verify (the memory↔code drift sweep: code-citing memories resolved fresh through kb-code's doclens, dated [kb-drift] comments filed on dead citations — one open comment per (memory, path) — plus a born-stale check and kb memory flag escalation when the fact itself is wrong; --dry-run supported), /kb-setup: a guided first-run bootstrap (install check, daemon check, writes a kb.toml with memory + sessions corpora, starts + verifies the daemon), /kb-slate-tidy (kb-slate/1 housekeeping: reads a project's slate board plus history, drops noise the running session or a presumed-ended session authored, merges near-duplicate founds with --supersedes, closes asks whose asker ended — never touches a live other session's now/warn/take/hand), and /kb-slate-distill (turns a closed or rotated slate — current AND archived generations — into 1-5 durable memories, a narrative note, and a dated plan-file Status line).
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code memory via the kb daemon. Three surfaces:
hooks/) — four deterministic, LLM-free hooks that wire kb in
as Claude Code's memory: UserPromptSubmit recall, SessionStart protocol
re-injection, verbatim Stop-hook transcript capture, and a Stop-hook
nudge that suggests /kb-distill when a session committed code but kept no
memory. The same corpus also serves other coding-agent harnesses — Codex,
opencode, Grok Build, and omp (Oh My Pi) — via per-harness
capture/nudge adapters and, for omp, a TS extension (kb-omp.ts) plus
install-omp-hooks.sh. Full detail, install modes, and the memory protocol
are in hooks/README.md./kb-distill (skills/kb-distill/SKILL.md) — the episodic→semantic
bridge: distills one captured session (or a --since window) into 1–3
durable, provenance-stamped memories — what was decided, what shipped, what
failed and why. Quality-gated (outcome + why + citation required), deduped
against existing memory (kb recall --no-floor, --supersedes on overlap),
idempotent (--session-id stamps lift memory_count, so re-runs skip),
--dry-run supported. Write vocabulary is ADD/SUPERSEDE only — it never
runs kb forget; corpus-wide merges stay with /kb-reflect (human-gated)./kb-verify (skills/kb-verify/SKILL.md, CT-C2) — does memory still
match the code? Sweeps code-citing memories through kb-code's doclens
(fresh resolution, never cached — invariant #2) and files dated
[kb-drift] comments on citations that no longer resolve (one open
comment per (memory, path), re-runs are no-ops), plus a born-stale check
and an escalation path to kb memory flag when the FACT itself is wrong.
Write vocabulary is COMMENT/FLAG only — never forget/--supersedes.
--dry-run supported./kb-weekly (skills/kb-weekly/SKILL.md) — one project's ledger (a
week — or any N-day window — of sessions/commits/decisions/research)
turned into a short narrative "week in review" note: facts from
GET /api/sessions/ledger (daemon-computed, LLM-free), prose from the
agent, saved back as a kb note in the sessions corpus./kb-slate-tidy (skills/kb-slate-tidy/SKILL.md) — housekeeping for a
project's kb slate board (see docs/slate.md): reads
kb slate open --all --json plus history, drops noise the running session
or a presumed-ended session authored (NEVER a live other session's
now/warn/take/hand), merges near-duplicate founds with
--supersedes, and closes (done) asks whose asker's session has ended.
Every action is an ordinary attributed slate post — no separate "tidy
report" kind exists./kb-slate-distill (skills/kb-slate-distill/SKILL.md) — the slate's
own episodic→semantic bridge: reads a closed or rotated slate's posts
(current generation via the API, archived generations by reading
ledger.<gen>.jsonl directly — the one sanctioned read-only exception,
since no route serves them) and writes 1-5 kb remember memories
(decisions plus the tried dead ends with their reasons), one narrative
note, and a dated plan-file Status line. Same write discipline as
/kb-distill: ADD/SUPERSEDE only, dedup via kb recall, provenance-linked./kb-setup (commands/kb-setup.md) — a guided first-run bootstrap. It
checks kb on PATH (offering scripts/install.sh
if missing), checks a daemon with kb status, and — after your approval —
writes a minimal ~/.config/kb/kb.toml with a memory corpus (global) and
a sessions corpus, creates their dirs, starts the daemon, and verifies.
Stepwise with user-visible checkpoints; it stops before writing or starting
anything./plugin marketplace add nicolasacchi/kb
/plugin install kb-memory@kb-plugins
/kb-setup
/kb-setup gets you from nothing to a running daemon with memory + sessions
corpora. Then enable the hooks (they ship with this plugin) for automatic
recall/capture, paste hooks/CLAUDE.memory.md into
your project's CLAUDE.md, distill finished sessions into durable facts with
/kb-distill (this plugin — the Stop-hook nudge tells you when), and
consolidate corpus-wide later with /kb-reflect (the kb-reflect plugin).
kb + kb-embedder on PATH — build from source, or
curl -fsSL https://raw.githubusercontent.com/nicolasacchi/kb/main/scripts/install.sh | sh.jq (used by the hooks).See hooks/README.md for daemon topology options
(one-per-project vs. one shared docker daemon), KB_DAEMON_URL /
KB_SESSIONS_DIR, and the manual (settings.json) install path.
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub nicolasacchi/kb --plugin kb-memoryPlugins from other owners that cover similar ground