patrol
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "patrol" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8c2a88c528a24c5fef8b9d3d486e5d9184b7a5a27a7baba8f5dd5fc45f9df8aa. Verify the upstream source and version against https://skillhub.cn/skills/user_f12a44b7/clawhong-heartbeat-patrol before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Heartbeat patrol: periodically checks inbox and group chat, automatically executes tasks and reports progress, and skips expired tasks automatically. Suitable for worker main-loop patrols and automated task execution scenarios.
Introduction source: third_party · user_f12a44b7 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- OPENCLAW_ID=openclaw-c python3 scripts/heartbeat.py --debug ```
- Software, accounts and paid services
- Dashboard API: GET inbox/chat + POST send/callback authentication:
- Testing
- Not tested
Browse files
Frontmatter
name: patrol
slug: clawhong-heartbeat-patrol
description: "心跳巡检:定时检查inbox和群聊,自动执行任务并汇报进展,支持过期任务自动跳过。适用于工人主循环巡检和自动任务执行场景。"
version: 1.0.0
displayName: "Clawhong Heartbeat Patrol"heartbeat-patrol
心跳巡检Skill:定时检查inbox和群聊,自动执行任务并汇报进展。
触发条件
- cron定时触发(推荐每5分钟)
- 需要手动巡检时
API依赖
- Dashboard API: GET inbox/chat + POST send/callback
- 认证: Authorization: Bearer {TOKEN}
巡检流程
- 扫描inbox pending任务
- 分类:通知型(仅确认)vs 任务型(需执行)
- STALE-SKIP:超过2小时的pending自动跳过
- 检查群聊新消息
- 执行任务/发送回复
- 标记完成
使用方法
# 单次巡检
OPENCLAW_ID=openclaw-c python3 scripts/heartbeat.py
# 带调试输出
OPENCLAW_ID=openclaw-c python3 scripts/heartbeat.py --debug
配置
- OPENCLAW_ID: 当前工人ID(必填环境变量)
- DASHBOARD_TOKEN: API认证token
- STALE_THRESHOLD: 过期阈值(秒,默认7200)
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供定时巡检收件箱和群聊的自动化能力,适用于工人主循环巡检场景
- 支持过期任务自动跳过,提升任务执行效率
Highlights
- description 清晰描述了核心功能(心跳巡检、自动执行任务、汇报进展)和适用场景
Areas to improve
-
缺少 When to Use 章节 Reported severity: Minor
文档结构良好,但未设置明确的 'When to Use' 章节标题来说明具体使用时机。
Recommendation: 建议添加 'When to Use' 章节,更清晰地说明何时使用此 Skill。
Highlights
- 巡检流程步骤清晰(6步),包含端到端示例和配置说明
Areas to improve
-
未覆盖常见异常处理 Reported severity: Minor
未提及网络错误、API 限流、认证失败等常见异常的处理机制。
Recommendation: 建议在巡检流程或配置中补充常见异常的处理策略,如重试机制、错误日志记录等。
Highlights
- API 依赖和认证方式明确,配置项完整,包含过期任务自动跳过的异常处理逻辑
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Dashboard API: GET inbox/chat + POST send/callback authentication:
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.