← 返回
未分类

WorkBuddy 每日签到

Automate WorkBuddy daily check-in via API — no GUI or manual clicks needed. Decrypts the local access token using Windows DPAPI, calls the check-in endpoint, and reports credit earned + streak days. Supports automated scheduling and optional window cleanup. Windows only. Triggers: "签到", "每日签到", "check-in", "查询签到状态".
Automate WorkBuddy daily check-in via API — no GUI or manual clicks needed. Decrypts the local access token using Windows DPAPI, calls the check-in endpoint, and reports credit earned + streak days. Supports automated scheduling and optional window cleanup. Windows only. Triggers: "签到", "每日签到", "check-in", "查询签到状态".
user_7d7df2fb
未分类 community v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 14
下载
💾 0
安装
1
版本
#latest

概述

WorkBuddy Daily Check-In

> 自动签到,告别手动——无需打开 WorkBuddy 窗口,一行命令完成每日签到。

Overview

This skill automates the WorkBuddy daily check-in process entirely via API — no GUI, no manual clicks, no browser automation.

It works by decrypting the locally stored access token (Windows DPAPI → AES-GCM), calling the check-in API endpoint, and reporting the result. Supports:

  • Manual one-shot check-in
  • Automated scheduling via WorkBuddy's built-in automation engine
  • Streak day tracking and bonus credit detection
  • Optional WorkBuddy window cleanup after check-in

Requirements

  • OS: Windows only (requires DPAPI and Chromium-based token storage in %APPDATA%\WorkBuddy)
  • Python: 3.7+ with the cryptography package (pip install cryptography)
  • Precondition: Must have logged into WorkBuddy at least once (token is read from local storage)

Usage

Manual Check-In

python scripts/checkin.py [--close]

| Flag | Effect |

|------|--------|

| (none) | Run check-in, print result to stdout, keep WorkBuddy open |

| --close | Run check-in, then close all WorkBuddy windows via Win32 API |

Automation Setup

Set up a recurring automation in WorkBuddy to run daily:

  1. Open WorkBuddy → Automations → New Automation
  2. Schedule: daily at 08:00 (or your preferred time)
  3. Script: python scripts/checkin.py --close
  4. Workspace: point to the skill's root directory

The AI agent will use this skill when the user says "签到" (check-in), "每日签到", "查询签到状态", or any check-in related request.

Environment Variables (optional)

| Variable | Description | Default |

|----------|-------------|---------|

| WORKBUDDY_LOCAL_STATE | Path to Local State file | %APPDATA%\WorkBuddy\Local State |

| WORKBUDDY_TOKEN_DB | Path to token database | %APPDATA%\WorkBuddy\User\globalStorage\state.vscdb |

| WORKBUDDY_OUT_DIR | Log output directory | scripts/logs/ |

How It Works

Login Token (encrypted in Chrome DB)
    ↓ DPAPI Decrypt (Windows native)
AES Key
    ↓ AES-GCM Decrypt
Access Token (Bearer)
    ↓ POST /v2/billing/meter/checkin-status
Check current state
    ↓ POST /v2/billing/meter/daily-checkin (if not yet checked in)
Result: +credits, streak days, bonus

Status Codes

| Code | Meaning |

|------|---------|

| today_checked_in = true | Already signed in today — skips |

| code = 0 | Check-in successful ✅ |

| code != 0 | Check-in failed — check logs |

Troubleshooting

| Error | Cause | Fix |

|-------|-------|-----|

| 未找到 accessToken | Not logged in / token storage changed | Log in to WorkBuddy once |

| HTTP 4xx | Token expired | Re-login in WorkBuddy |

| DPAPI error | Non-Windows OS | Not supported — Windows only |

| cryptography not found | Missing dependency | pip install cryptography |

版本历史

共 1 个版本

  • v1.0.0 Initial release: API-based daily check-in via DPAPI token decryption 当前
    2026-06-09 15:36 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 681 📥 329,785
dev-programming

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,925
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 197 📥 68,005