claude-connectConnect Claude to Clawdbot instantly and keep it connected 24/7. Run after setup to link your subscription, then auto-refreshes tokens forever.
Install via ClawdBot CLI:
clawdbot install TunaIssaCoding/claude-connectConnect your Claude subscription to Clawdbot in one step.
Automatically:
clawdbot onboard (fixes OAuth auth-profiles bug)1. Install the skill:
clawdhub install claude-connect
cd ~/clawd/skills/claude-connect
2. Ensure Claude CLI is logged in:
claude auth
# Follow the browser login flow
3. Run installer:
./install.sh
That's it! Tokens will refresh automatically every 2 hours.
clawdbot onboard OAuth BugWhen you run clawdbot onboard --auth-choice claude-cli, it sometimes doesn't properly write OAuth tokens to auth-profiles.json.
This skill:
~/.clawdbot/agents/main/agent/auth-profiles.json in proper OAuth format:
{
"profiles": {
"anthropic:claude-cli": {
"type": "oauth",
"provider": "anthropic",
"access": "sk-ant-...",
"refresh": "sk-ant-ort...",
"expires": 1234567890
}
}
}
cd ~/clawd/skills/claude-connect
./install.sh
The installer will:
cp claude-oauth-refresh-config.example.json claude-oauth-refresh-config.json
nano claude-oauth-refresh-config.json
./refresh-token.sh --force
cp com.clawdbot.claude-oauth-refresher.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/com.clawdbot.claude-oauth-refresher.plist
Edit claude-oauth-refresh-config.json:
{
"refresh_buffer_minutes": 30,
"log_file": "~/clawd/logs/claude-oauth-refresh.log",
"notifications": {
"on_success": true,
"on_failure": true
},
"notification_target": "YOUR_CHAT_ID"
}
Options:
refresh_buffer_minutes: Refresh when token has this many minutes left (default: 30)log_file: Where to log refresh activitynotifications.on_success: Notify on successful refresh (default: true)notifications.on_failure: Notify on failure (default: true)notification_target: Your Telegram chat ID (or leave empty to disable)# Refresh now (even if not expired)
./refresh-token.sh --force
# Refresh only if needed
./refresh-token.sh
# View recent logs
tail ~/clawd/logs/claude-oauth-refresh.log
# Check auth profile
cat ~/.clawdbot/agents/main/agent/auth-profiles.json | jq '.profiles."anthropic:claude-cli"'
# Check Clawdbot status
clawdbot models status
Ask Clawdbot:
Disable Claude refresh success notifications
Or edit config:
{
"notifications": {
"on_success": false,
"on_failure": true
}
}
Claude Code-credentials--force)Runs every 2 hours via ~/Library/LaunchAgents/com.clawdbot.claude-oauth-refresher.plist
Controls:
# Stop auto-refresh
launchctl unload ~/Library/LaunchAgents/com.clawdbot.claude-oauth-refresher.plist
# Start auto-refresh
launchctl load ~/Library/LaunchAgents/com.clawdbot.claude-oauth-refresher.plist
# Check if running
launchctl list | grep claude
Symptom: clawdbot onboard --auth-choice claude-cli completes but Clawdbot can't use tokens
Fix:
cd ~/clawd/skills/claude-connect
./refresh-token.sh --force
This will write tokens in proper OAuth format.
Symptom: Auth keeps failing after 8 hours
Fix: Ensure launchd job is running:
launchctl load ~/Library/LaunchAgents/com.clawdbot.claude-oauth-refresher.plist
launchctl list | grep claude
Symptom: No 'Claude Code-credentials' entries found
Fix: Log in with Claude CLI:
claude auth
# Follow browser flow
Then run refresh again:
./refresh-token.sh --force
cd ~/clawd/skills/claude-connect
./uninstall.sh
Or manually:
# Stop auto-refresh
launchctl unload ~/Library/LaunchAgents/com.clawdbot.claude-oauth-refresher.plist
rm ~/Library/LaunchAgents/com.clawdbot.claude-oauth-refresher.plist
# Remove skill
rm -rf ~/clawd/skills/claude-connect
If you previously installed an older version:
cd ~/clawd/skills/claude-connect
./validate-update.sh # Check what changed
clawdhub update claude-connect # Update to latest
./install.sh # Re-run installer if needed
Version: 1.1.0
Author: TunaIssaCoding
License: MIT
Repo: https://github.com/TunaIssaCoding/claude-connect
Generated Mar 1, 2026
A small team building custom AI agents with Clawdbot needs reliable 24/7 access to Claude models. This skill automates token management, ensuring uninterrupted development and testing without manual OAuth refreshes, which is critical for continuous integration workflows.
A company uses Clawdbot to power AI-driven customer support chatbots. The skill maintains seamless connectivity to Claude, preventing downtime in support services due to token expiration, thus ensuring consistent response quality and availability.
An agency leverages Claude via Clawdbot for generating marketing copy and content. Automated token refresh eliminates interruptions during high-volume production cycles, allowing creatives to focus on editing and strategy rather than technical maintenance.
Academic or corporate researchers use Clawdbot with Claude for data interpretation and report generation. This skill ensures long-running analysis sessions are not halted by authentication issues, supporting extended research projects without manual intervention.
A freelancer managing multiple client projects with Clawdbot relies on stable Claude access for prototyping and demonstrations. The skill handles token refreshes automatically, reducing setup time and technical overhead for each client engagement.
Offer a managed AI agent service where clients pay a monthly fee for access to Claude-powered tools via Clawdbot. This skill ensures uptime and reduces support costs by automating token management, allowing scalability with minimal manual oversight.
Develop and resell customized AI platforms to businesses, integrating Claude through Clawdbot. The skill's auto-refresh capability provides a reliable backend, enabling you to focus on customization and sales rather than maintenance issues.
Provide consulting or training for organizations adopting Clawdbot and Claude. This skill simplifies the setup process, making it easier to onboard clients and offer premium support packages for ongoing management and troubleshooting.
š¬ Integration Tip
Ensure Claude CLI is logged in before installation to avoid Keychain errors, and verify the launchd job is active post-setup for seamless auto-refresh.
ERC-8004 Trustless Agents - Register, discover, and build reputation for AI agents on Ethereum. Use when registering agents on-chain, querying agent registries, giving/receiving reputation feedback, or interacting with the AI agent trust layer.
Autonomous crypto trading on Base via Bankr. Use for trading tokens, monitoring launches, executing strategies, or managing a trading portfolio. Triggers on "trade", "buy", "sell", "launch", "snipe", "profit", "PnL", "portfolio balance", or any crypto trading task on Base.
Deploy ERC20 tokens on Base using Clanker SDK. Create tokens with built-in Uniswap V4 liquidity pools. Supports Base mainnet and Sepolia testnet. Requires PRIVATE_KEY in config.
Query DeFi portfolio data across 50+ chains via Zapper's GraphQL API. Use when the user wants to check wallet balances, DeFi positions, NFT holdings, token prices, or transaction history. Supports Base, Ethereum, Polygon, Arbitrum, Optimism, and more. Requires ZAPPER_API_KEY.
Interact with Solana blockchain via Helius APIs. Create/manage wallets, check balances (SOL + tokens), send transactions, swap tokens via Jupiter, and monitor addresses. Use for any Solana blockchain operation, crypto wallet management, token transfers, DeFi swaps, or portfolio tracking.
Real-time crypto risk intelligence; before and as things break. Two tools: Flare (15-min precursor detection, immediate alarms) and Core (60-min state synthesis, context assessment). Free access to the last analysis. No API key required. Upgrade to x402 for custom analysis.