What problem does it solve?
The official Hermes Agent main branch does not ship with QQ platform support, so users who want their agent to receive and reply to QQ messages must manually wire in an adapter, config entries, toolsets, and media delivery logic. This Skill automates that entire patching process against a hermes-agent repository.
Core Features & Use Cases
- Automated Code Patching: Runs scripts/install_hermes_qq.py to inject the QQ platform enum, environment variable config (QQ_APP_ID, QQ_APP_SECRET, allowlists), adapter registration, and the hermes-qq toolset into the target repository.
- Full QQ Adapter: Copies a complete QQ Bot adapter (assets/qq.py) implementing Tencent QQ Open Platform WebSocket gateway, access token refresh, C2C and group message handling, and chunked media upload for images, audio, video, and documents.
- Extended File Delivery: Extends MEDIA tag parsing and local file extraction to support document extensions like .pdf, .docx, .xlsx, .csv, and .zip, with failure notifications when sends fail.
- Use Case: You have a hermes-agent deployment on the main branch and want it to answer QQ private and group messages and send files back. Run the installer script, then execute the verification steps in references/verification.md to confirm the patch.
Quick Start
Ask the agent to install QQ platform support into the current hermes-agent repository by running the hermes-qq installer script and then executing the targeted pytest verification suite.