跳到正文
cccskills
免费在 GitHub 公开中文介绍

agent-testing-bot

本技能在 macOS 桌面聊天应用中测试机器人频道:打开应用、进入频道或联系人、发送消息、等待回复并截图。支持 Discord、Slack、Telegram、微信、飞书和 QQ;iMessage 使用 BlueBubbles 桥接。

原文查看原文说明

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.

lobehub/lobehub星标 83,504(GitHub 83,504 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • 检查真实 Discord 频道中的机器人回复
  • 测试 Slack 或 Telegram 的对话流程
  • 记录 macOS 应用中的操作结果

中文介绍

功能

本技能帮助在真实聊天应用中验收机器人频道。对于 Discord、Slack、Telegram、微信、飞书和 QQ,它会打开应用,进入指定频道或联系人,发送消息,等待回复并截取结果窗口。iMessage 通过 BlueBubbles 桥接处理。流程分为计划、执行和结束阶段;结果报告与导入遵循通用的 acceptance 技能流程。

适用场景

当改动涉及机器人频道,需要在原生应用中检查真实对话流程时,可以使用本技能。仅通过网页或命令行无法完成这类确认;技能支持原生应用操作和屏幕截图。

使用示例

  • “请在这个 Discord 频道给机器人发消息,并检查它的回复。”
  • “请运行 Slack 机器人验收测试,并保存结果画面。”

注意事项

本技能仅适用于 macOS。目标原生应用必须已启动并登录。屏幕截图需要 macOS 的屏幕录制权限;无头环境和云端环境无法运行。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
B部分不足资料会在真实应用中发送消息,但未说明发送前的确认步骤。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足需要 macOS、已登录的应用和屏幕录制权限。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月26日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(16)

  • SKILL.md4.1 KB
  • discord/index.md2.3 KB
  • discord/test-discord-bot.sh2.0 KB
  • imessage/index.md10.9 KB
  • imessage/send-imessage-test.sh3.4 KB
  • imessage/test-imessage-bridge.sh10.1 KB
  • lark/index.md1.5 KB
  • lark/test-lark-bot.sh2.5 KB
  • qq/index.md1.2 KB
  • qq/test-qq-bot.sh2.2 KB
  • slack/index.md1.5 KB
  • slack/test-slack-bot.sh2.0 KB
  • telegram/index.md1.7 KB
  • telegram/test-telegram-bot.sh2.5 KB
  • wechat/index.md1.8 KB
  • wechat/test-wechat-bot.sh2.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 —

PLAN (Steps 0–2) → EXECUTE (Steps 3–6) → FINISH (Step 7)

— 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 scopeSurfaceWhy
Bot channels (Discord / WeChat / Lark / …)Native app via osascript / bridgeOnly 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.

PlatformGuideQuick switcher
Discorddiscord/index.mdCmd+K
Slackslack/index.mdCmd+K
Telegramtelegram/index.mdCmd+F
WeChat / 微信wechat/index.mdCmd+F
Lark / 飞书lark/index.mdCmd+K
QQqq/index.mdCmd+F
iMessageimessage/index.mdbridge (no osascript)

Shared driver contract

Every osascript platform script shares one interface:

./$PLATFORM/test-$PLATFORM-bot.sh $CHANNEL_OR_CONTACT $MESSAGE [$WAIT_SECONDS] [$SCREENSHOT_PATH]

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). iMessage is the exception: it uses a BlueBubbles bridge, not osascript — see imessage/index.md.

osascript prerequisites

The osascript platforms drive real macOS apps (activate, keystroke, click, read accessibility, screenshot). Read the generic skill's general macOS-automation reference before a first bot run: ../../acceptance/references/osascript.md. The target native app must already be running and logged in.

Screen-recording gate (macOS-only)

Bot evidence is captured with OS-level screencapture (through capture-app-window.sh), NOT CDP — so it comes out entirely black when macOS Screen Recording (TCC) permission is missing OR the display is asleep / locked / on a screensaver. Gate BEFORE any bot capture:

bash .agents/skills/acceptance/scripts/check-screen-recording.sh

Only exit 0 confirms both permission and a measured non-black frame. Missing tools or an undetermined check must block capture, not count as a pass.

Keep the display awake for the whole capture session (caffeinate -dimsu &, kill when done). Because this surface depends on OS capture and native macOS apps, bot channels are macOS-only — they do not run headless / in cloud.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

acceptance

免费有简介

通过实际操作产品验证交付内容,记录用户可查看的证据,并发布验收报告。可检查已有验证计划或创建检查项,选择合适的操作界面,并使用 `lh` CLI 发布结果。

  • 实际检查更改后的产品行为
  • 收集截图或其他验证证据
  • 编写验证计划和报告
lobehub/lobehub8.4万2026年10月26日 更新

add-model-provider

免费有简介

本技能指导在 LobeHub 中接入 AI 模型提供商,涵盖运行时、模型信息、设置、品牌展示、文档和验收,并帮助判断新增模型是否需要新的提供商集成。

  • 为 LobeHub 接入新的 AI 模型提供商
  • 更新提供商设置说明或介绍
  • 判断添加模型是否需要新的提供商集成
lobehub/lobehub8.4万2026年10月26日 更新

add-setting-env

免费有简介

本技能指导如何用服务器端环境变量设置用户偏好默认值,涵盖变量校验、服务器配置、写入用户状态,以及更新 `.env.example` 和自托管文档。

  • 通过环境变量设置用户偏好默认值
  • 将设置接入服务器配置和用户状态
  • 更新环境变量示例及文档
lobehub/lobehub8.4万2026年10月26日 更新

agent-runtime-hooks

免费有简介

说明如何在智能体执行步骤、工具调用、人工审批、上下文压缩和子智能体调用时注册钩子。钩子可观察事件、模拟本地工具结果,也可通过 Webhook 按配置策略允许或拒绝工具调用。

  • 记录智能体步骤和错误
  • 测试时模拟工具结果
  • 通过 Webhook 允许或拒绝工具调用
lobehub/lobehub8.4万2026年10月26日 更新

agent-signal

免费有简介

此技能用于为智能体设计事件驱动的后台工作流,划分来源、信号、动作和策略的职责,并处理异步交接、去重、执行范围、完成记录与运行观测。

  • 添加事件触发的后台任务
  • 将工作移出对话请求
  • 防止动作重复执行
lobehub/lobehub8.4万2026年10月26日 更新

agent-tracing

免费有简介

按操作编号检查智能体运行记录,查看失败的工具调用、参数与结果、运行上下文及传给大语言模型的内容;还可查看上下文映射,并用其他模型重放记录以便比较。

  • 排查失败的工具调用
  • 确认传给大语言模型的上下文
  • 按操作追踪工具及结果
lobehub/lobehub8.4万2026年10月26日 更新

查看 lobehub 的全部技能

报告此技能的问题