← 返回 Skills 市场
276
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install session-reset
功能描述
安全地重置 OpenClaw agent sessions,支持备份、预览、恢复和批量操作。用于:1) 清理过期的 agent 会话上下文,2) 重置特定 agents 的 session,3) 批量重置六部/秘书 sessions,4) 查看和恢复历史备份。当用户需要"reset session"、"清理 se...
安全使用建议
This skill appears to do what it claims: discover agents under ~/.openclaw, back up session JSONL files, and delete or restore them. Before installing or running it: 1) Inspect scripts/reset-session.py yourself (it runs locally and will delete session files); 2) Run operations in --dry-run first to confirm which files will be affected; 3) Ensure you have adequate disk space for backups and that ~/.openclaw is the correct path for your deployment; 4) Keep external copies of critical data if you cannot afford accidental deletion; 5) If you need stronger assurance, run the script in a safe environment (container or test account) to observe behavior. Overall the package is internally consistent and does not request unrelated privileges or network access.
功能分析
Type: OpenClaw Skill
Name: session-reset
Version: 1.0.0
The session-reset skill is a legitimate maintenance utility designed to manage OpenClaw agent sessions. The core script, scripts/reset-session.py, performs file operations (backup, deletion, and restoration) strictly within the ~/.openclaw directory. It includes several safety features, such as mandatory backups before any reset, a --dry-run mode for previewing changes, and explicit user confirmation prompts. No evidence of malicious intent, data exfiltration, or unauthorized command execution was found.
能力评估
Purpose & Capability
Name/description match the delivered files: SKILL.md, README, examples, and a Python script implement discovery, backup, preview, restore, cleanup and deletion of OpenClaw session files under ~/.openclaw. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
Runtime instructions and examples consistently direct local operations (discover agents, preview, backup to ~/.openclaw/session-backups/, delete session JSONL files, restore from backups). The SKILL.md does not instruct reading unrelated system files or transmitting data externally.
Install Mechanism
This is instruction-only with bundled script files; there is no network download or install-from-URL. The script is included in the package (scripts/reset-session.py) and will run locally when invoked via the OpenClaw CLI.
Credentials
No environment variables or external credentials are required. The script operates on user-owned paths under the home directory (~/.openclaw), which is appropriate for the stated purpose. It does require filesystem write permissions to those paths.
Persistence & Privilege
The skill is not marked always:true and is user-invocable. It only writes its own config (~/.openclaw/session-reset-config.json) and backup files under ~/.openclaw/session-backups/, which is expected behavior for this utility.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install session-reset - 安装完成后,直接呼叫该 Skill 的名称或使用
/session-reset触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of session-reset.
- Provides safe reset of OpenClaw agent sessions with automatic backup and restore features.
- Supports batch cleaning of expired sessions, targeted agent reset, and session management for cron and subagents.
- Includes preview (--dry-run), force execution, and interactive initialization to configure default agents.
- Allows listing and restoring backups, as well as cleaning up old backups with customizable retention policies.
- Designed with safety measures: auto-backup, confirmation prompts, and preview mode to prevent accidental data loss.
元数据
常见问题
Session Reset 是什么?
安全地重置 OpenClaw agent sessions,支持备份、预览、恢复和批量操作。用于:1) 清理过期的 agent 会话上下文,2) 重置特定 agents 的 session,3) 批量重置六部/秘书 sessions,4) 查看和恢复历史备份。当用户需要"reset session"、"清理 se... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 276 次。
如何安装 Session Reset?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install session-reset」即可一键安装,无需额外配置。
Session Reset 是免费的吗?
是的,Session Reset 完全免费(开源免费),可自由下载、安装和使用。
Session Reset 支持哪些平台?
Session Reset 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Session Reset?
由 traceless(@traceless929)开发并维护,当前版本 v1.0.0。
推荐 Skills