openqq
БесплатноЗапускает вложенные скриптыНе проверенQQ bot integration for OpenClaw with session isolation, logging, and AI auto-reply. Supports private chat and group @messages.
от bighardperson★ 71 звезда на GitHubОб этом скилле
OpenQQ Bot
QQ bot integration for OpenClaw. Enables AI auto-reply for QQ private chats and group @mentions with session isolation and comprehensive logging.
Quick Start
# Initialize config
npm run setup
# Install dependencies
npm install
# Edit config
vim ~/.openclaw/workspace/open-qq-config.json
# Start bot
npm start
Configuration
Edit ~/.openclaw/workspace/open-qq-config.json:
{
"qq": {
"appId": "YOUR_APP_ID",
"token": "YOUR_TOKEN",
"appSecret": "YOUR_APP_SECRET"
}
}
Get credentials from QQ Open Platform.
Usage
npm start # Start bot
npm run health # Health check
npm run logs # View today's logs
npm run status # Check running status
Features
- Session Isolation: Each user/group has independent conversation history
- Private:
qq-private-{user_openid} - Group:
qq-group-{group_openid}
- Private:
- Comprehensive Logging: China timezone, log rotation, sensitive data filtering
- Auto Reconnect: WebSocket auto-reconnect with heartbeat
- Message Retry: Auto-retry failed messages (up to 2 times)
- Graceful Shutdown: Clean shutdown on SIGTERM/SIGINT
Files
| File | Description |
|---|---|
qq-bot.js |
Main program (WebSocket + OpenClaw integration) |
logger.js |
Logging system (China timezone + rotation) |
scripts/health-check.sh |
Health check script |
package.json |
Dependencies (axios, ws) |
npm Commands
| Command | Description |
|---|---|
npm start |
Start bot |
npm run health |
Health check |
npm run logs |
View logs |
npm run setup |
Initialize config |
npm run status |
Check status |
npm run clean |
Clean node_modules |
Security
- Do not commit
open-qq-config.jsonto version control - Set permissions:
chmod 600 ~/.openclaw/workspace/open-qq-config.json - Uses
spawninstead ofexecto prevent command injection - Session IDs are whitelisted (alphanumeric + hyphen only)
Troubleshooting
| Issue | Solution |
|---|---|
| Config not found | Run npm run setup |
| Missing credentials | Edit config file with appId/token/appSecret |
| WebSocket failed | Check Token and network |
| No reply | Test with openclaw agent --message "test" |
Changelog
See CHANGELOG.md
v0.0.3 (Latest)
- 7 new npm commands
- FAQ section
- Message retry mechanism
- Graceful shutdown
License
MIT License
Links
Установить openqq в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл openqq?
QQ bot integration for OpenClaw with session isolation, logging, and AI auto-reply. Supports private chat and group @messages.
Как установить скилл openqq?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл openqq запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic