hermes-qq
Original:🇨🇳 Chinese
Translated
2 scriptsChecked / no sensitive code detected
This skill is used when users want to add QQ platform support to the official main branch of Hermes Agent, or explicitly mention requests like "add QQ channel to hermes main", "install QQ support as a skill to Hermes", or "enable the official version of Hermes to support QQ and file sending". This skill will update the current repository to a version that supports QQ Bot, QQ file sending, QQ platform configuration, and toolset integration.
8installs
Sourcechujianyun/skills
Added on
NPX Install
npx skill4agent add chujianyun/skills hermes-qqTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →Hermes QQ Installer
This skill is used to update the official code of Hermes Agent to a version that supports the QQ platform.
mainApplicable scenarios:
- The current repository is
hermes-agent - Users want to add QQ channel to the official code
main - Need to support QQ text, image, audio, video, and regular file sending simultaneously
Inapplicable scenarios:
- The current repository is not
hermes-agent - Users only want to analyze the principle of QQ adapter without modifying code
- The repository is already a branch with built-in QQ support and does not need patching again
Workflow
- First confirm that the target repository is and there are no conflicting local changes in the working tree.
hermes-agent - Run , which will patch the current working directory by default.
scripts/install_hermes_qq.py - If the repository has a , prioritize executing:
venvsource venv/bin/activate && python -m pytest tests/gateway/test_platform_base.py tests/gateway/test_extract_local_files.py tests/gateway/test_send_image_file.py tests/cron/test_scheduler.py tests/gateway/test_background_command.py tests/gateway/test_internal_event_bypass_pairing.py -q -n 0 - If there is no existing environment, set up the test environment according to the repository conventions first, then execute the same set of targeted tests.
Execution Methods
When the current directory is the target repository:
hermes-agentbash
python /Users/liuwangyang/Documents/coding/our/skills-wuming/skills/hermes-qq/scripts/install_hermes_qq.pyWhen specifying the target repository:
bash
python /Users/liuwangyang/Documents/coding/our/skills-wuming/skills/hermes-qq/scripts/install_hermes_qq.py /path/to/hermes-agentResources
- Complete implementation of QQ adapter, which will be copied to
assets/qq.pygateway/platforms/qq.py - Verification commands recommended to execute after installation
references/verification.md
If the script prompts that a certain patch anchor does not exist, it means the target repository has deviated too much from the official branch. In this case, do not patch blindly. First read references/verification.md, then manually review the differences before patching.
main