← 返回
效率工具 中文

Context Engine

Maintains and restores conversation and project context across sessions, tracks projects, tasks, and notes, and supports switching and summarizing projects.
在会话之间保持和恢复对话与项目上下文,跟踪项目、任务和笔记,并支持切换和汇总项目
deus-pandora
效率工具 clawhub v2.0.0 3 版本 100000 Key: 无需
★ 0
Stars
📥 678
下载
💾 0
安装
3
版本
#latest

概述

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

TriggerConditionPriority
------------------------------
session_startNew session begins1
explicit_mentionUser says "remember", "save context", "project", "switch to", "show projects", "summarize"2
heartbeatEvery ~30 min when enabled3

Integration

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

版本历史

共 3 个版本

  • v2.0.0 当前
    2026-05-03 04:01 安全 安全
  • v1.0.1
    2026-03-29 19:48
  • v1.0.0
    2026-03-19 15:31

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,747
ai-intelligence

Context Engine

deus-pandora
跨会话保持和恢复项目上下文、跟踪活跃项目、管理任务、切换项目、汇总当前进度。
★ 0 📥 586
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 438 📥 147,251