Clear session and start fresh
View or modify heartbeat settings
Show Discord bot status and manage global session
Show heartbeat plugin help
Create, list, edit, or delete cron jobs. Triggers: create a job, add a job, new job, schedule a task, schedule a prompt, set up a cron, automate, run on a schedule, recurring task, periodic task, timed task, I want to schedule, I want to create a job, add scheduled task, manage jobs, job list, delete job, remove job, edit job, run job
Create new skills for Claude Code. Use when users ask to create a skill, add a skill, make a new command, build a skill, add a slash command, create a plugin skill, or define a new automation. Trigger phrases include "create a skill", "new skill", "add a skill", "make a command", "build a skill", "I want a skill that", "add slash command", "create automation".
Search and install skills from skills.sh and GitHub repos. Use when users ask to find skills, install skills, download skills, add skills from GitHub, search for skills, browse skills, get a skill, or want new capabilities. Trigger phrases include "install skill", "find skill", "search skills", "add skill", "download skill", "get skill from github", "skills.sh", "browse skills", "what skills are available", "I need a skill for".
Add Telegram reaction directives in assistant replies. Use when the user asks for Telegram reaction tags, react directives, emoji reactions, or wants reply text to include [react:<emoji>] metadata. Trigger phrases include "telegram react", "reaction directive", "add [react]", "emoji reaction", "react tag", and "telegram reply format".
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
将你的 Claude Code 转换为在后台持久运行的 QQ 机器人 — 类似 OpenClaw,但免费、本地运行,且完全由你掌控。
这是 ClaudeClaw 的一个分支,集成了 QQ 官方机器人 API。它允许你:
┌─────────────┐ WebSocket ┌──────────────────┐ CLI invoke ┌─────────────┐
│ QQ Official │ ◄──────────────► │ ClaudeClaw │ ◄────────────────► │ Claude Code │
│ Bot Gateway │ Events / Send │ Daemon (Bun) │ --resume mode │ Session │
└─────────────┘ └──────────────────┘ └─────────────┘
│
┌─────┴─────┐
│ Telegram │
│ Discord │
│ Web UI │
│ Cron Jobs │
└───────────┘
ClaudeClaw 通过 WebSocket 网关连接到腾讯 QQ 官方机器人 API,实时接收消息,并使用 --resume 调用 Claude Code CLI,在消息之间保持对话上下文。
| 功能 | 状态 |
|---|---|
| C2C(私聊)消息 | 支持 |
| 群组 @提及 消息 | 支持 |
| 频道 @提及 消息 | 支持 |
| 频道私信 | 支持 |
| 斜杠命令(/start、/reset) | 支持 |
| 图片附件 | 支持 |
| 文件附件(接收) | 支持(所有场景) |
| 文件回传(发送) | C2C 全支持;群聊/频道仅限图片和视频 |
| 消息分割(>2000 字符) | 自动 |
| 正在输入指示器 | 自动 |
| 自动重连 | 是(指数退避) |
| 用户白名单(union_openid) | 支持 |
| 群组监听模式(无需 @提及) | 支持 |
| 启动型定时任务(launch jobs) | 支持 |
| 定时结果回发到原 QQ 对话 | 私聊、群聊支持 |
| Linux crontab 调度 | 支持 |
Claude 可以在 QQ 回复中输出一个 <qq-launch-job> 任务块,系统会自动把它落地为 launch job,并用 Linux crontab 调度执行。
当前支持的创建入口:
当前支持的回发目标:
privategroup任务声明格式:
<qq-launch-job>
name: daily-report
schedule: 0 9 * * *
recurring: true
prompt:
生成今日 AI 行业日报
</qq-launch-job>
prompt 同时兼容两种写法:
prompt: 单行内容prompt: 后接多行正文任务落地位置:
.claude/claudeclaw/jobs/*.md.claude/claudeclaw/logs/# claudeclaw:launch:<job-name>手动执行入口:
bun run src/index.ts run-job <job-name>
行为说明:
cwdrecurring: false 的 one-shot 任务执行后会自动移除 cron 条目user_openidcrontab用户可以通过 QQ 向 Bot 发送文件,Claude 会读取并处理文件内容,处理结果文件会自动发送回 QQ。
工作流程:
~/tmp/~/tmp/ 或 ~/ 下其他路径读取文件并处理~/tmp/ 或其他 ~/ 路径QQ 官方频道机器人文件发送 API 限制:
| 文件类型 | 支持格式 | C2C 私聊 | 群聊 | 频道 |
|---|---|---|---|---|
| 图片 | png, jpg | 支持 | 支持 | 支持 |
| 视频 | mp4 | 支持 | 支持 | 支持 |
| 语音 | silk, wav, mp3, flac | 支持 | 不支持 | 不支持 |
| 文件 | pdf, doc, txt 等 | 支持 | 不支持 | 不支持 |
注意: QQ 官方 Bot API 对群聊和频道场景不支持发送语音和通用文件(pdf/doc/txt 等)。在这些场景下,Bot 只能回传图片和视频。如需 Claude 返回文档类结果,请使用 C2C 私聊。
git clone https://github.com/YYMLVU/claudeclaw_for_qq.git
cd claudeclaw_for_qq
bun install
在项目目录下创建设置文件 .claude/claudeclaw/settings.json:
{
"model": "",
"api": "",
"fallback": { "model": "", "api": "" },
"agentic": { "enabled": false, "defaultMode": "implementation", "modes": [] },
"timezone": "Asia/Shanghai",
"timezoneOffsetMinutes": -480,
"heartbeat": {
"enabled": false,
"interval": 15,
"prompt": "",
"excludeWindows": [],
"forwardToTelegram": true
},
"telegram": { "token": "", "allowedUserIds": [] },
"discord": { "token": "", "allowedUserIds": [], "listenChannels": [] },
"qq": {
"appId": "YOUR_QQ_BOT_APP_ID",
"clientSecret": "YOUR_QQ_BOT_CLIENT_SECRET",
"allowedUserIds": [],
"groupOpenIds": []
},
"security": { "level": "moderate", "allowedTools": [], "disallowedTools": [] },
"web": { "enabled": false, "host": "127.0.0.1", "port": 4632 },
"stt": { "baseUrl": "", "model": "" }
}
npx claudepluginhub yymlvu/claudeclaw_for_qq --plugin claudeclawCron-like daemon that runs Claude prompts on a schedule
WeChat channel for Claude Code via iLink Bot API
Autonomous task execution daemon that monitors Claude usage windows and executes predefined tasks automatically. Keep Claude working 24/7 on your projects.
WeChat (微信) channel for Claude Code — chat with Claude via WeChat. Supports text, images, files, voice, video, and remote permission relay.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.