/rekal-skills:rekal-hygienefrom rekal-skills
Periodic memory maintenance and cleanup for the rekal database. Finds duplicates, contradictions, and quality issues, then proposes fixes for user approval. Run monthly or when recall quality degrades.
Ships in rekal-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Find and fix problems in the rekal database. Every change requires explicit user approval. Never auto-delete. Never auto-modify.
rekal health
Report one line:
"142 memories across 3 projects, spanning 6 months."
rekal export
This prints every memory as JSON (id, content, project, tags, timestamps). Read it and group entries that cover the same fact/preference/procedure.
Per finding, classify and propose:
Issue?
├── Duplicates / same topic stored twice
│ └── Identify the most complete version, propose replacing the others:
│ memory_store(content="<best content>", replaces="<older id>")
│
├── Contradiction: one outdated, one current
│ └── Propose: memory_store(content="<current content>", replaces="<outdated id>")
│
├── Contradiction: unclear which is correct
│ └── Ask user: "Which is correct? [A] or [B]?"
│
├── Content < 20 characters or meaningless alone
│ └── Propose: reword with more context (store with replaces), or delete if worthless
│
└── No issues → skip
Skip memories created < 24 hours ago: too fresh to judge.
Compile ALL proposals into one summary:
Hygiene report:
- 3 duplicate clusters: 8 memories → 3
- 2 contradictions: 1 replace, 1 needs your call
- 2 unscoped memories to re-scope
Approve all? Or review individually?
Wait for explicit approval. Do NOT execute anything until user approves.
After user approves (all or specific items):
memory_store(..., replaces=<id>) for duplicates, corrections, re-scopingmemory_delete only for worthless entries (user explicitly approved)rekal prune --older-than-days N --yes for approved bulk cleanuprekal health again, report improvement:"Done. 142 → 134 memories. 3 duplicate clusters resolved."
These are hard rules. No exceptions.
replaces keeps the topic covered. Delete only genuinely worthless entries./rekal-save stores.Do NOT audit everything in one pass. Prioritize in this order:
After completing priority items, ask:
"Covered contradictions and top duplicate clusters. Want me to continue with a deeper audit?"
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub janbjorge/rekal --plugin rekal-skills4 skills in this plugin
/rekal-initBootstrap rekal memory for a project. Scans the codebase for architecture, conventions, dependencies, workflows, and config, then stores durable knowledge as properly typed, tagged, deduplicated memories. Use when starting rekal on a new project, or when user says "init rekal", "bootstrap memory", "populate rekal", "scan project". Trigger: /rekal-init.
/rekal-saveEnd-of-session memory capture with deduplication. Extracts durable knowledge, checks for duplicates, stores or replaces as appropriate. Use whenever a session wraps up, a task finishes, or the user says goodbye/thanks/done. Also use when significant preferences, decisions, or discoveries emerge mid-session. Make sure to trigger this skill proactively. Err on the side of capturing.
/rekal-usageOperational guide for rekal memory tools. Precise rules for when/how to call each tool, with exact parameters and decision trees. Use when onboarding to a rekal workspace, or when user asks "how do I use rekal", "what rekal tools", "help with memory". Trigger: /rekal-usage.
Other plugins' skills for the same job