Token导航 LogoToken导航TokenDH.com
效率操作浏览器clawhub未标认证来源可访问clear审计提醒

workspace-heartbeat-integration工作区心跳集成

Agent Skill

workspace-heartbeat-integration 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,122

周安装

250

GitHub Stars

公开资料未说明

下载量

2,358
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:workspace-heartbeat-integration(工作区心跳集成)
来源仓库:https://github.com/utopiabenben/workspace-heartbeat-integration
安装命令:
openclaw skills install workspace-heartbeat-integration
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install workspace-heartbeat-integration

简介

工作区心跳集成同步记录工作会话和每日摘要。

  • 整合 HEARTBEAT.md 和 heartbeat-state.json 文件。
  • 支持状态更新和日志自动化管理。workspace-heartbeat-integration 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 需确认文件写入权限和存储位置。
  • 建议设置定时任务保持数据连续性。

SKILL.md

Workspace Heartbeat Integration

When to Use

Use this skill when you want to:

  • Automatically record work成果 during heartbeat checks
  • Synchronize workspace HEARTBEAT.md with self-improving heartbeat-state.md
  • Reduce manual memory updates by automating the logging process
  • Maintain consistent heartbeat state across different memory systems

Triggers:

  • During routine heartbeat checks (every 30min/1h/2h/daily)
  • When manually syncing work logs to MEMORY.md
  • When updating TASK_BOARD.md progress
  • When you want to automate self-tracking

Architecture

This skill integrates three systems:

  1. Workspace HEARTBEAT.md - Task checklist and timing rules
  2. Self-improving heartbeat-state.md - Per-skill heartbeat tracking
  3. Workspace memory/ - Daily learning logs and MEMORY.md
~/.openclaw/workspace/
├── HEARTBEAT.md              # Workspace heartbeat rules
├── MEMORY.md                 # Long-term memory (curated)
├── memory/
│   ├── 2026-03-20.md        # Daily logs (raw)
│   └── heartbeat-state.json # Workspace heartbeat state
└── skills/
    └── workspace-heartbeat-integration/
        ├── SKILL.md
        ├── skill.json
        └── source/
            └── integration.py  # Core logic

Actions

Sync Heartbeat State

workspace-heartbeat-integration --sync

Performs a full synchronization:

  1. Reads current workspace heartbeat-state.json
  2. Updates timestamps based on last check times
  3. Scans memory/YYYY-MM-DD.md for today's entries
  4. Generates a summary of today's work
  5. Optionally updates MEMORY.md with new insights

Auto-log Work Session

workspace-heartbeat-integration --log "Completed skill X development"

Adds a work entry to today's memory file:

  • Date and timestamp
  • Work category (learning, development, debugging, etc.)
  • Detailed description
  • Links to related files (if any)

Generate Heartbeat Report

workspace-heartbeat-integration --report [--format text|markdown|json]

Generates a comprehensive heartbeat report:

  • Last check times for all intervals
  • Today's work summary
  • Pending tasks from TASK_BOARD.md
  • Skill development progress
  • Suggestions for next actions

Configuration

The skill reads configuration from:

  • ~/.config/workspace-heartbeat-integration/config.json (optional)

Example config:

{
  "auto_sync": true,
  "log_retention_days": 30,
  "memory_update_threshold": 3,
  "excluded_dirs": [".git", "node_modules", "__pycache__"]
}

Integration with Self-Improving

When installed alongside the self-improving skill:

  • Heartbeat logs become candidate patterns for self-improvement
  • Repeated work patterns can be promoted to HOT memory
  • Corrections from manual reviews feed into corrections.md

Setup

  1. Install the skill:
clawhub install workspace-heartbeat-integration
  1. (Optional) Configure integration in HEARTBEAT.md:

Add to your heartbeat check routine:

### 每 30 分钟检查:
1. 📊 回顾当前进度,更新学习日志
2. 📋 查看任务看板,找下一个任务
3. 💡 同步心跳状态:workspace-heartbeat-integration --sync
  1. Test the integration:
workspace-heartbeat-integration --sync

Example Workflow

Typical heartbeat check (30min interval):

1. 查看是否有紧急消息/邮件
2. 检查任务看板,选择下一个任务
3. 开始执行(例如:开发 skill-validator)
4. 完成后记录:workspace-heartbeat-integration --log "Finished parsing SKILL.md frontmatter"
5. Sync state: workspace-heartbeat-integration --sync

Daily summary (end of day):

workspace-heartbeat-integration --report --format markdown > daily_summary.md

Benefits

  • Automation: No manual copying of timestamps and work entries
  • Consistency: Uniform format for all daily logs
  • Traceability: Every heartbeat check is logged with context
  • Self-improvement: Work patterns become visible for optimization
  • Accountability: Clear record of what was done each day

Technical Details

  • Language: Python 3.8+
  • Dependencies: None (uses only standard library)
  • Python modules: json, os, datetime, pathlib, glob, re
  • Thread-safe: Uses file locks to prevent concurrent modifications
  • Idempotent: Safe to run multiple times (won't duplicate entries)

Limitations

  • Does not automatically update ClawHub download stats (browser tool required)
  • Requires write access to workspace memory/ directory
  • Does not parse git history for commit messages (future enhancement)

Future Enhancements

  • Integration with browser tool for ClawHub stats
  • Git commit message parsing
  • Automatic TASK_BOARD.md progress updates
  • Weekly/Monthly trend analysis
  • Export to Notion/Google Sheets

Version: 1.0.0 Last Updated: 2026-03-20 Author: 小叮当 (智脑)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

72.3%
按下载量换算1,705

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills