Agent skill · software engineering · sundial-org
claude-connect
Connect Claude to Clawdbot instantly and keep it connected 24/7. Run after setup to link your subscription, then auto-refreshes tokens forever.
Why this skill is useful
Adds an executable script that automates the OAuth token management process for Claude, ensuring continuous connectivity with Clawdbot.
What it needs
Requires clawdhub installed locally. Requires anthropic account access. About 3k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
claude-connect Connect your Claude subscription to Clawdbot in one step. Automatically: ✅ Reads Claude OAuth tokens from Keychain ✅ Writes them to Clawdbot in proper OAuth format ✅ Auto-refreshes every 2 hours (before expiry) ✅ Notifies you on success/failure ✅ Works with clawdbot onboard (fixes OAuth auth-profiles bug) --- Quick Start 1. Install the skill: 2. Ensure Claude CLI is logged in: 3. Run installer: That's it! Tokens will refresh automatically every 2 hours. --- What It Does Fixes clawdbot onboard OAuth Bug When you run clawdbot onboard --auth-choice claude-cli, it sometimes doesn't properly write OAuth tokens to auth-profiles.json. This skill: 1. Reads OAuth tokens from macOS Keychain (where Claude CLI stores them) 2. Writes them to ~/.clawdbot/agents/main/agent/auth-profiles.json in proper OAuth format: 3. Sets up auto-refresh (runs every 2 hours via launchd) 4. Keeps your connection alive 24/7 --- Installation Automatic (Recommended) The installer will: ✅ Verify Claude CLI is set up ✅ Create config file ✅ Set up auto-refresh job (launchd) ✅ Run first refresh to test Manual 1. Copy example config: 2. Edit config (optional): 3. Test refresh: 4. Install launchd job (optional - for auto-refresh): --- Configuration Edit claude-oauth-refresh-config.json: Options: refreshbufferminutes: Refresh when token has this many minutes left (default: 30) logfile: Where to log refresh activity notifications.onsuccess: Notify on successful refresh (default: true) notifications.onfailure: Notify on failure (default: true) notificationtarget: Your Telegram chat ID (or leave empty to disable) --- Usage Manual Refresh Check Status Disable Notifications Ask Clawdbot: Or edit config: --- How It Works Refresh Process 1. Read from Keychain: Gets OAuth tokens from Claude Code-credentials 2. Check Expiry: Only refreshes if < 30 minutes left (or --force) 3. Call OAuth API: Gets new access + refresh tokens 4. Update auth-profiles.json: Writes proper OAuth format 5. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/claude-connect