使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/smartworldarafath/rea_skill --skill rea-protocol-api-recovery开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
REA Network Protocol, PCAP & API Schema Recovery Skill
Scope & Authorization
Covers all first-party protocol interoperability, packet capture dissection, Protobuf/gRPC descriptor extraction, and API schema reconstruction tasks (including Category 6 of the 500+ REA Prompt Vault and any custom network protocol task).
Execution Pipeline
- Packet & Frame Dissection:
- Use REA MCP tools:
inspect_pcap_client,inspect_pcap_capture,inspect_packet_capture,inspect_packet_fields,inspect_web_network_capture, andcompare_web_captures. - Identify frame headers, magic bytes, endianness, length prefixes, sequence numbers, opcodes, and checksum/CRC algorithms.
- Schema & State Machine Reconstruction:
- For Protobuf/gRPC: extract embedded FileDescriptorProto blobs from binaries or decode raw wire tags (
varint,length-delimited,fixed32/64) to reconstruct valid.protov2/v3 definitions. - For REST/GraphQL/WebSockets: generate OpenAPI 3.1 (
openapi.yaml), GraphQL SDL (schema.graphql), or AsyncAPI specifications.
- Working SDK & Test Suite Generation:
- Reconstruct a complete, zero-skeleton client and/or mock server library in the user's target language (Rust, Go, TypeScript, Python, C#, or C++) with automated unit tests validating packet serialization and deserialization.