自动执行 Parallels 与 Discord 往返冒烟测试并验证主客机通信链路。
该技能材料显示其目标是驱动 Parallels 虚机完成 Discord 双向收发验证,涉及 Discord bot token、SSH 取本地配置、VM 控制与对 Discord 的消息往返。因其为开源且社区采用度高,整体更偏向可审计的常规自动化能力,主要是凭证、网络外发与本机/虚机操作面的需留意风险,而非明显恶意红旗。
README 明确要求 Discord bot token 与 OPENAI_API_KEY,并给出通过 ssh 读取 `~/.openclaw/openclaw.json` 中 token 的示例;虽称未签入凭证,但该流程会接触敏感密钥,存在误暴露、日志泄漏或在宿主/来宾间误用的常规风险。
材料声明会向 Discord 发送与读取消息,以验证双向送达,并可能使用 OpenAI API;这意味着测试内容和 nonce 会外发到 Discord/相关 API。未见无关或不明端点,但与“无远程端点”声明不一致,实际存在对外通信。
README 涉及 `pnpm test`、`ssh`、`prlctl exec/stop`、guest 内脚本与 `openclaw` wrapper,说明预期会在宿主机执行命令、控制 Parallels 虚机并在来宾系统内运行操作。这属于该类自动化/测试工具的常规高权限能力,需限制运行环境与目标 VM。
材料显示会读取宿主机 `~/.openclaw/openclaw.json`、写入 `/tmp/openclaw-parallels-smoke.*` 日志,并在来宾内配置 Discord 与读取消息历史;未见广泛文件系统遍历,但确有对本地配置、临时日志和 Discord 消息数据的访问。
来源为 GitHub 开源仓库,且社区采用度极高(约 37.7 万 star),可审计性明显优于闭源来源。许可证未声明、维护状态未知,需自行复核具体提交与依赖,但基于现有材料未见明显供应链红旗。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "parallels-discord-roundtrip" 技能: 1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/.agents/skills/parallels-discord-roundtrip/SKILL.md 2. 保存为 ~/.claude/skills/parallels-discord-roundtrip/SKILL.md 3. 装好后重载技能,告诉我可以用了
请运行 parallels-discord-roundtrip,对 macOS Parallels 环境执行一次冒烟测试:由 guest 通过 Discord 发送消息,host 侧验证接收并回复,再确认 guest 成功读回回复内容,最后输出完整验证结果。
返回一次完整的往返测试结果,说明发送、接收、回复与回读是否全部成功,并附带关键验证信息。
在开始回归测试前,使用 parallels-discord-roundtrip 检查 Parallels 虚拟机与宿主机之间的 Discord 通信链路是否正常,并给出失败步骤定位。
输出链路健康检查结果,并明确指出问题出在 guest 发送、host 验证、host 回复还是 guest 回读阶段。
执行 parallels-discord-roundtrip,并整理成一份可用于验收的测试证明,包含各阶段状态、时间顺序和最终结论。
生成适合留档或验收的测试摘要,清楚展示往返通信已被验证或说明失败原因。
Use when macOS Parallels smoke must prove Discord two-way delivery end to end.
Cover:
message send to Discordmessage read sees that new messageOPENAI_API_KEYexport OPENCLAW_PARALLELS_DISCORD_TOKEN="$(
ssh peters-mac-studio-1 'jq -r ".channels.discord.token" ~/.openclaw/openclaw.json' | tr -d '\n'
)"
pnpm test:parallels:macos \
--discord-token-env OPENCLAW_PARALLELS_DISCORD_TOKEN \
--discord-guild-id 1456350064065904867 \
--discord-channel-id 1456744319972282449 \
--json
macOS 26.3.1 fresh.*-poweroff* clones when the base hint also matches. That lets the harness reuse disk-only recovery snapshots without passing a longer hint.PET_QUESTION_SNAPSHOT_STATE_INCOMPATIBLE_CPU, drop the suspended state once, create a *-poweroff* replacement snapshot, and rerun. The smoke scripts now auto-start restored power-off snapshots.openclaw wrapper for guest message send/read; node openclaw.mjs message ... does not expose the lazy message subcommands the same way.channels.discord.guilds in one JSON object (--strict-json), not dotted config set channels.discord.guilds.<snowflake>... paths; numeric snowflakes get treated like array indexes.prlctl enter / expect for long Discord setup scripts; it line-wraps/corrupts long commands. Use prlctl exec --current-user /bin/sh -lc ... for the Discord config phase.prlctl stop "macOS Tahoe"). The macOS smoke harness should do this automatically after successful Discord proof; still stop the VM manually after ad-hoc Discord checks. Do not leave the Discord-configured VM running; it can keep reading/posting in #maintainer and spam Discord after the proof is complete./tmp/openclaw-parallels-smoke.*--jsonfresh.discord-roundtrip.log and discord-last-readback.json in the run dir first.discord=pass for that laneopenclaw message read output帮助你创建、整理、校验并重构 AgentSkills 与 SKILL.md 技能文件。
为 OpenClaw 代理创建的 GitHub PR 或议题自动添加脱敏执行记录。
帮助用户进行网页搜索、内容提取与研究资料整理,快速获取可靠信息。
快速搭建一次性原型,验证方案可行性并给出对比结论。
帮助用户编写、理解与调试 Lobster 编程语言代码。
帮助用户管理飞书云空间中的文件、文件夹与存储内容。
用于运行、重跑、调试并解读 OpenClaw Parallels 安装与冒烟检查结果
帮助用户统一管理 Parallels 虚拟机的启停、挂起与命令执行。
用于交叉校验生成的 SQL 或正则结果,帮助开发者在信任前先渲染验证。
将 Discord 频道连接到 Cursor 无头代理,实现持续在线的服务器协作与自动交互。
帮助用户管理 Parallels Desktop 虚拟机的启停、快照与日常运维操作。
连接 Discord 驱动的 OpenClaw 会话,直接与智能代理实时交流协作。