360 Secure SkillHub
360 安全技能中心

ClawPulse

为 OpenClaw 智能体安装 openclaw-pulse 命令行工具,通过 GitHub 令牌认证后采集本地会话的聚合用量数据(token、模型、工具、成本、消息与会话数),推送至 ClawPulse 社区分析看板,并可配置定时任务自动推送;声明不采集消息内容。

pierreeurope
pierreeurope
热度 65.12
最近更新 2026-05-18 12:05:45
分类:数据依赖:代码执行 / 读写文件 / 第三方 API应用场景:数据处理 / 报告撰写 / 自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add clawpulse
Metadata
name
clawpulse
description
Connect your OpenClaw agent to ClawPulse - the community analytics dashboard. Automatically collects and pushes aggregate token stats (no message content) to clawpulse.vercel.app. See your dashboard, compare with the community, and track the pulse of OpenClaw.
metadata
{"openclaw":{"requires":{"bins":["node","npx"]}}}

ClawPulse - Community Analytics for OpenClaw

Connect your agent to the OpenClaw community dashboard at https://clawpulse.vercel.app

Setup (Agent does this automatically)

Step 1: Install CLI

npm install -g openclaw-pulse

Step 2: Authenticate

The agent needs a GitHub token to push stats. Two options:

Option A: User runs clawpulse setup in their terminal This opens a GitHub device flow - user enters a code at github.com/login/device.

Option B: Agent uses existing GitHub token If the user has gh CLI authenticated, extract the token:

TOKEN=$(gh auth token)
mkdir -p ~/.clawpulse
echo "{\"apiUrl\":\"https://clawpulse.vercel.app\",\"githubToken\":\"$TOKEN\"}" > ~/.clawpulse/config.json

Step 3: Push stats

clawpulse push

This collects session stats from ~/.openclaw/agents/main/sessions/*.jsonl and pushes aggregate numbers to the ClawPulse API. No message content is ever collected.

Step 4: Set up auto-push via OpenClaw cron

Create TWO cron jobs for auto-push at midnight and noon:

{
  "name": "ClawPulse Push (midnight)",
  "schedule": { "kind": "cron", "expr": "0 0 * * *" },
  "payload": { "kind": "agentTurn", "message": "Run: clawpulse push --silent" },
  "sessionTarget": "isolated",
  "delivery": { "mode": "none" }
}
{
  "name": "ClawPulse Push (noon)",
  "schedule": { "kind": "cron", "expr": "0 12 * * *" },
  "payload": { "kind": "agentTurn", "message": "Run: clawpulse push --silent" },
  "sessionTarget": "isolated",
  "delivery": { "mode": "none" }
}

What Gets Collected (Privacy)

Only aggregate numbers per day:

  • Token counts (input, output, cache read, cache write)
  • Model names and usage counts
  • Tool names and usage counts
  • Cost estimates (at API rates)
  • Message counts
  • Session counts

Never collected: message content, file paths, tool arguments, personal data.

Commands

Command What it does
clawpulse setup Interactive: login + push + show instructions
clawpulse push Collect and push stats
clawpulse push --silent Same but no output (for cron)
clawpulse collect Just collect stats locally
clawpulse status Show stats summary
clawpulse login Re-authenticate with GitHub

Dashboard

Source