← 返回 Skills 市场
deus-pandora

Context Engine

作者 deus-pandora · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
106
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install deus-pandora-context-engine
功能描述
Maintains conversation state and project continuity across sessions by saving, restoring, and managing project contexts and progress.
使用说明 (SKILL.md)

Context Engine

Smart Context Engine maintains conversation state and project continuity across OpenClaw sessions.

Quick Start

The context engine automatically:

  • Restores your last active project on session start
  • Saves context periodically (heartbeat) and on session end
  • Tracks pending tasks and notes per project

Commands

  • "remember" / "save context" - Manually save current context
  • "switch to [project]" - Switch to a project (creates if doesn't exist)
  • "show projects" / "what are we working on" - List all projects
  • "summarize" / "where did we leave off" - Get project summary

Storage

Projects are stored in: /home/deus/.openclaw/workspace/memory/projects/

  • projects.json - All project data
  • session.json - Current session state

Actions

save_context

Saves the current context including:

  • Last topic discussed
  • Last file worked on
  • Last command executed
  • Pending tasks
  • Notes

Trigger: Explicit mention ("remember", "save context"), session_end, heartbeat

restore_context

Restores the previous session's context:

  • Loads last active project
  • Shows "Welcome back to [project]"
  • Lists pending tasks if any

Trigger: session_start, explicit request

switch_project

Switches between projects:

  • Saves current project context
  • Loads or creates new project
  • Sets as active

Trigger: Explicit mention ("switch to X")

list_projects

Lists all projects with status indicators:

  • Shows active project highlighted
  • Displays status (active/paused/completed/archived)
  • Shows last session date

Trigger: Explicit mention ("show projects", "what are we working on")

summarize

Generates a summary of the active project:

  • Current status
  • Pending tasks
  • Last topic
  • Session history

Trigger: Explicit mention ("summarize", "where did we leave off")

Triggers

Trigger Condition Priority
session_start New session begins 1
explicit_mention User says "remember", "save context", "project", "switch to", "show projects", "summarize" 2
heartbeat Every ~30 min when enabled 3

Integration

Works with the MEMORY.md system - updates long-term memory with project summaries.

安全使用建议
This skill appears to do what it claims: maintain and restore local project context. Before installing, consider: (1) it will create and write JSON files under /home/deus/.openclaw/workspace/memory/projects — ensure you are comfortable storing context there; (2) the script assumes Node.js is available and uses a hardcoded '/home/deus' path — on systems with different usernames or environments you may want the path changed to use $HOME or a configurable location; (3) review the rest of the script (the truncated CLI handling) to confirm there are no unexpected network calls or subprocess executions; (4) if you want this isolated, run it in a sandboxed environment or inspect/modify the storage path before first use.
功能分析
Type: OpenClaw Skill Name: deus-pandora-context-engine Version: 1.0.0 The skill bundle implements a project context management system for OpenClaw agents, allowing for the saving and restoration of session states. The core logic in `scripts/context-engine.js` performs standard file operations (read/write/mkdir) within a designated workspace directory (`/home/deus/.openclaw/workspace/memory/projects/`) and lacks any indicators of data exfiltration, malicious execution, or unauthorized access.
能力评估
Purpose & Capability
Name, description, SKILL.md, API docs, and the included Node script all implement a local project/context manager that saves and restores session data. Required files and actions align with the stated purpose.
Instruction Scope
Instructions focus on saving/restoring project context and the provided script implements those behaviors. The SKILL.md references integration with a MEMORY.md system — this appears informational and no external network calls are present in visible code. One small scope issue: storage path is hardcoded to /home/deus/.openclaw/workspace/memory/projects, which is specific and may be unexpected on other hosts or users.
Install Mechanism
No install spec or downloads are used. The skill is instruction-plus-local-script only (Node.js script and package.json). No remote installers or arbitrary URL downloads are present.
Credentials
The skill requests no environment variables or credentials, which is proportionate. Minor concern: it uses a hardcoded home path (/home/deus) instead of a dynamic HOME or relative path, which could cause files to be written in an unexpected location or fail on other systems.
Persistence & Privilege
The skill persists data to disk under the declared projects directory. It does not request always:true, does not modify other skills, and does not require elevated privileges. Persistence is limited to its own storage path.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install deus-pandora-context-engine
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /deus-pandora-context-engine 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the Smart Context Engine for OpenClaw. - Maintains conversation state and project continuity across sessions. - Allows switching, tracking, and summarizing multiple projects. - Supports manual and automatic saving/restoring of context. - Includes commands for project management (save, switch, list, summarize). - Integrates with long-term memory to keep project summaries.
元数据
Slug deus-pandora-context-engine
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Context Engine 是什么?

Maintains conversation state and project continuity across sessions by saving, restoring, and managing project contexts and progress. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 106 次。

如何安装 Context Engine?

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

Context Engine 是免费的吗?

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

Context Engine 支持哪些平台?

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

谁开发了 Context Engine?

由 deus-pandora(@deus-pandora)开发并维护,当前版本 v1.0.0。

💬 留言讨论