← 返回 Skills 市场
465
总下载
0
收藏
5
当前安装
1
版本数
在 OpenClaw 中安装
/install heartbeat-tasks
功能描述
Manage and execute periodic heartbeat tasks for trading, memory evaluation, archiving, and reporting with state tracking and anomaly alerts.
使用说明 (SKILL.md)
心跳任务执行技能
PAI 系统的心跳任务管理和执行技能 @version 1.0.0
🎯 目标
- 定期执行周期性任务
- 批量检查多个系统状态
- 主动报告异常情况
📋 心跳任务清单
CryptoTrading (每 10 分钟)
- 检查距离上次决策是否≥10 分钟
- 获取当前行情(BTC/ETH/BNB)
- 调用 AI 获取决策
- 应用规则验证(R001-R006)
- 执行交易或记录 HOLD
- 更新状态文件
记忆管理 (每日 23:00)
- 评估今日记忆质量
- 提炼高价值记忆到 MEMORY.md
- 标记待归档的低价值记忆
记忆归档 (每周六 23:00)
- 归档旧记忆文件 (>30 天)
- 清理重复/低质量记忆
- 更新记忆系统统计
交易总结 (每日 22:00)
- 生成每日交易总结
- 统计当日盈亏
- 提炼经验教训
周度回顾 (每周日 22:00)
- 周度规则提炼
- 发现新模式
- 更新 trading_rules.md
🔧 执行策略
批量检查
将多个周期性检查合并到一次心跳中,减少 API 调用:
- 交易决策 + 验证脚本
- 记忆评估 + 状态更新
静默执行
- 无异常时回复
HEARTBEAT_OK - 有异常时详细说明问题和建议
状态追踪
使用 memory/heartbeat-state.json 记录:
- 最后检查时间
- 执行统计
- 系统状态
📊 成功标准
- 心跳任务按时执行率 > 99%
- 异常检测和报告及时
- 状态文件保持最新
📁 相关文件
/Users/zst/clawd/HEARTBEAT.md- 心跳任务配置/Users/zst/clawd/memory/heartbeat-state.json- 执行状态
安全使用建议
This skill's instructions will read and update specific local files and claim to "execute trades," but the package metadata does not list any required config paths or API credentials. Before installing: (1) Ask the publisher to document exactly which API keys, secrets, and config file paths are required and where they must be stored; (2) require that trading execution be disabled by default (or require explicit, documented exchange credentials) so it cannot act on live funds without your clear setup; (3) confirm what market data endpoints it calls and whether any external endpoints receive your data; (4) prefer a version that uses relative/agent-controlled config paths rather than hard-coded /Users/… paths; (5) test in a sandboxed agent without real exchange credentials or sensitive files. Because the source and homepage are unknown, treat this as higher-risk until those clarifications are provided.
功能分析
Type: OpenClaw Skill
Name: heartbeat-tasks
Version: 1.0.0
The skill bundle describes a 'heartbeat task execution skill' for a PAI system, outlining tasks like crypto trading, memory management, and data archiving. While these tasks involve sensitive operations (financial transactions, file system read/write/delete), the instructions in SKILL.md are descriptive of the skill's intended functionality and do not contain any clear evidence of malicious intent, prompt injection attempts to subvert the agent, or instructions for unauthorized actions. The absolute file paths mentioned are presented as informational regarding the skill's own configuration and state files, not as commands to access arbitrary system files.
能力评估
Purpose & Capability
The skill's name/description (heartbeat tasks for trading, memory management, archiving, reporting) matches the SKILL.md content. However, the SKILL.md requires actions (fetch market data, 'execute trades', update local state files) that normally require exchange API credentials and explicit config path access; those credentials and config paths are not declared in the registry metadata. This is disproportionate/inconsistent.
Instruction Scope
Runtime instructions reference specific local files (/Users/zst/clawd/HEARTBEAT.md and /Users/zst/clawd/memory/heartbeat-state.json) and direct updates to status files. They also instruct executing trades and contacting an AI for trading decisions. The registry lists no config paths or env vars; the SKILL.md therefore tells the agent to read/write user files and perform networked trading actions without documenting those required accesses.
Install Mechanism
This is an instruction-only skill with no install spec and no bundled code, which reduces install-time risk (nothing is downloaded or written during install).
Credentials
No environment variables, credentials, or primary credential are declared, yet the skill's functionality (trading execution, fetching market data) typically requires API keys/secrets and network access. Additionally, the SKILL.md expects access to specific user file paths but none are listed under required config paths — a mismatch that can hide where sensitive credentials or files must be stored.
Persistence & Privilege
The skill does not request 'always' presence and doesn't claim to modify other skills. Model invocation is allowed (the platform default) which increases autonomy but is not by itself a red flag; combined with the other inconsistencies it warrants caution.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install heartbeat-tasks - 安装完成后,直接呼叫该 Skill 的名称或使用
/heartbeat-tasks触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
heartbeat-tasks 1.0.0
- 首次发布:提供心跳任务的管理与自动执行能力
- 支持多任务周期性调度,包括交易决策、记忆管理与归档、总结与回顾
- 实现批量状态检查与异常主动报告机制
- 状态追踪与执行统计,确保任务准时完成
- 响应异常详细反馈,正常时静默报告
- 任务与配置文件结构清晰,易于扩展
元数据
常见问题
Heartbeat Tasks 是什么?
Manage and execute periodic heartbeat tasks for trading, memory evaluation, archiving, and reporting with state tracking and anomaly alerts. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 465 次。
如何安装 Heartbeat Tasks?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install heartbeat-tasks」即可一键安装,无需额外配置。
Heartbeat Tasks 是免费的吗?
是的,Heartbeat Tasks 完全免费(开源免费),可自由下载、安装和使用。
Heartbeat Tasks 支持哪些平台?
Heartbeat Tasks 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Heartbeat Tasks?
由 WuZiMaKi(@wuzimaki)开发并维护,当前版本 v1.0.0。
推荐 Skills