← 返回 Skills 市场
hith3sh

WakaTime

作者 Jay · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ pending
44
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install wakatime
功能描述
WakaTime API integration with managed OAuth. Retrieve coding statistics, track developer productivity, analyze programming languages and editor usage, view d...
使用说明 (SKILL.md)

WakaTime

WakaTime

Developer productivity tracking from chat -- view coding stats, language breakdowns, project time, and daily activity summaries.

Powered by ClawLink, an integration hub for OpenClaw that handles hosted OAuth flows and credentials so you don't need to configure WakaTime API access yourself.

Setup in 3 Steps

Step 1: Install Step 2: Pair Account Step 3: Connect WakaTime
Install Pair App-specific connection GIF coming soon
Run the install command in OpenClaw Sign in and approve the device Open the dashboard and connect WakaTime

How It Works

┌─────────────────┐     ┌──────────────┐     ┌──────────────────┐
│   OpenClaw      │────▶│   ClawLink   │────▶│  WakaTime API    │
│   (User Chat)   │     │   (OAuth)    │     │                  │
└─────────────────┘     └──────────────┘     └──────────────────┘

Install

openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart

Quick Start

  1. Get your profile: wakatime_get_user with user param "current" -- see your WakaTime profile.
  2. View today's coding: wakatime_get_current_user_status_bar_today -- get today's coding summary.
  3. Check stats by range: wakatime_get_user_stats_by_range -- analyze coding patterns over a specific time period.

Authentication

WakaTime uses managed OAuth via ClawLink. No API keys needed. Connect your WakaTime account at claw-link.dev/dashboard?add=wakatime and authorize access through the hosted flow.

Connection Management

List connections: clawlink_list_integrations -- confirm WakaTime is connected.

Verify: Call wakatime_get_user with user "current" to test access.

Reconnect: If you see auth errors, reconnect at claw-link.dev/dashboard?add=wakatime.

Security & Permissions

All WakaTime tools are read-only. No write operations are available. All calls are safe and require no confirmation.

Tool Reference

User Operations

Tool Description Mode
wakatime_get_user Get user profile (use "current" for authenticated user) Read
wakatime_get_current_user_status_bar_today Get today's coding activity summary Read
wakatime_get_machine_names List user's machines with last seen time Read
wakatime_list_user_user_agents List plugins/editers that have sent data for a user Read
wakatime_get_users_all_time_since_today Get total coding time since account creation Read

Statistics Operations

Tool Description Mode
wakatime_get_user_stats Get coding stats over the default time range Read
wakatime_get_user_stats_by_range Get stats for a specific time range (languages, editors, projects) Read
wakatime_get_aggregate_stats Get aggregate coding stats across all WakaTime users Read

Summary Operations

Tool Description Mode
wakatime_get_user_summaries Get daily coding summaries with breakdowns by project, language, editor Read

Project Operations

Tool Description Mode
wakatime_list_user_projects List WakaTime projects with names, IDs, and last activity Read

Goal / Insight Operations

Tool Description Mode
wakatime_get_goals List user's goals with progress series Read
wakatime_get_insights Retrieve coding insights for a user over a time range Read

Leaderboard Operations

Tool Description Mode
wakatime_get_leaders List public leaders ranked by coding activity Read

Reference / Meta Operations

Tool Description Mode
wakatime_list_program_languages List all verified programming languages tracked by WakaTime Read
wakatime_get_editors List WakaTime IDE plugins with metadata Read
wakatime_get_meta Get API meta info including WakaTime server IPs Read
wakatime_get_oauth_authorize Generate OAuth 2.0 authorization URL Read

Code Examples

Get your coding profile

{
  "tool": "wakatime_get_user",
  "args": { "user": "current" }
}

View today's coding activity

{
  "tool": "wakatime_get_current_user_status_bar_today"
}

Get stats for the last 7 days

{
  "tool": "wakatime_get_user_stats_by_range",
  "args": { "user": "current", "range": "last_7_days" }
}

List all your projects

{
  "tool": "wakatime_list_user_projects",
  "args": { "user": "current" }
}

Discovery Workflow

  1. Call clawlink_list_integrations to confirm wakatime is connected.
  2. Call clawlink_list_tools --integration wakatime to see the live catalog.
  3. Call wakatime_get_user with user "current" to verify your profile.
  4. Use stats and summary tools to explore coding activity.

Execution Workflow

Read Flow:  User asks for coding stats → clawlink resolves connection → WakaTime API → metrics displayed

Notes

  • All tools are read-only. WakaTime integration does not write any data.
  • Use "current" as the user parameter to reference the authenticated user.
  • wakatime_get_user_summaries requires the read_summaries scope.
  • wakatime_get_goals requires the read_goals scope.
  • Coding time values may differ from dashboard totals due to API vs. web display logic.

Error Handling

Status / Error Meaning
401 Unauthorized Token expired; reconnect at the dashboard
403 Forbidden Insufficient OAuth scope for the requested data
404 Not Found Invalid user ID or username

Troubleshooting

Tools Not Visible

Run openclaw gateway restart after installing the plugin. Start a fresh chat session.

Missing Summaries or Goals

The OAuth connection may not have the required scopes. Reconnect to grant additional permissions.

Resources


Powered by ClawLink -- an integration hub for OpenClaw

ClawLink Logo

能力标签
requires-oauth-tokenrequires-sensitive-credentials
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wakatime
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wakatime 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Add UTM attribution tags (utm_source=clawhub) to ClawLink branding links so visits from this skill page are tracked as a distinct traffic source.
v1.0.0
WakaTime skill initial release – integrates WakaTime API with managed OAuth for seamless coding activity insights. - View coding stats, language breakdowns, project time, and daily activity directly from chat. - No API keys needed: connect your WakaTime account via ClawLink’s hosted OAuth flow. - Supports user, stats, summaries, project, goal, insight, leaderboard, and reference operations (all read-only). - Includes easy setup instructions, tool references, error handling, and troubleshooting tips.
元数据
Slug wakatime
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

WakaTime 是什么?

WakaTime API integration with managed OAuth. Retrieve coding statistics, track developer productivity, analyze programming languages and editor usage, view d... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。

如何安装 WakaTime?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install wakatime」即可一键安装,无需额外配置。

WakaTime 是免费的吗?

是的,WakaTime 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

WakaTime 支持哪些平台?

WakaTime 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 WakaTime?

由 Jay(@hith3sh)开发并维护,当前版本 v1.0.1。

💬 留言讨论