← Back to Skills Marketplace
thomasmarcel

Session Memory & Summarization

by Thomas Alcala Schneider · GitHub ↗ · v0.2.0 · MIT-0
cross-platform ✓ Security Clean
181
Downloads
0
Stars
0
Active Installs
6
Versions
Install in OpenClaw
/install session-context
Description
Automatically loads recent conversation memory into new sessions and generates AI summaries during compaction to maintain continuity across conversations. Pr...
Usage Guidance
This skill appears to do what it says (load summaries and the last N raw messages), but it stores the last 10 verbatim turns in workspace/memory as plaintext — that can include secrets or PII. Before installing: (1) decide whether storing verbatim messages on disk is acceptable for your environment; (2) consider reducing MAX_RECENT_MESSAGES or MAX_CONTENT_PER_MSG, or adding encryption/access controls to the memory/ directory; (3) verify which GitHub repo you should trust (docs reference more than one URL) and review source history; (4) test in an isolated workspace first to confirm no unexpected network activity and to see how long sensitive data persists; (5) if you need stricter guarantees, ask the maintainer to add optional encryption, retention policies, or replace verbatim storage with redaction.
Capability Assessment
Purpose & Capability
Name/description (session continuity + summarization) match the included handlers: session:compact:before creates summaries and appends a recent_messages JSON block; session:start loads summaries and that recent block. No unrelated credentials, binaries, or outside services are requested.
Instruction Scope
Handlers only read/write files under workspace/memory and access the hook context (messages, session, config). This matches SKILL.md. Note: the skill intentionally persists the last N raw message turns verbatim to disk (default 10), which is expected for exact resumption but expands the attack surface for sensitive data leakage.
Install Mechanism
No install spec (instruction-only skill). Handlers are plain JS executed by OpenClaw; nothing downloads arbitrary code or external archives. Minor documentation inconsistency: SKILL.md/README suggest different git clone URLs (thomasmarcel vs animo66), which is a provenance/documentation mismatch but not an installation-time code-install risk in itself.
Credentials
The skill requests no environment variables, no credentials, and no config paths beyond the workspace. It does reference a platform global agent (global.__OPENCLAW_AGENT__) to call agent.generateSummary(), which is reasonable for summarization and falls back to a local summarizer if not present.
Persistence & Privilege
always is false and the skill does not request elevated platform privileges. However it intentionally persists verbatim conversation chunks to the workspace/memory directory (plaintext JSON in daily .md files). That persistence is core functionality but is a material privacy/retention concern and should be considered a privileged data storage behavior.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install session-context
  3. After installation, invoke the skill by name or use /session-context
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.2.0
v0.2.0: Preserve last 10 raw messages verbatim for exact conversation resumption. Two-layer continuity: AI summary + raw interactions. Loads today + yesterday on session start. Configurable MAX_RECENT_MESSAGES and MAX_SUMMARY_CHARS.
v1.1.0
v1.1.0: Preserve last 10 raw messages verbatim for exact conversation resumption. Two-layer continuity: AI summary + raw interactions. Loads today + yesterday on session start. Configurable MAX_RECENT_MESSAGES and MAX_SUMMARY_CHARS.
v0.1.3
- Renamed skill from session-memory to session-context for clarity and consistency. - Updated documentation: revised install instructions, repository URLs, and usage guidance for the new skill name. - Removed obsolete script, example, and reference files for a leaner codebase and easier maintenance.
v0.1.2
- Added AGENTS.md file for documentation or configuration. - Removed handler.js and handler.ts from hooks/openclaw, streamlining the codebase.
v0.1.1
session-context v0.1.1 - Documentation updates made in README.md and metadata for clarity. - No functional or code changes; behavior remains the same.
v0.1.0
- Introduces session continuity by loading recent conversation memory at session start. - Automatically generates and saves AI-powered conversation summaries during compaction to maintain context across sessions. - No manual steps required; integrates with OpenClaw hooks for seamless automation. - Customizable thresholds for when to summarize and how much memory to load. - Requires OpenClaw version 0.29.0 or newer.
Metadata
Slug session-context
Version 0.2.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 6
Frequently Asked Questions

What is Session Memory & Summarization?

Automatically loads recent conversation memory into new sessions and generates AI summaries during compaction to maintain continuity across conversations. Pr... It is an AI Agent Skill for Claude Code / OpenClaw, with 181 downloads so far.

How do I install Session Memory & Summarization?

Run "/install session-context" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Session Memory & Summarization free?

Yes, Session Memory & Summarization is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Session Memory & Summarization support?

Session Memory & Summarization is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Session Memory & Summarization?

It is built and maintained by Thomas Alcala Schneider (@thomasmarcel); the current version is v0.2.0.

💬 Comments