← 返回 Skills 市场
deus-pandora

Context Engine

作者 deus-pandora · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ 安全检测通过
368
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install deus-context-engine
功能描述
Maintains and restores conversation and project context across sessions, tracks projects, tasks, and notes, and supports switching and summarizing projects.
使用说明 (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 says: a local context manager that stores project/session data in JSON files. Before installing, consider: (1) the script writes to /home/deus/.openclaw/... — if your system user is not 'deus' the path will likely be incorrect; review or modify the code to use a configurable path or $HOME; (2) the included Node.js script will be executed locally and will create/modify JSON files in that directory — back up any existing data at that path; (3) there are no network calls or credential requests visible, so it does not exfiltrate data per the provided files, but you should still review the full script (the CLI parsing was truncated in the bundle you provided) before running; (4) because the skill can be invoked autonomously by the agent (default), only enable it if you trust it to run and save session state automatically. If you want higher assurance, run the script in a sandbox or inspect/modify the hardcoded path and any remaining truncated code paths before use.
功能分析
Type: OpenClaw Skill Name: deus-context-engine Version: 2.0.0 The deus-context-engine skill bundle is a legitimate project management tool designed to maintain conversation state across sessions. The core logic in `scripts/context-engine.js` performs standard file system operations to manage JSON-based project data within a dedicated workspace directory and contains no network activity, obfuscation, or unauthorized access to sensitive system files.
能力评估
Purpose & Capability
The name/description match the included CLI script and SKILL.md: the skill manages projects, saves/restores session context, and summarizes projects. One implementation detail worth noting: storage is hard-coded to /home/deus/.openclaw/workspace/memory/projects/ rather than using a portable $HOME or configurable path. That is not inconsistent with its purpose but is an implementation fragility (will not work as-is for other system usernames or environments).
Instruction Scope
SKILL.md instructions are narrowly scoped to saving/restoring project context, switching projects, heartbeats, and listing/summarizing projects. The runtime instructions and triggers reference only local files and the MEMORY.md integration; they do not instruct reading unrelated system files, environment secrets, or sending data to external endpoints.
Install Mechanism
There is no install spec (instruction-only), which minimizes install-time risk. A JavaScript CLI file is included; since no install or remote download occurs, there's no archive or external code fetch risk. Users should still be aware the included script can be executed locally and will write files to disk.
Credentials
The skill declares no required environment variables, credentials, or config paths beyond its own project storage path. The code only accesses local filesystem paths under the stated projects directory and does not reference or demand tokens, keys, or unrelated credentials.
Persistence & Privilege
The skill does not request always:true and uses normal invocation. Its persistence is limited to writing its own JSON files in the projects directory and updating its own session file; it does not modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install deus-context-engine
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /deus-context-engine 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
No changes detected in this version. - Version updated to 2.0.0, but no file or documentation changes noted. - Functionality and documentation remain the same as previous release.
v1.0.1
Version 1.0.1 of deus-context-engine - No file changes detected in this release. - Functionality, documentation, and other aspects appear unchanged from the previous version.
v1.0.0
Initial release of the Context Engine skill: - Maintains conversation state and project continuity across OpenClaw sessions. - Tracks active projects, saves/restores context, and manages project-specific notes and tasks. - Supports manual and automatic triggers for saving and restoring context. - Allows users to switch between projects, view project lists, and generate project summaries. - Integrates with the MEMORY.md system for long-term memory updates.
元数据
Slug deus-context-engine
版本 2.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Context Engine 是什么?

Maintains and restores conversation and project context across sessions, tracks projects, tasks, and notes, and supports switching and summarizing projects. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 368 次。

如何安装 Context Engine?

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

Context Engine 是免费的吗?

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

Context Engine 支持哪些平台?

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

谁开发了 Context Engine?

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

💬 留言讨论