Openqq

From bighardperson/computer-science-skills-collection · View interactive version

Openqq is an AI agent skill from the GitHub repository bighardperson/computer-science-skills-collection. QQ bot integration for OpenClaw with session isolation, logging, and AI auto-reply. Supports private chat and group @messages.

How to use this skill

Skill file

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

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

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)

License

MIT License

Links

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.