← 返回 Skills 市场
Sentinel - AI Agent State Guardian
作者
Shadow Rose
· GitHub ↗
· v1.0.1
· MIT-0
278
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install sentinel
功能描述
Automated backup, integrity monitoring, and self-healing for AI agent workspaces. Detects unexpected changes, creates automatic backups, self-heals from corr...
安全使用建议
This skill appears to do what it says: local monitoring, backup, manifest, and restore. Before installing or running it, do the following: 1) Review and edit sentinel_config.py to point WORKSPACE_ROOT only at the workspace you intend to monitor (do NOT set it to / or other system-wide paths). 2) Set BACKUP_DIR to a location with sufficient space, ideally on a separate disk or encrypted volume; be aware backups are stored unencrypted and can contain secrets. 3) Set STATE_FILE, LOG_FILE, and ALERT_FILE to safe paths and verify file permissions. 4) Disable AUTO_RESTORE_ON_CORRUPTION until you run several --once cycles and confirm behavior. 5) Run python3 sentinel.py --once to test and inspect generated backups and state files. 6) If you need off-site archival or encryption, integrate a separate tool (rclone, encrypted disk) as suggested in LIMITATIONS.md. 7) Because the code is included and uses only stdlib, you can audit the files locally; if you need network/webhook alerting, note WEBHOOK_URL is optional/not implemented and would require configuration to contact external endpoints.
功能分析
Type: OpenClaw Skill
Name: sentinel
Version: 1.0.1
The Sentinel skill bundle is a legitimate utility designed for monitoring file integrity and performing automated backups within an AI agent's workspace. The code (sentinel.py, sentinel_manifest.py, sentinel_restore.py) uses standard Python libraries to perform SHA-256 hashing, directory walking, and file copying without any evidence of data exfiltration, obfuscation, or unauthorized execution. The instructions in SKILL.md correctly guide the AI agent on how to use the tool for its stated purpose of state protection and recovery.
能力评估
Purpose & Capability
Name/description match implementation: code scans a configured WORKSPACE_ROOT, computes hashes, writes a state file, creates timestamped backups, and offers restore/manifest tools. No unrelated cloud or service credentials are requested and required files and operations align with a backup/integrity tool.
Instruction Scope
SKILL.md and code instruct the agent to copy config_example.py to sentinel_config.py and then scan the configured workspace recursively. That means the tool will read any files under WORKSPACE_ROOT and write to BACKUP_DIR and STATE_FILE — expected for this purpose, but potentially wide in scope if WORKSPACE_ROOT is misconfigured (e.g., set to /). The instructions advise running as a service; nothing in SKILL.md asks the agent to read unrelated system credentials or external files.
Install Mechanism
No install spec or external dependencies; code is pure Python stdlib. There is no remote download or archive extraction. This is low risk from supply-chain/install perspective.
Credentials
The skill requests no environment variables or external credentials (ok). It does, however, require write/read access to user-specified filesystem paths (WORKSPACE_ROOT, BACKUP_DIR, STATE_FILE, LOG_FILE, ALERT_FILE). Those locations may contain secrets or sensitive files; storing backups in plain form (no encryption) is documented as a limitation and is expected but important to note.
Persistence & Privilege
Skill is not always-enabled and is user-invocable. It can be run continuously or installed as a systemd/launchd service (documented), which grants it persistent filesystem activity. AUTO_RESTORE_ON_CORRUPTION defaults to True in examples — this can cause automatic overwrites/restores if enabled, so users should test with AUTO_RESTORE disabled until confident.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install sentinel - 安装完成后,直接呼叫该 Skill 的名称或使用
/sentinel触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Fixed SKILL.md API docs (correct class names, constructor signatures, CLI usage); removed quality-verified artifact from README
v1.0.0
Initial release
元数据
常见问题
Sentinel - AI Agent State Guardian 是什么?
Automated backup, integrity monitoring, and self-healing for AI agent workspaces. Detects unexpected changes, creates automatic backups, self-heals from corr... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 278 次。
如何安装 Sentinel - AI Agent State Guardian?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install sentinel」即可一键安装,无需额外配置。
Sentinel - AI Agent State Guardian 是免费的吗?
是的,Sentinel - AI Agent State Guardian 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Sentinel - AI Agent State Guardian 支持哪些平台?
Sentinel - AI Agent State Guardian 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Sentinel - AI Agent State Guardian?
由 Shadow Rose(@theshadowrose)开发并维护,当前版本 v1.0.1。
推荐 Skills