← Back to Skills Marketplace
winter1102

Session Persistence 会话上下文持久化

by winter1102 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
342
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install session-persistence
Description
解决OpenClaw会话重启后上下文丢失的问题,包含3种互补方案:强化记忆恢复机制、外部会话存储、定期摘要压缩,实现零额外API调用的上下文持久化。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install session-persistence
  3. After installation, invoke the skill by name or use /session-persistence
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: 解决OpenClaw会话重启上下文丢失问题,包含3种互补方案,零额外API调用
Metadata
Slug session-persistence
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Session Persistence 会话上下文持久化?

解决OpenClaw会话重启后上下文丢失的问题,包含3种互补方案:强化记忆恢复机制、外部会话存储、定期摘要压缩,实现零额外API调用的上下文持久化。 It is an AI Agent Skill for Claude Code / OpenClaw, with 342 downloads so far.

How do I install Session Persistence 会话上下文持久化?

Run "/install session-persistence" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Session Persistence 会话上下文持久化 free?

Yes, Session Persistence 会话上下文持久化 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Session Persistence 会话上下文持久化 support?

Session Persistence 会话上下文持久化 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Session Persistence 会话上下文持久化?

It is built and maintained by winter1102 (@winter1102); the current version is v1.0.0.

💬 Comments