AI Agent Hub
Back to skills
WorkBuddy Auto Checkin icon

WorkBuddy Auto Checkin

Development Updated 2026.08.30

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

Follow https://skillhub.cn/install/skillhub.md to install @user_24b4fab8/workbuddy-auto-checkin-macos into your AI assistant.

About this skill

Problem

When WorkBuddy changes its profile panel, user menu, or checkin button, DOM-based click scripts break. This skill targets engineers who need a stable desktop checkin workflow on macOS. Instead of simulating clicks, it moves the checkin action onto the client’s internal IPC chain: codebuddy:getCheckinStatus, codebuddy:claimDailyCheckin, and codebuddy:getAccountUsage. It also isolates login-state bootstrap from the main checkin path, so expired login state and interface changes are debugged separately.

How It Works

The skill starts with environment validation: macOS, /Applications/WorkBuddy.app, an available Node runtime, and the expected playwright dependency in WorkBuddy’s managed Node workspace. It then generates a reusable workspace with scripts/setup_checkin.py, including the checkin script, runner wrapper, launchd configuration, log directory, and a dedicated login profile. The runtime flow is fixed: launch a debuggable WorkBuddy instance, connect to the debugging port, open the Agents page, read today’s status, claim only when needed, verify with status and account usage, and save JSON results, screenshots, and logs.

Scheduling uses launchd by default at 12:00 daily, with --catchup behavior to cover missed windows caused by sleep or downtime. It explicitly avoids fragile fallbacks such as clicking the avatar, expanding the profile panel, matching the text or position of a checkin button, or using visual card recognition, unless a compatibility fallback is requested.

Boundaries

This is a macOS-only desktop WorkBuddy workflow and is not suited to browser-based or cross-platform checkin scenarios. First deployment requires a dedicated login state before validating results such as claimed-now or already-claimed. Troubleshooting should proceed in order: application path, login state, IPC channel names, then latest JSON, screenshots, and launchd logs. Before publishing, verify metadata, scripts, and package contents so unrelated placeholder files are not shipped.

Use Cases

  • Run WorkBuddy desktop checkin automatically on macOS at 12:00 daily, including catch-up after missed windows.
  • Migrate a brittle avatar or button-click script to internal codebuddy IPC calls to survive UI layout changes.
  • Generate a dedicated login profile on first deployment, log in manually once, and verify claimed-now or already-claimed.
  • Debug failed WorkBuddy checkin by checking app path, login state, IPC channel names, logs, and screenshots first.

Best For

  • Engineers maintaining WorkBuddy desktop auto-checkin scripts on macOS and wanting fewer failures from UI changes.
  • Automation developers who need daily checkin through launchd with catch-up behavior after missed schedules.
  • Skill maintainers packaging a WorkBuddy checkin workspace for SkillHub and verifying scripts against documentation.
  • Desktop debugging engineers who need isolated login profiles and clear separation of login-state failures from IPC changes.