janbjorge/rekal/rekal-hygiene
Claude Code and agent skill by janbjorge/rekal
- community
Checking that the SKILL.md file is still in the repository.
Periodic memory maintenance and cleanup. Finds duplicates, contradictions, and quality issues in the memory database. Proposes fixes for user approval. Never auto-deletes or auto-modifies. Use when user says "clean up memories", "memory maintenance", "check memory health", or invokes /rekal-hygiene. Run monthly or when recall quality degrades.
Install
npx vskill@latest install janbjorge/rekal/rekal-hygieneSKILL.md
Find and fix problems in the rekal database. Every change requires explicit user approval. Never auto-delete. Never auto-modify.
Step 1: Health overview
Report one line:
"142 memories across 3 projects, spanning 6 months."
Step 2: Audit the full store
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:
Skip memories created < 24 hours ago: too fresh to judge.
Step 3: Present action plan
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-scopeApprove all? Or review individually?
Wait for explicit approval. Do NOT execute anything until user approves.
Step 4: Execute approved changes
After user approves (all or specific items):
- Run each approved operation:
memory_store(..., replaces=<id>)for duplicates, corrections, re-scopingmemory_deleteonly for worthless entries (user explicitly approved)rekal prune --older-than-days N --yesfor approved bulk cleanup
- Report what was done, one line per action
- Run
rekal healthagain, report improvement:
"Done. 142 → 134 memories. 3 duplicate clusters resolved."
Safety rules
These are hard rules. No exceptions.
- Never auto-delete. Every deletion requires user approval.
- Never auto-modify. All changes proposed first, executed after approval.
- Skip < 24h old memories. Too fresh to judge quality.
- Replace over delete.
replaceskeeps the topic covered. Delete only genuinely worthless entries. - No new memories. This skill cleans.
/rekal-savestores. - No bulk approve without listing. Always show what will change before asking for approval.
Large databases (500+ memories)
Do NOT audit everything in one pass. Prioritize in this order:
- Contradictions: highest impact on trust
- Topics appearing >= 3 times in the export: most duplicate accumulation
- Newest 30 days of entries: freshest quality issues
After completing priority items, ask:
"Covered contradictions and top duplicate clusters. Want me to continue with a deeper audit?"
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rekal-hygiene/SKILL.md
Popularity
- Repository stars
- 53
- Repository forks
- 4
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 28 Apr 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/janbjorge/rekal/rekal-hygiene)