janbjorge/rekal/rekal-save
Claude Code and agent skill by janbjorge/rekal
- community
Checking that the SKILL.md file is still in the repository.
End-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.
Install
npx vskill@latest install janbjorge/rekal/rekal-saveSKILL.md
Save durable knowledge from this session into rekal. Goal: user never repeats themselves across sessions.
Step 1: Extract candidates
Review the conversation. Per item, apply this filter:
Candidate types:
| What | Example | |
|---|---|---|
| Preference with reasoning | "User prefers dataclasses over hand-written __init__ for less boilerplate" | |
| Architecture/convention | "Auth service uses JWT, lives in services/auth, 15-min token expiry" | |
| Decision + why | "Chose PostgreSQL over MySQL for JSONB support and better partial indexes" | |
| Procedure | "Deploy: 1) git tag vX.Y.Z 2) git push --tags 3) wait CI 4) merge to main" | |
| Bug with non-obvious cause | "OOM from unbounded LRU cache in parser, fixed with maxsize=1000" | |
| Behavior correction | "Never use grep/find. Use rg/fd. Strict, no exceptions." |
Skip (do not store):
- Transient state: "currently editing main.py", "tests passing now"
- Trivially re-discoverable: "function foo is on line 42", "file has 200 lines"
- Too vague: "user likes clean code", "project uses Python"
- Session mechanics: "user asked me to fix a bug", "we discussed testing"
- Secrets, API keys, passwords, tokens: never
If zero candidates survive, stop here. Do not force-store.
Step 2: Deduplicate each candidate
For EVERY candidate, before storing:
Read results. Apply:
Critical rule: Two memories about the same topic must never coexist. replaces supersedes the older memory so it stops surfacing. "User's preferred formatter" appears exactly once in the database.
Step 3: Store surviving candidates
Per candidate that passed dedup with no match:
Content must be self-contained
A fresh agent with zero conversation context reads this content. It must make complete sense alone.
Code claims must carry inline anchors
Every claim about code embeds (relative/path.py:LINE symbol) with line numbers verified in THIS session. Anchored memories are trusted by future sessions and displace file reads; bare claims get re-verified, which wastes the memory.
For a whole subsystem mapped this session, prefer ONE brief (350-500 words: headline + 8-12 search keywords, mechanism narrative, final "Deviations:" section for where this codebase differs from public/upstream behavior), tagged brief, over many fragments.
Tags must be specific
Step 4: Summary
Summarize what was saved:
"Saved 3 memories: Ruff preference, deploy procedure, auth architecture. Replaced 1 outdated API endpoint memory."
If nothing was saved (all skipped as duplicates), say so:
"Reviewed session, no new knowledge to capture. Existing memories already cover it."
Boundaries
- This skill stores memories only. No reorganization, no cleanup. That's
/rekal-hygiene. - Never stores secrets, API keys, passwords, tokens.
- Ask user before storing sensitive or personal content (health, finance, relationships).
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-save/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 27 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-save)