AI Agent Hub
Back to skills
WorkBuddy Daily Check-in Assistant icon

WorkBuddy Daily Check-in Assistant

Office Efficiency Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_3a370331/totorosir-workbuddy-checkin according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

WorkBuddy's "Buddy Fuel Station" daily check-in is easy to miss if done manually, while simulating the desktop UI is fragile and usually outside an agent's interface-clicking capabilities. The practical problem is narrower: when the local client is already logged in, read the login state, call the official check-in API to claim credits, and turn duplicate sign-ins, status checks, and network failures into a predictable automation flow.

How It Works

The skill breaks the flow into three API-level steps:
- Credential lookup: it reads workbuddy-desktop.info only to extract accessToken and domain; it does not modify, delete, or exfiltrate tokens.
- Status check: it calls checkin-activity-status first and skips claiming when today_checked_in is true, avoiding unnecessary duplicate requests.
- Credit claim: it calls daily-checkin and treats HTTP 400, code=10001, or "already checked in today" as an idempotent success rather than an error.

The script uses only the Python standard library, outputs sanitized JSON and an exit code, and makes it easy to trigger alerts. Optional notifications support WeCom bot, PushPlus, and Bark; keys remain in a local config file outside the script and skill directory. The default policy is conservative: failures can notify, while success broadcasts are off by default to reduce noise.

Boundaries: this flow targets PC client login state, not the web version; the API domain should come from auth.domain; and an expired token, missing client login, powered-off machine, or absent network must be fixed first.

Use Cases

  • On a logged-in Windows machine, automatically call the WorkBuddy check-in API at 09:00 to claim credits.
  • After migrating or reinstalling, place the check-in script in a stable path and verify login state with --check-only.
  • When the user has already signed in manually, query status and skip the claim request to avoid duplicate calls.
  • If check-in fails, send an alert through WeCom bot or PushPlus so the issue can be triaged quickly.

Best For

  • Desktop WorkBuddy users who need daily credit claims without manually clicking the client UI.
  • Engineers who want check-in status included in local automation monitoring.
  • On-call operators or support staff responsible for sign-in failure alerts.
  • Technical support staff rebuilding the check-in automation after a machine migration.