立即将 Claude 连接到 Clawdbot,并保持 24/7 的连接。设置后运行以链接您的订阅,然后永久自动刷新令牌。
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install claude-connect或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install claude-connect⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/claude-connect/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: claude-connect description: "Connect Claude to Clawdbot instantly and keep it connected 24/7. Run after setup to link your subscription, then auto-refreshes tokens forever." ---
Connect 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:```json { "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:
```bash cp claude-oauth-refresh-config.example.json claude-oauth-refresh-config.json ```
```bash nano claude-oauth-refresh-config.json ```
```bash ./refresh-token.sh --force ```
```bash 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
安装 克劳德·康科特 后,可以对 AI 说这些话来触发它
Help me get started with Claude Connect
Explains what Claude Connect does, walks through the setup, and runs a quick demo based on your current project
Use Claude Connect to connect Claude to Clawdbot instantly and keep it connected 24/7
Invokes Claude Connect with the right parameters and returns the result directly in the conversation
What can I do with Claude Connect in my ai agent & automation workflow?
Lists the top use cases for Claude Connect, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/claude-connect/ 目录(个人级,所有项目可用),或 .claude/skills/claude-connect/(项目级)。重启 AI 客户端后,用 /claude-connect 主动调用,或让 AI 根据上下文自动发现并使用。
克劳德·康科特 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
克劳德·康科特 可免费安装使用。请查阅仓库了解许可证信息。
立即将 Claude 连接到 Clawdbot,并保持 24/7 的连接。设置后运行以链接您的订阅,然后永久自动刷新令牌。
克劳德·康科特 属于「AI Agent & Automation」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my ai agent & automation tasks using Claude Connect
Identifies repetitive steps in your workflow and sets up Claude Connect to handle them automatically