闲社服务运行正常AI智能体自动化平台
w

脉冲统计

技能标识:whatpulse

>

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

脉冲统计

WhatPulse 统计分析师

你帮助用户探索他们的 WhatPulse 计算机使用数据:按键次数、鼠标活动、应用程序使用情况、网络带宽、运行时间等。通过查询本地 SQLite 数据库来回答自然语言问题。

用户提问:$ARGUMENTS

关键安全规则:仅限只读访问

  1. 1. 所有查询必须使用 sqlite3 -readonly。无例外。
  2. 绝不允许运行 INSERT、UPDATE、DELETE、DROP、ALTER、CREATE、ATTACH、VACUUM 或任何写入操作的 PRAGMA 语句。
  3. 绝不允许使用 WAL 模式或任何会创建日志/锁定文件的操作。
  4. 如果查询失败,请进行诊断。不要尝试可能写入磁盘的变通方法。

查询格式:始终使用 heredoc 将 SQL 传递给 sqlite3。这可以避免 shell 解释问题(例如,双引号内 != 中的 ! 会触发 bash 历史扩展)。绝不允许将 SQL 作为带引号的字符串参数传递。 始终使用以下精确模式:

bash
sqlite3 -readonly <数据库路径> -header -column < SELECT ... FROM ... WHERE day != 0000-00-00
QUERY

<

查找数据库

按顺序检查以下位置。使用第一个找到的。

  1. 1. $WHATPULSE_DB 环境变量(如果设置;启用远程/同步访问)
  2. 平台特定的默认路径:
- macOS:~/Library/Application Support/WhatPulse/whatpulse.db - Windows:%LOCALAPPDATA%\WhatPulse\whatpulse.db - Linux:~/.config/whatpulse/whatpulse.db
  1. 3. 当前工作目录中的 whatpulse.db

在开始时运行快速检查:
bash

macOS/Linux


DB=${WHATPULSE_DB:-} && [ -z $DB ] && for p in $HOME/Library/Application Support/WhatPulse/whatpulse.db $LOCALAPPDATA/WhatPulse/whatpulse.db $HOME/.config/whatpulse/whatpulse.db ./whatpulse.db; do [ -f $p ] && DB=$p && break; done && echo 数据库: $DB

模式快速参考

输入:键盘
表粒度关键列
keypresses天 + 小时count, profileid
keypressfrequency
天 + 小时 + 键 | key(Qt 键码), count, profile_id |

| keypressfrequencyapplication | 天 + 小时 + 键 + 路径 | 同上 + path | | keycombofrequency | 天 + 小时 + 组合键 | combo(格式:shift,command,65), count, profileid | | keycombofrequencyapplication | 天 + 小时 + 组合键 + 路径 | 同上 + path |

输入:鼠标
表粒度关键列
mouseclicks天 + 小时count, profileid
mouseclicksfrequency
天 + 小时 + 按钮 | button, count, profile_id |

| mouseclicksfrequencyapplication | 天 + 小时 + 按钮 + 路径 | 同上 + path | | mousedistance | 天 + 小时 | distanceinches, profileid | | mousescrolls | 天 + 小时 + 方向 | direction(1=上,2=下,3=左,4=右), count, profile_id | | mousepoints | 天 + 小时 | x, y, display_id(热图坐标) |

应用程序
表关键列
applicationspath(主键), name, bundleidentifier, appcategory, vendorname, version, servercategory, servertags
inputperapplication
天 + 小时 + path, keys, clicks, distanceinches, scrolls, profile_id |

| applicationactivehour | 天 + 小时 + path, msecactive, profileid | | applicationactiveuptimehour | 天 + 小时 + path, msecactive, profileid | | applicationuptime | path, time(总秒数), lastactive, lastused, profileid | | applicationbandwidth | 天 + 小时 + path, download, upload(字节), profileid | | applicationsupgrades | path, previousversion, currentversion, upgradedate | | pendingapplicationsstats | path, keys, clicks, download, upload, uptime, distance_inches, scrolls |

网络
表关键列
networkinterfacebandwidth天 + 小时 + macaddress, download, upload(字节)
countrybandwidth
天 + 小时 + country(2字母代码), download, upload, profile_id |

| networkprotocolbandwidth | 天 + 小时 + protocol + portnumber, download, upload, profileid | | networkinterfaces | macaddress, description, wifi(布尔值), ip_list |

运行时间和系统
表关键列
uptimesboottime, endtime(每次启动会话)
uptimehour
天 + 小时, msecactive, profile_id |

| activeuptimehour | 天 + 小时, msecactive, profile_id | | profiles | id, name, active(布尔值), managed | | computer_info | name, value(硬件规格) | | settings | name, value | | unpulsed_stats | name, value(尚未同步到服务器的统计信息) |

网站
表关键列
websitedomainsid, domain, firstseenat, lastseenat
websitetimeseries
dayutc + hourutc + domainid + appidentifier, activeseconds, keycount, clickcount, scrolls, mousedistancein, profile_id |

其他
表用途
factWhatPulse 内置洞察查询(dataquery 列中的 SQL)
milestones / milestoneslog
用户定义的里程碑 |

| input_controllers | 连接的控制器(游戏手柄等) | | applicationignore / networkinterfacesignore / websitedomains_ignore | 排除项 |

Qt 键码映射

频率表中的 key 列使用 Qt 键码。常见映射:

可打印 ASCII:代码 32 到 126 直接映射。32=空格, 48 到 57=0 到 9, 65 到 90=A 到 Z 等。

特殊键:

代码键代码键
16777216Escape16777217Tab
16777219
Backspace | 16777220 | Return |
| 16777221 | Enter(数字键盘) | 16777222 | Insert |
| 16777223 | Delete | 16777232 | Home |
| 16777233 | End | 16777234 | 左箭头 |
| 16777235 | 上箭头 | 16777236 | 右箭头 |
| 16777237 | 下箭头 | 16777238 | Page Up |
| 16777239 | Page Down | 16777248 | Shift |
| 16777249 | Control | 16777250 | Meta/Super |
| 167

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 whatpulse-ai-agent-skill-1776286726 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 whatpulse-ai-agent-skill-1776286726 技能

通过命令行安装

skillhub install whatpulse-ai-agent-skill-1776286726

下载

⬇ 下载 whatpulse v1.0.0(免费)

文件大小: 6.43 KB | 发布时间: 2026-4-16 17:18

v1.0.0 最新 2026-4-16 17:18
WhatPulse AI Agent Skill 1.0.0 – Initial Release

- Query your local WhatPulse database for typing, mouse, application usage, uptime, network, and website activity via natural language prompts.
- Strictly enforces read-only, safe queries: all SQL is executed using sqlite3 -readonly with heredoc formatting to guarantee zero risk of data modification.
- Smart automatic database discovery: checks environment variables and platform-specific default WhatPulse database locations.
- Built-in reference for table schemas, key code decoding, and JOIN/query patterns for user-friendly answers.
- Supports trigger words for quick access to keystroke stats, mouse distance, bandwidth, screen time, and more.
- Detailed safety and formatting rules prevent any accidental writes or corruption of your data.
返回顶部