← 返回 Skills 市场
q012315

context-manager

作者 zone · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
136
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install q012315-context-manager
功能描述
智能上下文管理系统 - 支持多模型自适应、分层记忆、动态注入、SQLite 数据库
安全使用建议
This skill's documentation promises many features (search, compression, import/export, tagging, advanced DB schema, dynamic model injection) that the bundled script does not implement — the script only supports init, add, stats, and a simple auto-manage calculation. Before installing or running: (1) review the script yourself — it writes an SQLite DB to ~/.openclaw/workspace-telegram-bot1/memory/memories.db; (2) run it in a sandbox or isolated account if you want to test; (3) if you expect the advertised features, ask the author for a version that implements them or for clear release notes; (4) be cautious trusting SKILL.md claims (env vars and config paths are documented but unused). There are no signs of network exfiltration or credential access in the provided code, but the documentation/code mismatch is a red flag — treat as suspicious and verify behavior before giving it production access.
功能分析
Type: OpenClaw Skill Name: q012315-context-manager Version: 1.0.1 The skill bundle provides a basic SQLite-based context management system for AI agents. The Python script (scripts/context-manager.py) implements simple database initialization, memory storage, and statistics reporting without any network access, sensitive data exfiltration, or dangerous execution patterns. While the documentation (SKILL.md) describes more advanced features like compression and search that are not yet fully implemented in the provided code, there is no evidence of malicious intent or prompt injection attacks.
能力评估
Purpose & Capability
Name/description promise a full-featured context manager (multi-model adaptation, layered memory, dynamic injection, compression, import/export, search, indexing, management history). The included Python script implements only basic persistence and simple auto-management (init, add, stats, auto-manage). Required binary (python3) is appropriate, but many claimed capabilities are absent from the code and some DB fields in SKILL.md are not present in the actual schema. The workspace default path (~/.openclaw/workspace-telegram-bot1) is oddly specific and not explained.
Instruction Scope
SKILL.md documents many CLI commands and behaviors (--search, --export, --import, --compress, --load-for-task, --list-all, --delete, --update, --history, --reset) that the script does not implement. SKILL.md also suggests environment variables and a config file path (~/.openclaw/config/context-manager.json) that the script never reads. The instructions therefore give the agent broad expectations it cannot actually follow; this mismatch increases risk of surprising behavior or user confusion.
Install Mechanism
No install spec; skill is instruction + a Python script. That is low-risk compared with arbitrary remote downloads. The script writes an SQLite DB into a subdirectory in the user's home (~/.openclaw/...); creating files under the user's home is expected for this kind of tool but worth noting.
Credentials
SKILL.md suggests optional environment variables (OPENCLAW_MODEL, CONTEXT_LIMIT, AUTO_MANAGEMENT) and a config file, but the Python script does not read these env vars or config file. The metadata lists sqlite3 as a package (sqlite3 is part of Python stdlib). No credentials or secrets are requested. The inconsistency between advertised env/config usage and actual code is notable.
Persistence & Privilege
The skill is not 'always: true' and does not request elevated privileges. It creates a workspace and writes an SQLite DB under the user's home directory (~/.openclaw/workspace-telegram-bot1/memory/memories.db). That is expected for a local memory tool but the hard-coded workspace name (contains 'telegram-bot1') is unusual and may be a leftover; consider this suspicious but not privileged.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install q012315-context-manager
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /q012315-context-manager 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
v1.0.1 - No functional changes; documentation only. - SKILL.md updated, but with no substantive content difference from the previous version.
v1.0.0
- Initial release of the Context Manager skill. - Introduces multi-model adaptive context management with automatic context limit handling. - Implements a layered memory system (hot/warm/cold) stored in SQLite with fast search and indexing. - Supports dynamic memory injection and auto management strategies based on model context size. - Includes memory compression, merging, and archiving based on usage thresholds. - CLI operations for adding, searching, exporting, importing, and managing memories.
元数据
Slug q012315-context-manager
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

context-manager 是什么?

智能上下文管理系统 - 支持多模型自适应、分层记忆、动态注入、SQLite 数据库. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 136 次。

如何安装 context-manager?

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

context-manager 是免费的吗?

是的,context-manager 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

context-manager 支持哪些平台?

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

谁开发了 context-manager?

由 zone(@q012315)开发并维护,当前版本 v1.0.1。

💬 留言讨论