Kopeng — Development skill for Claude Code
Persistent, self-curating memory for coding agents.
How to install Kopeng
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open djy89/kopeng and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Kopeng does
Persistent, self-curating memory for coding agents. MCP tools + REST API, 100% local inference, with an autonomous nightly consolidation pass that collapses duplicates, decays stale memories, and routes contradictions - every mutation snapshot-first, audited, and reversible.
Alternatives in Development
- Om Tidy — Self-maintenance pass — acts on every hygiene flag: archives completed work, groups loose clusters, splits ove 4.6k ★
- WP REST API — WordPress REST API development 902 ★
- Recent Memories — Display the most recent memories and activity from Claude's persistent storage 332 ★
README
KOPENG
[](https://github.com/djy89/kopeng/actions/workflows/ci.yml)    
**Persistent, self-curating memory for coding agents — it doesn't just remember what you've done, it cleans up after itself, fully local.**
KOPENG 0.x is a **local developer preview**: a self-hosted memory system for a single expert developer, on one machine, bound to loopback. Every autonomous layer ships OFF and is labeled advanced. What backs reliability is engineering rigor, not scale — a zero-LLM pinned-clock replay regression net, adversarial GATE reviews run against a *copy* of real data, idempotent locked consolidation passes, and fail-open/fail-silent behavior everywhere a hook or service could stall.
Renamed 2026-07 to its current codename. Everything now uses `kopeng` — hook env vars are `KOPENG_*` and the client data directory is `~/.kopeng/`.
KOPENG is a memory and context layer for coding agents (Claude Code, Codex CLI), exposed as MCP tools plus a REST API. It learns from observed tool-use — passively turning repeated tool calls, error-then-fix patterns, hot files, and cross-session sequences into confidence-scored memories with no LLM cost — and serves them back through a hybrid retrieval pipeline (RRF fusion of semantic + keyword, optional cross-encoder rerank, confidence-blended ranking), all running on local quantized ONNX models so there is no per-query API cost or data egress. Its distinguishing layer is operator-gated nightly consolidation (the "dreaming Librarian"): a deterministic-first engine that collapses duplicate memories, decays stale ones, and routes contradictions and supersessions — every mutati
Related Skills
Vault Curator
Find orphaned notes, broken links, stale content, and duplicates. Use when the vault needs a focused content-q
Brain Health
Run a health check over the second brain - contradictions, broken/orphan links, duplicates, stale claims, sche
Dream Skill
Memory consolidation skills for Claude Code — read-only dream pass, checkbox/validator gate, full-auto mode, s
Memory Consolidation
Build Memory Consolidation (the background pass)
Latch Heal
Nightly heal — integrity sweep + three-pass contradiction resolver
Nightly
Work while you sleep — a host-native autonomous coding agent that lands draft PRs by morning.
Related Agents
Hn Historian
Check HN story history for duplicates before curating. Use this to verify if a story or topic was already cove
Refactor Cleaner
Dead code cleanup and consolidation specialist. Use PROACTIVELY for removing unused code, duplicates, and refa
Workflow Implementation Consolidation Finder
Sweeps one implementation phase's combined surface at the phase boundary for cross-task consolidation — duplic