← Back to Skills Marketplace
plgonzalezrx8

Smart Context Manager

by Pedro Gonzalez · GitHub ↗ · v1.0.3
cross-platform ⚠ suspicious
6160
Downloads
5
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install context-manager
Description
AI-powered context management for OpenClaw sessions
Usage Guidance
Install only if you are comfortable with a tool that can read and locally store session transcripts and repository context, and use any replace/reset mode only after confirming backups and reviewing what summary will be injected into the new session. Avoid using it on sessions containing secrets or highly sensitive project data unless you first redact or delete generated artifacts.
Capability Analysis
Type: OpenClaw Skill Name: context-manager Version: 1.0.3 This OpenClaw skill is designed for AI-powered context management, including summarizing and compressing agent sessions. While it performs high-risk actions like reading and deleting agent session files (`~/.openclaw/agents/{agent}/sessions/{sessionId}.jsonl`) and interacting directly with the `openclaw agent` CLI, these actions are clearly documented in `SKILL.md` and `compress.sh` as necessary for its stated purpose. The skill includes safeguards such as backing up session files before deletion and explicitly instructing the AI agent 'Do NOT use any tools, just write the summary' in its summarization prompt, mitigating prompt injection risks. There is no evidence of data exfiltration, unauthorized remote control, persistence mechanisms, or obfuscation.
Capability Assessment
Purpose & Capability
Summarizing, compressing, and reinjecting agent session context fits the stated purpose, and no evidence shows exfiltration, obfuscation, or unrelated remote control.
Instruction Scope
The --replace flow is a high-impact session reset capability, and the supplied evidence indicates it deletes an underlying session JSONL file and reinjects generated context without a clear execution-time confirmation step.
Install Mechanism
The supplied evidence does not show an unusual install path, privileged installer, hidden package execution, or persistence beyond the skill's local scripts and generated files.
Credentials
Reading full transcripts, working directory details, git status, and recent commits is relevant to context compression, but broad enough to capture sensitive project or conversation data.
Persistence & Privilege
The skill writes transcript and summary artifacts to disk and can back up then delete live session files; backups reduce loss risk but do not remove the sensitivity or destructive nature of the operation.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install context-manager
  3. After installation, invoke the skill by name or use /context-manager
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.3
- Removed planning documents: IMPLEMENTATION_PLAN.md and PLAN.md. - No changes to functionality or user interface. - No impact on users—internal documentation cleanup only.
v1.0.1
- Initial release of the Context Manager skill for OpenClaw sessions. - Adds AI-powered context summarization and compression to manage session size. - Includes session listing, usage status, and threshold-based context compaction commands. - Full backup and restoration process with output stored in memory/compressed/. - All documentation and commands updated for OpenClaw platform.
v1.0.0-b
- Initial release of context-manager skill for Clawdbot/Moltbot. - Adds AI-powered session summarization and compression with backup and restore. - Includes CLI commands to list, check, summarize, and compress session context. - Backs up original session data before destructive actions. - Summarization uses the agent itself for accurate and context-aware results.
Metadata
Slug context-manager
Version 1.0.3
License
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Smart Context Manager?

AI-powered context management for OpenClaw sessions. It is an AI Agent Skill for Claude Code / OpenClaw, with 6160 downloads so far.

How do I install Smart Context Manager?

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

Is Smart Context Manager free?

Yes, Smart Context Manager is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Smart Context Manager support?

Smart Context Manager is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Smart Context Manager?

It is built and maintained by Pedro Gonzalez (@plgonzalezrx8); the current version is v1.0.3.

💬 Comments