跳到正文
Skillpedia
测试42k · #6455

competition-websocket-runtime

它能做什么

这个工具可以帮你了解实时连接(比如聊天或通知)是如何工作的。它会分析最初的连接细节和交换的消息,清楚地展示信息的完整流动过程。

适用场景

  • ✓当你想看看聊天连接是如何建立的时候。
  • ✓当你想了解实时通知中交换的消息时。
  • ✓当你在研究网站如何自动重新连接时。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-websocket-runtime/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 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
常见问题

什么是实时连接?

这是一种可以即时发送和接收信息的连接,无需刷新页面,比如聊天或新闻动态就是这样实现的。

什么是“帧”(frame)?

这是在实时连接中传输的一个个小数据包,用来承载消息和指令。

为什么要分析“握手”?

握手是建立连接时最初的“打招呼”过程。分析它,可以了解通信是如何开始的,以及一开始就交换了哪些信息。

详情

作者的原始描述

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

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能