Communityコーディング&開発github.com

parallels-discord-roundtrip

macOS Parallels スモークテストで、Discord を介した双方向メッセージ配信がエンドツーエンドで機能することを検証します。

parallels-discord-roundtrip とは?

このスキルは、macOS Parallels 環境上で Discord を介した双方向メッセージ配信(ラウンドトリップ)を自動検証するためのものです。主に、ゲストOS(macOS)からのメッセージ送信、ホスト側でのメッセージ確認、ホストからの返信、ゲスト側でのメッセージ読み取りという一連の流れを証明します。Parallels のスナップショット機能を活用し、フレッシュな状態からインストール、設定、テストを実行します。テストには専用の Discord Bot トークン、ギルドID、チャンネルIDが必要で、これらは環境変数で指定します。OpenClaw フレームワーク上で動作し、`pnpm test:parallels:macos` コマンドで実行します。成功条件は、ゲストからのメッセージが Discord のチャンネル履歴に存在し、ホストからの返信がゲストの `openclaw message read` で確認できることです。

対応~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/.agents/skills/parallels-discord-roundtrip

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Parallels Discord ラウンドトリップ

macOS Parallels スモークテストで、Discord を介した双方向メッセージ配信がエンドツーエンドで機能することを証明する際に使用します。

目標

以下の項目を網羅します:

  • フレッシュな macOS スナップショットへのインストール
  • オンボーディング + ゲートウェイの健全性確認
  • ゲストから Discord へ message send (メッセージ送信)
  • ホストがそのメッセージを Discord 上で確認
  • ホストが新しい Discord メッセージを投稿
  • ゲストが message read (メッセージ読み取り) でその新しいメッセージを確認

入力

  • 専用の運用承認済み QA Bot トークンを含むホスト環境変数
  • 運用承認済み QA ギルドIDおよびチャンネルID
  • OPENAI_API_KEY

推奨実行方法

承認済みの秘密情報ソースから OPENCLAW_PARALLELS_DISCORD_TOKEN を読み込みます。 OPENCLAW_PARALLELS_DISCORD_GUILD_ID と OPENCLAW_PARALLELS_DISCORD_CHANNEL_ID を 承認済み QA 送信先に設定します。ハーネスが選択したゲスト内部でその Bot を設定します。

pnpm test:parallels:macos \
  --discord-token-env OPENCLAW_PARALLELS_DISCORD_TOKEN \
  --discord-guild-id "$OPENCLAW_PARALLELS_DISCORD_GUILD_ID" \
  --discord-channel-id "$OPENCLAW_PARALLELS_DISCORD_CHANNEL_ID" \
  --json

注記

  • スナップショット対象: macOS 26.3.1 fresh に最も近いもの。
  • スナップショット解決機能は、ベースヒントが一致する場合、*-poweroff* クローンを優先するようになりました。これにより、ハーネスは長いヒントを指定しなくても、ディスクのみのリカバリ用スナップショットを再利用できます。
  • Windows/Linux スナップショット復元ログに PET_QUESTION_SNAPSHOT_STATE_INCOMPATIBLE_CPU が表示された場合は、サスペンド状態を一度破棄し、*-poweroff* 置換スナップショットを作成して再実行してください。スモークスクリプトは現在、復元されたパワーオフスナップショットを自動起動します。
  • ハーネスはゲスト内部で Discord を設定します。チェックインされたトークンや設定はありません。
  • ゲストの message send/read には openclaw ラッパーを使用してください。node openclaw.mjs message ... では、遅延評価されるメッセージサブコマンドが同じように公開されません。
  • channels.discord.guilds は、ドット区切りの config set channels.discord.guilds.<snowflake>... パスではなく、1つの JSON オブジェクト (--strict-json) で記述してください。数値のスノーフレークは配列インデックスのように扱われます。
  • 長い Discord 設定スクリプトでは prlctl enter / expect は避けてください。長いコマンドが行折り返しにより破損します。Discord 設定フェーズには prlctl exec --current-user /bin/sh -lc ... を使用してください。
  • 3OS フルスイープ: 共有ビルドロックは並列実行しても安全ですが、スナップショット復元は依然として Parallels のボトルネックです。ホストがすでに負荷が高い場合は、Windows/Linux の復元処理が多い再実行は直列化することを推奨します。
  • ハーネスのクリーンアップは、終了時に一時的な Discord スモークメッセージを削除します。
  • ハーネスは、Discord の証明が成功した後に選択したゲストの停止を試み、停止に失敗した場合は警告を表示します。アドホックな Discord チェックの場合は、引き継ぎ前にタスク所有のゲストのみを停止してください。証明後も Discord 設定済みのテストゲストを実行したままにしないでください。
  • フェーズごとのログ: /tmp/openclaw-parallels-smoke.*
  • マシン概要: --json を渡してください
  • ラウンドトリップが不安定な場合は、まず実行ディレクトリ内の fresh.discord-roundtrip.log と discord-last-readback.json を確認してください。

合格基準

  • 要求された fresh レーンまたはアップグレードレーンが合格
  • サマリーがそのレーンについて discord=pass と報告
  • ゲスト送信の nonce がチャンネル履歴に存在する
  • ホスト送信の nonce が openclaw message read の出力に含まれている

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

関連スキル