goal-heartbeat-engine
多目标轮转心跳引擎。当 cron 心跳触发、或 Agent 需要自主决定下一步行动时自动调用。提供:骰子随机模式选择、目标健康度追踪、防重复机制、接力棒续跑、产出质量红线。适用于任何需要在多个长期目标间智能轮转、持续产出的 AI Agent 系统。
Why use this skill?
Master multi-goal rotation with the Goal Heartbeat Engine. Ensure your AI agent stays productive with state-driven heartbeat cycles, health tracking, and enforced output quality.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/wilsonliu95/goal-heartbeatWhat This Skill Does
The goal-heartbeat-engine is an advanced state machine designed to keep your OpenClaw AI agents productive and focused. It operates on a strict principle: every "heartbeat" (triggered by cron or自主 decision) must result in a tangible, high-quality output. It manages a rotation between multiple long-term objectives, ensuring no goal is neglected while maintaining a healthy, non-repetitive workflow. By tracking "goal health" and maintaining a persistent state in PULSE.md and GOALS.md, the engine forces the agent to move beyond planning into active execution. It employs a dice-roll mechanism for task selection to prevent path dependency, enforces quality "red lines" to ensure deep work, and tracks a relay-style task continuation system to handle complex, multi-stage projects.
Installation
To integrate this engine into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/wilsonliu95/goal-heartbeat
After installation, ensure your workspace/memory/ directory is prepared with a properly formatted GOALS.md file, as the engine depends on this to perform its health checks and task assignment.
Use Cases
- Autonomous Research Agent: Use this to cycle between market research, competitor analysis, and personal knowledge management, ensuring each target gets consistent attention.
- Content Creation Pipeline: Manage multiple writing projects simultaneously, ensuring the agent constantly pushes forward progress without getting stuck on a single task for too long.
- Software Development Lifecycle: Keep an agent focused on balancing refactoring, feature implementation, and technical debt resolution across a project codebase.
Example Prompts
- "Initialize the goal-heartbeat-engine by scanning my current tasks in GOALS.md and starting the first rotation."
- "Review the recent pulse logs and explain why the agent prioritized the 'Productivity Tool' goal over the 'Market Research' objective during the last cycle."
- "Force a manual heartbeat trigger to ensure the 'Data Cleanup' task is finished before the end of the current session."
Tips & Limitations
- Tip: Regularly review the
PULSE.mdfile to verify that the agent's "health metrics" align with your actual priorities. If a goal is consistently labeled STARVED, increase the weight of its sub-tasks inGOALS.md. - Limitation: The engine is designed for long-term goal management. It may be overkill for simple, singular tasks or reactive workflows. Always ensure your "Red Lines" are clearly defined to prevent the agent from delivering superficial work.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-wilsonliu95-goal-heartbeat": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
daily-evolution
AI Agent 每日自我进化引擎(潜龙计划)。由 cron 每日自动触发,执行四阶段循环:对话整理→工具盘点→最佳实践固化→报告生成。用于让 Agent 从日常协作中提取模式、优化工具链、迭代人设文件,实现持续自我提升。适用于任何需要自我迭代的 AI Agent 系统。
seedream-imagegen
Generate high-quality images using Seedream 4.5 API (Volcengine/火山引擎). Supports text-to-image, image editing, multi-image fusion, and sequential image generation. Triggers include requests like "generate an image", "create a picture", "make a poster", "edit this image", "生成图片", "画一张", "做一个海报", image generation tasks, or any visual content creation request. This skill crafts optimized prompts based on user intent and then calls the Seedream API. Requires ARK_API_KEY environment variable.
openclaw-toolbox
Integrated OpenClaw management suite for environment initialization, maintenance, and multi-mode backup (Full/Skills).
feishu
飞书套件:文档/表格/多维表格/消息/群聊/通讯录/日程/任务/翻译/OCR/语音