← 返回 Skills 市场
plgonzalezrx8

Smart Context Manager

作者 Pedro Gonzalez · GitHub ↗ · v1.0.3
cross-platform ⚠ suspicious
5552
总下载
5
收藏
42
当前安装
3
版本数
在 OpenClaw 中安装
/install context-manager
功能描述
AI-powered context management for OpenClaw sessions
安全使用建议
Install only if you want a tool that can access and alter local OpenClaw session history. Prefer read-only summarize first, inspect the generated summary for secrets or stale instructions, and use --replace only with an explicit session key after confirming you are comfortable with local backups and summaries being stored.
功能分析
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.
能力评估
Purpose & Capability
The capabilities fit the stated purpose: listing sessions, summarizing session history, saving summaries/backups, and optionally resetting a session with compressed context.
Instruction Scope
The destructive --replace path deletes the selected session JSONL and injects a generated summary without an interactive confirmation, and missing session arguments can fall back to the most recently updated session.
Install Mechanism
There is no automatic installer or hidden install-time execution in the artifacts; runtime requirements such as jq, openclaw, and gateway access are documented.
Credentials
The script uses local OpenClaw authority and reads session files under the user's OpenClaw state directory, which is proportionate to the feature but high impact because those sessions may contain sensitive work history.
Persistence & Privilege
The skill writes AI summaries, full session backups, transcripts, and continuation files under memory/compressed, and the replacement flow deletes live session state before recreating context through openclaw agent.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install context-manager
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /context-manager 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug context-manager
版本 1.0.3
许可证
累计安装 190
当前安装数 42
历史版本数 3
常见问题

Smart Context Manager 是什么?

AI-powered context management for OpenClaw sessions. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 5552 次。

如何安装 Smart Context Manager?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install context-manager」即可一键安装,无需额外配置。

Smart Context Manager 是免费的吗?

是的,Smart Context Manager 完全免费(开源免费),可自由下载、安装和使用。

Smart Context Manager 支持哪些平台?

Smart Context Manager 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Smart Context Manager?

由 Pedro Gonzalez(@plgonzalezrx8)开发并维护,当前版本 v1.0.3。

💬 留言讨论