← 返回 Skills 市场
plgonzalezrx8

Smart Context Manager

作者 Pedro Gonzalez · GitHub ↗ · v1.0.3
cross-platform ⚠ suspicious
6324
总下载
5
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install context-manager
功能描述
AI-powered context management for OpenClaw sessions
安全使用建议
Install only if you are comfortable with a local script reading OpenClaw session history, saving plaintext summaries/backups, and in --replace mode deleting live session files. Avoid using --replace on Slack, cron, group, or sensitive sessions unless the destination behavior is fixed or manually verified, and review generated summaries for secrets before reuse.
功能分析
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.
能力评估
⚠ Credentials
OpenClaw CLI access and session files are relevant to context management, but broad selected-session access plus fixed main-session injection, plaintext archival under `memory/compressed/`, and no enforced file permissions or retention controls are overbroad for sensitive conversation data.
ℹ Install Mechanism
No remote payload retrieval, dependency installation script, service registration, or tool hijacking was found; the package contains a user-invoked executable shell script and config file. The shell script has CRLF line endings and failed `bash -n` in this environment, which is a reliability issue rather than a security control.
⚠ Instruction Scope
SKILL.md does disclose backup, JSONL deletion, injection, output files, and labels --replace as destructive, but the script help and comments understate the reset/delete behavior, there is no confirmation prompt before deletion, and summaries are reinjected as continuation context without a clear untrusted-data boundary or redaction rule.
⚠ Persistence & Privilege
The skill does not install cron jobs or system persistence, but it deliberately creates durable summaries, transcripts, continuation files, and full JSONL backups, updates config state, and can delete primary session state during --replace.
⚠ Purpose & Capability
The stated purpose is coherent with listing sessions, summarizing context, and reducing session history, but the implementation accepts arbitrary session keys, reads OpenClaw session JSONL files, stores summaries/transcripts/backups, deletes the selected live JSONL in --replace mode, and then injects the summary with a fixed `openclaw agent --to main` destination rather than clearly recreating the selected session.
如何使用
  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
许可证 —
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Smart Context Manager 是什么?

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

如何安装 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。

💬 留言讨论