Slm Session

Manage SuperLocalMemory session lifecycle — call session_init once at the start of every fresh session to load relevant project context and get a session_id; call close_session when work is meaningfully complete to commit temporal summaries. Correct lifecycle hygiene is what makes SLM's learning loop work.

278 stars 36 forksLearning & Education Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add qualixar/superlocalmemory

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add qualixar/superlocalmemory --skill slm-session
Manual install
git clone --depth 1 https://github.com/qualixar/superlocalmemory.git /tmp/superlocalmemory
mkdir -p ~/.claude/skills
cp -r /tmp/superlocalmemory/antigravity-plugin/skills/slm-session ~/.claude/skills/slm-session

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# slm-session — Session Lifecycle Hygiene

Session lifecycle is the mechanism that makes SuperLocalMemory's learning loop
work. Without it, recall signals are not attributed and temporal summaries are
not written. This is not optional housekeeping — it is load-bearing.

---

## The lifecycle in one diagram

```
Session starts
     |
     v
session_init(project_path, query)
     |--- returns session_id, context, memories
     |
     v
Use session_id in every recall() and remember() call
     |
     v
Work completes
     |
     v
close_session(session_id)
     |--- writes temporal summaries to DB
```

---

## session_init — call once per fresh session

### When to call

Call `session_init` exactly once at the start of every fresh session, before
any `recall` or `remember`. Never call it twice in a session — the second call
would generate a new `session_id` and break signal attribution for any prior
recalls or remembers in that session.

### Signature
Read the full skill on GitHub

Details

Skill name
slm-session
Path
antigravity-plugin/skills/slm-session/SKILL.md
License
AGPL-3.0
Repo updated
18 November 2026

FAQ

What does the Slm Session skill do?

Manage SuperLocalMemory session lifecycle — call session_init once at the start of every fresh session to load relevant project context and get a session_id; call close_session when work is meaningfully complete to commit temporal summaries. Correct lifecycle hygiene is what makes SLM's learning loop work.

How do I install the Slm Session skill?

Claude Code plugin: /plugin marketplace add qualixar/superlocalmemory. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Slm Session popular?

It lives in qualixar/superlocalmemory, which has 278 GitHub stars and 36 forks, and is included in 1 curated skill list.

Related skills

Slm Bot Memory

278

qualixar/superlocalmemory

Cross-bot memory on a shared computer (Grok Bot, Cursor plugin, any host where several agents share one machine). Explains agent_id attribution vs. profile/scope access, how to namespace by agent_id + profile + scope, and what must never be written to memory. Read this before the first remember/recall on a new Grok-Bot-style host.

Productivity & NotesIn 1 list36

Slm Cache

278

qualixar/superlocalmemory

KV cache for repeated reads — call slm_cache_get(key) first; on a miss do the expensive operation then slm_cache_set(key, value, ttl_seconds) to store it; on a hit use the returned value directly; always fail-open (hit:false on any error, never raises); saves tokens when the same file, query result, or tool output is read more than once in a session.

OtherIn 1 list36

Slm Compress

278

qualixar/superlocalmemory

Compress large text, tool output, or transcripts to reduce context-window usage while keeping the full 1M window intact — call slm_compress(content, mode, reversible, ttl_seconds) to shrink content; if the result is lossy a ccr_id is returned so you can call slm_retrieve(ccr_id) later to recover the exact original; always fail-open (ok:false → continue with the original).

Writing & ContentIn 1 list36

Teach

164

alexknowshtml/claude-skills

Socratic teaching loop for any Claude Code session — quiz yourself on what actually happened, confirm mastery item by item, and don't finish until everything's locked in

Learning & Education13

Learning Medusa

237

medusajs/medusa-agent-skills

Load automatically when user asks to learn Medusa development (e.g., "teach me how to build with medusa", "guide me through medusa", "I want to learn medusa"). Interactive guided tutorial where Claude acts as a coding bootcamp instructor, teaching step-by-step with checkpoints and verification.

Learning & Education29

Personal Mba Generator

171

aiskilloftheweek/claude-ai-skill-of-the-week

Creates a comprehensive, structured learning plan to help the user master any skill quickly and effectively. Use this skill every time the user wants to learn something new, acquire a skill, improve at an ability, or asks how to study or practice something. Trigger on phrases like "I want to learn", "how do I learn", "help me study", "how to get better at", "I want to become good at", "learning plan for", "how to acquire the skill of", "teach me", "I need to learn", "how to master", "learning roadmap for", "help me get started with". Also trigger whenever the user mentions any technical, soft,

Learning & Education35

Browse the most popular Claude skills, all learning & education skills, or write your own with the skills generator.