clawphone-wechat-control
处理微信会话列表、进入聊天、发送消息、处理微信内弹窗与聊天页失败排查。适用于用户要求查看微信消息、回复联系人、转发、处理聊天输入框或发送失败时。执行时必须先确认当前在微信的哪个页面,再按聊天场景一步一验。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/be1human/clawphone-wechat-controlClawPhone WeChat Control
使用时机
- 用户要求读取或回复微信消息。
- 需要进入某个联系人聊天页。
- 聊天发送、转发、粘贴、长按菜单等操作失败。
页面判断
先区分当前处于哪一类页面:
- 桌面/非微信
- 微信会话列表
- 某个聊天页
- 联系人资料页
- 微信弹窗或菜单
不同页面的操作完全不同。不要在未确认页面时直接输入或发送。
回复消息标准流程
- 确认已进入目标聊天页。
- 截图确认底部真实输入框位置。
- 只执行“点输入框”这一步,并再次确认键盘或光标已出现。
- 先尝试
type_text(...)。 - 若
type_text(...)失败或文本未进入输入框,立即切换到“剪贴板 + 长按输入框 + 点粘贴”兜底路径。 - 再次确认文本已经出现在输入框内。
- 截图确认绿色
发送按钮真实可见。 - 点击当前截图里的发送按钮。
- 再次截图,确认新的右侧消息气泡已经出现。
进入微信
- 可先尝试
launch_app("com.tencent.mm")。 - 立即检查前台应用是否真的变成
com.tencent.mm。 - 若仍停留在桌面或其他 App,不要重复盲开;先读取当前桌面状态。
- 桌面能识别到
微信图标时,优先click_by_text("微信")进入。 - 进入后再次确认当前页面是会话列表、聊天页还是弹窗页。
关键约束
- 不要在未聚焦输入框时直接
type_text(...)。 - 不要把某次截图里的输入框或发送按钮坐标复用到下一次。
- 不要把
press_enter当成默认发送方式;只有可见发送按钮不可用时才可兜底尝试。 - 如果误入
朋友资料页,先返回聊天页,再重新开始发送流程。
会话定位
- 会话列表优先用联系人文字进入。
- 若点击联系人失败,先截图确认是否有遮挡层、导入提示、搜索页或资料页。
- 若
click_by_text无法命中会话项,但截图已能明确识别目标会话所在行,可基于当前截图临时点击该行;点完立即复核是否进入聊天页。 - 同名联系人或列表状态不明时,先截图确认,不要盲点。
输入兜底
- 输入框已聚焦,不代表
type_text(...)一定能命中微信输入框。 - 若
type_text(...)返回失败,优先执行:set_clipboard(...)- 长按当前截图里的输入框空白区域
- 截图确认微信自定义菜单出现
- 基于当前截图临时点击
粘贴
- 粘贴后必须再次确认文本已进入输入框,再进行发送。
菜单与弹窗
- 微信自定义菜单通常不能靠
click_by_text命中。 - 长按后先截图,再基于当前弹窗临时点击。
- 一步菜单一张图,不要连续盲点。
失败复盘模板
失败时按这几个问题复盘:
- 当时在哪个页面。
- 失败发生在“进聊天 / 聚焦输入框 / 输入文字 / 点击发送 / 发送验证”的哪一步。
- 当时依据的是当前截图,还是误用了旧坐标/旧假设。
- 是否做了操作后的二次确认。
- 是否及时切换到了
launch_app、click_by_text、type_text的兜底分支,而不是在同一路径上重复试错。
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-be1human-clawphone-wechat-control": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
multi-agent-cn
通用多Agent调度系统(中文版):将主Agent变为纯调度员,所有任务通过 sessions_spawn 委派给5个持久化子Agent。支持轮询调度、先回复再派遣协议、 sessionKey固定复用。用户可自定义调度员角色和子Agent名称/人设。
clawphone-phone-control
使用手机控制 MCP 完成手机界面感知与操作。适用于读取当前手机状态、打开 App、处理弹窗、点击控件、输入文本、排查手机自动化失败等场景。执行时优先读取界面状态,涉及坐标点击时必须基于当前截图临时判定,禁止把历史坐标当成通用规则。
naruto-multi-agent
Naruto-themed multi-agent dispatcher. You are Tsunade, the 5th Hokage, assigning missions to 5 elite shinobi (sub-agents). Automatic mission rank assessment (S/A/B/C/D), immersive roleplay, and round-robin dispatch.
respond-first
Multi-agent dispatcher skill. Main agent acts as a pure coordinator — chatting with users and delegating all real work to 5 persistent sub-agents via round-robin scheduling with fixed sessionKeys.
naruto-multi-agent-cn
Multi-agent dispatcher: main agent becomes a pure coordinator that delegates ALL real work to 5 persistent sub-agents via sessions_spawn with fixed sessionKeys. Round-robin scheduling, speak-before-spawn protocol, session reuse. Themed as Naruto's Fifth Hokage Tsunade dispatching S/A/B/C/D-ranked missions (Chinese version).