← 返回 Skills 市场
winter1102

Session Persistence 会话上下文持久化

作者 winter1102 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
342
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install session-persistence
功能描述
解决OpenClaw会话重启后上下文丢失的问题,包含3种互补方案:强化记忆恢复机制、外部会话存储、定期摘要压缩,实现零额外API调用的上下文持久化。
安全使用建议
This skill is coherent with local session persistence and does not attempt external communication, but there are some issues to resolve before installing: 1) The package references an AGENTS.md.patch that is not included — ask the author for the patch or inspect what AGENTS.md changes are needed before applying them. 2) The SKILL.md promises automatic triggering but provides no install hook; decide how the script will be invoked (agent hooks, wrapper, or cron) and test that integration in a safe environment. 3) The session-manager.sh will create ./memory/ and store conversation summaries in plain text — treat these files as sensitive, restrict filesystem permissions, or add encryption if needed. 4) Review the script (it is small) and test append/read/archive behavior on a sample project to ensure it doesn't overwrite files you care about. If you cannot obtain the missing AGENTS.md.patch or a clear integration plan from the author, avoid installing or limit use to an isolated workspace.
功能分析
Type: OpenClaw Skill Name: session-persistence Version: 1.0.0 The skill bundle provides a legitimate mechanism for session persistence by managing local text-based memory files. The shell script `session-manager.sh` performs standard file operations (read, append, and archive) within a local `./memory/` directory, and the instructions in `SKILL.md` are consistent with the stated purpose of maintaining context across AI agent sessions without external API calls or network activity.
能力评估
Purpose & Capability
The name/description (local session persistence) matches the contents: a small shell script that reads/appends/archives session summaries to ./memory/, and SKILL.md describes placing the skill in the workspace. No unrelated credentials, network calls, or binaries are requested.
Instruction Scope
SKILL.md claims fully automatic behavior and asks you to modify AGENTS.md using an 'AGENTS.md.patch', but that patch file is not present in the package and there is no install/hook mechanism described to make the script run automatically. The script will create and write files under ./memory/, which may store sensitive conversation contents; SKILL.md gives the agent permission (implicitly) to modify agent config (AGENTS.md) but provides no safe integration steps.
Install Mechanism
Instruction-only with a small shell script; no install spec or remote downloads. This is low-risk from an installation-code provenance perspective.
Credentials
No environment variables, credentials, or external endpoints are requested. The only resources used are local file paths under the working directory, which is proportionate to local session persistence.
Persistence & Privilege
The skill persists conversation summaries to disk under ./memory/, and asks you to patch AGENTS.md to integrate it — this grants it ongoing presence in your workspace and the agent's configuration, but 'always' is false and it doesn't request elevated system privileges. Still, modifying AGENTS.md can change agent behavior and should be reviewed.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install session-persistence
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /session-persistence 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: 解决OpenClaw会话重启上下文丢失问题,包含3种互补方案,零额外API调用
元数据
Slug session-persistence
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Session Persistence 会话上下文持久化 是什么?

解决OpenClaw会话重启后上下文丢失的问题,包含3种互补方案:强化记忆恢复机制、外部会话存储、定期摘要压缩,实现零额外API调用的上下文持久化。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 342 次。

如何安装 Session Persistence 会话上下文持久化?

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

Session Persistence 会话上下文持久化 是免费的吗?

是的,Session Persistence 会话上下文持久化 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Session Persistence 会话上下文持久化 支持哪些平台?

Session Persistence 会话上下文持久化 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Session Persistence 会话上下文持久化?

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

💬 留言讨论