← 返回 Skills 市场
detain

Sessmgr

作者 Joe Huss · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
109
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install sessmgr
功能描述
Manage OpenClaw sessions by naming, listing, switching, creating, renaming, saving, and deleting them to persist and recover context by name.
安全使用建议
This skill's code implements exactly the session-naming features it describes and appears local-only (it reads/writes ~/.openclaw session files and prints RELOAD/NEW tokens). However, there are a few red flags to check before installing: - Provenance mismatch: registry owner ID/version differ from _meta.json inside the package — confirm the publisher and that you obtained the skill from a trusted source. - Undeclared dependencies: README and code expect Python 3 and the OPENCLAW_SESSION_ID env var, but the registry metadata lists no required binaries or env vars. Ensure your environment provides OPENCLAW_SESSION_ID and Python 3, or the skill may fail or behave unexpectedly. - Back up your session store (~/.openclaw/agents/main/sessions/) before first use, in case names.json is overwritten or malformed. - Review the package contents locally (the included scripts/session_mgr.py is small and readable) and, if installing via a package manager (clawhub), inspect what that installer does. If the publisher and these env/runtime omissions check out (i.e., the owner is trusted and your environment matches the expectations), the skill is likely safe to use. If you cannot verify the publisher or do not want an unverified script to modify files under ~/.openclaw, do not install.
功能分析
Type: OpenClaw Skill Name: sessmgr Version: 1.0.1 The 'sessmgr' skill is a utility for managing human-readable names for OpenClaw sessions. It operates entirely locally, reading and writing session metadata to the user's home directory (~/.openclaw/agents/main/sessions/). The Python script (scripts/session_mgr.py) uses standard libraries to manage a JSON mapping file and includes proper input validation for session names to prevent path traversal or shell injection. No evidence of data exfiltration, remote execution, or malicious prompt injection was found.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
The code and SKILL.md implement naming, listing, reloading, creating, renaming, saving, and deleting session-name mappings stored under ~/.openclaw/agents/main/sessions, which matches the skill description. However, the package expects a Python runtime (README says 'Python 3') and reads OPENCLAW_SESSION_ID from the environment, neither of which are declared in the registry metadata (required env vars/binaries are empty). Also _meta.json owner/version differ from registry metadata, which is an inconsistency in provenance.
Instruction Scope
Runtime instructions and the Python script limit their file access to ~/.openclaw/agents/main/sessions (names.json, sessions.json, and <sessionId>.jsonl). The actions and file I/O described are within the scope of a session-naming manager and the SKILL.md does not instruct the agent to read unrelated system files or transmit data externally.
Install Mechanism
There is no install spec that downloads or executes remote code; the skill is packaged with a local Python script and docs. No external installers, URLs, or archive extraction are present. This is a low-risk install surface, though the README suggests clawhub install which is outside the package and should be treated like any package manager operation.
Credentials
The package reads the OPENCLAW_SESSION_ID environment variable to determine the current session, but the registry metadata lists no required env vars. The README documents OPENCLAW_SESSION_ID, yet the skill's declared requirements omit it. Additionally, the registry did not declare Python3 as a required runtime binary. These omissions mean the skill will rely on undocumented environment/runtime state; that mismatch should be resolved before trusting the package.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or global agent settings. It writes only to ~/.openclaw/agents/main/sessions/names.json (its own local mapping) which is proportional to its function. No elevated privileges are requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sessmgr
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sessmgr 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Shortened description to fit 100-char limit for proper autocomplete.
v1.0.0
Complete rewrite with richer docs, action-based command dispatch, natural language support, validation rules, tips, and use cases.
元数据
Slug sessmgr
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Sessmgr 是什么?

Manage OpenClaw sessions by naming, listing, switching, creating, renaming, saving, and deleting them to persist and recover context by name. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 109 次。

如何安装 Sessmgr?

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

Sessmgr 是免费的吗?

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

Sessmgr 支持哪些平台?

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

谁开发了 Sessmgr?

由 Joe Huss(@detain)开发并维护,当前版本 v1.0.1。

💬 留言讨论