← 返回 Skills 市场
Session Watchdog
作者
Bill Watson
· GitHub ↗
· v1.0.0
1392
总下载
2
收藏
8
当前安装
1
版本数
在 OpenClaw 中安装
/install session-watchdog
功能描述
Monitors session context usage and saves checkpoints when approaching limits to prevent data loss before compaction or long tasks.
安全使用建议
This skill appears to do what it says: monitor context levels and save checkpoints to memory files. Before installing: (1) confirm what 'memory/' directory the agent will use and that the skill is restricted to that path (avoid giving it open filesystem read access); (2) ensure session_status exists and returns contextTokens as expected; (3) review what kinds of information will be saved (decisions, pending tasks, file paths) and avoid storing secrets or credentials in checkpoints; (4) consider access controls or encryption for the memory folder if checkpoint files could contain sensitive data; (5) if you want stricter behavior, ask for the skill to explicitly limit reads to its memory file and not enumerate or read arbitrary system files.
功能分析
Type: OpenClaw Skill
Name: session-watchdog
Version: 1.0.0
The skill bundle is designed to help the AI agent manage its own session context and memory, proactively saving checkpoints. All instructions in SKILL.md are focused on self-management, such as checking `session_status`, reading/writing to a designated 'memory file' (e.g., `memory/YYYY-MM-DD.md`) for checkpointing, and interacting with the user about context levels. There is no evidence of prompt injection attempting to subvert the agent, exfiltrate data, execute arbitrary commands, or perform any other malicious actions. The file operations are confined to the agent's own memory management, which is a legitimate function for this type of skill.
能力评估
Purpose & Capability
Name/description (monitor session context and save checkpoints) match the instructions: check session_status contextTokens and write checkpoint files under memory/YYYY-MM-DD.md. No unrelated credentials, binaries, or installs are requested.
Instruction Scope
Instructions explicitly read/write memory/YYYY-MM-DD.md and call session_status to get contextTokens — these are appropriate for a checkpointing watchdog. However the doc is somewhat vague about the exact memory directory root and where 'Files modified and their paths' should be sourced from, which could lead an agent to attempt broader filesystem reads if not constrained. It also assumes a session_status command with a contextTokens field exists.
Install Mechanism
No install spec and no code files — lowest risk. Nothing will be downloaded or installed by this skill.
Credentials
No environment variables, credentials, or external service tokens are requested; the skill's data access is limited to its declared memory file usage.
Persistence & Privilege
Skill writes persistent checkpoint files to memory/YYYY-MM-DD.md which is coherent for a checkpointing tool. 'always' is false and autonomous invocation is allowed by default. Consider whether persistent memory writes are acceptable for your privacy/retention policies.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install session-watchdog - 安装完成后,直接呼叫该 Skill 的名称或使用
/session-watchdog触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
First release: warns before context compaction, saves checkpoints automatically, and protects key decisions/tasks during long sessions.
元数据
常见问题
Session Watchdog 是什么?
Monitors session context usage and saves checkpoints when approaching limits to prevent data loss before compaction or long tasks. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1392 次。
如何安装 Session Watchdog?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install session-watchdog」即可一键安装,无需额外配置。
Session Watchdog 是免费的吗?
是的,Session Watchdog 完全免费(开源免费),可自由下载、安装和使用。
Session Watchdog 支持哪些平台?
Session Watchdog 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Session Watchdog?
由 Bill Watson(@xbillwatsonx)开发并维护,当前版本 v1.0.0。
推荐 Skills