本文へスキップ
Skillpedia
テスト42k · #6455

competition-websocket-runtime

できること

このツールは、チャットや通知のようなリアルタイム接続の仕組みを理解するのに役立ちます。最初の接続情報と、やり取りされるメッセージを分析し、情報の流れを正確に示します。

使う場面

  • ✓チャットの接続がどのように始まるかを確認したいとき。
  • ✓ライブ通知でやり取りされるメッセージを理解したいとき。
  • ✓Webサイトが自動的に再接続する仕組みを調べたいとき。

スキルのリンク

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-websocket-runtime/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-websocket-runtime/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このページのリアルタイム接続を分析してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

まず、アドレスやログイン情報などの最初の接続情報をすべて記録します。次に、やり取りされる各メッセージを分けて分析し、その機能にとって重要なものを特定します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Competition WebSocket Runtime

Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.

Use this skill when the decisive behavior is carried by realtime handshake and frame flow rather than one-shot HTTP alone.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Map the handshake first: origin, path, headers, cookies, query, auth token, and upgrade response.
  2. Separate connection setup, subscription messages, keepalives, server pushes, and reconnect logic.
  3. Record message schema, topic or channel identity, and state side effects in one chain.
  4. Tie frames to rendered, stored, or backend-visible effects.
  5. Reproduce the smallest handshake-plus-frame sequence that reaches the decisive state change.

Workflow

1. Map The Realtime Handshake

  • Record the initial HTTP or SSE request, upgrade headers, cookies, tokens, query params, origin checks, and negotiated protocol.
  • Note whether auth material is carried by headers, cookies, query strings, or initial application frames.
  • Keep route, subscription endpoint, and session identity tied together.

2. Decode Message Flow

  • Separate subscribe, unsubscribe, ack, heartbeat, server push, reconnect, and terminal frames.
  • Recover message types, channel IDs, schema fields, and sequencing that matter to behavior.
  • Distinguish transport keepalive from application-level business messages.

3. Reduce To The Decisive Realtime Path

  • Compress the result to the smallest sequence: handshake -> auth or subscribe frame -> pushed or accepted frame -> resulting state change.
  • Keep canonical frame order and any replayed minimal order side by side.
  • If the hard part is generic protocol reassembly without runtime UI or app-state linkage, switch back to the tighter protocol skill.

Read This Reference

  • Load references/websocket-runtime.md for the handshake checklist, frame checklist, and evidence packaging.

What To Preserve

  • Handshake headers, cookies, query params, auth material, negotiated subprotocol, and channel IDs
  • Frame schemas, subscription messages, server pushes, reconnect flow, and resulting state changes
  • The smallest replayable realtime sequence that proves the decisive branch
よくある質問

リアルタイム接続とは何ですか?

ページを再読み込みしなくても、情報を即座に送受信できる接続のことです。チャットやニュースフィードなどで使われています。

「フレーム」とは何ですか?

リアルタイム接続上を流れる小さなデータのまとまりで、メッセージや命令を運びます。

「ハンドシェイク」を分析するのはなぜですか?

ハンドシェイクは接続を確立するための最初の「あいさつ」です。ここを分析すると、通信がどのように始まり、最初にどんな情報がやり取りされるかがわかります。

詳細

作者による元の説明

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for WebSocket and SSE handshakes, auth material, subscription state, realtime message schemas, reconnect behavior, and frame-driven runtime effects. Use when the user asks to inspect a WebSocket or SSE handshake, decode frames, trace subscriptions, follow reconnect logic, inspect auth material sent during realtime setup,

repo: zhaoxuya520/reverse-skill

人気

GitHubのスター
42k
ランキング
#6455
ライセンス
MIT
更新日
2026/9/22

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル