Agent skill · software engineering · lobehub
agent-testing-bot
Use for real bot-channel acceptance in Discord, Slack, Telegram, WeChat/Weixin, Lark/Feishu, QQ or iMessage on macOS. Extends acceptance with native chat apps.
Why this skill is useful
Adds specific scripts for testing bot channels via osascript that are not covered in generic testing documentation.
What it needs
Requires osascript installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 81,352 stars on the source repository.
What this skill does
Agent Testing — Bot Channels (LobeHub project skill) This skill extends the generic acceptance skill (installed alongside at ../acceptance/) to the bot-channel surfaces. It does NOT replace the core process: the same three phases apply — — and the same report + publish pipeline (result.json → report-init.sh → lh acceptance run ingest … --source agent-testing). Read the acceptance skill's SKILL.md for target grounding, the living logs, the Phase-1 approval gate, the report format, and teardown. This file only adds the bot-channel surface. For LobeHub environment/auth/probe specifics (dev server, seeded account, ports), the adapter is .agents/acceptance/PROJECT.md. When this surface applies Change scope Surface Why ---------------------------------------------- --------------------------------- ------------------------------------------------ Bot channels (Discord / WeChat / Lark / …) Native app via osascript / bridge Only way to exercise the real channel end-to-end Route here only when the behavior under test is a bot channel. For CLI / Web / Electron changes, use the generic skill's surfaces. Platforms Each platform folder has an index.md (activation, navigation, send-message, verification snippets) and a test-<platform>-bot.sh driver. Platform Guide Quick switcher ------------- ---------------------------------------- --------------------- Discord discord/index.md Cmd+K Slack slack/index.md Cmd+K Telegram telegram/index.md Cmd+F WeChat / 微信 wechat/index.md Cmd+F Lark / 飞书 lark/index.md Cmd+K QQ qq/index.md Cmd+F iMessage imessage/index.md bridge (no osascript) Shared driver contract Every osascript platform script shares one interface: The script activates the app, navigates to the channel/contact, sends the message, waits, and screenshots the result window (via the project adapter's ../../acceptance/scripts/capture-app-window.sh, which runs the installed acceptance skill's screen-recording preflight). …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills lobehub/agent-testing-bot