BeClaude

tcp-from-scratch

New
21GitHub TrendingGeneralby maxcelant

Create L3/L4 network protocols from scratch

About this Skill

This skill enables developers to design and implement custom L3/L4 network protocols from scratch, including TCP, UDP, and IP variants. It provides guidance on packet structure, state machines, and socket programming, making it useful for building low-level networking tools or learning protocol internals.

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/tcp-from-scratch.md https://raw.githubusercontent.com/maxcelant/tcp-from-scratch/main/SKILL.md
3
Invoke in Claude Code
/tcp-from-scratch

Use Cases

Implement a minimal TCP stack for an embedded system without an OS.
Create a custom UDP-based protocol for real-time game data transmission.
Build a network sniffer that parses raw IP packets to analyze traffic.
Develop a simple HTTP server from scratch using raw sockets.
Simulate TCP congestion control algorithms for educational purposes.
Design a lightweight reliable transport protocol over UDP for IoT devices.

Usage Examples

1

/tcp-from-scratch help me implement a three-way handshake in Python using raw sockets

2

Show me how to construct an IP packet header with custom options

3

Write a UDP echo server and client from scratch in C

View source on GitHub

Frequently Asked Questions

What is tcp-from-scratch?

This skill enables developers to design and implement custom L3/L4 network protocols from scratch, including TCP, UDP, and IP variants. It provides guidance on packet structure, state machines, and socket programming, making it useful for building low-level networking tools or learning protocol internals.

How to install tcp-from-scratch?

To install tcp-from-scratch, create the .claude/skills directory in your project, then run the curl command to download the skill file. Once installed, invoke it in Claude Code with /tcp-from-scratch.

What is tcp-from-scratch best for?

tcp-from-scratch is a community categorized under General. Created by maxcelant.

What can I use tcp-from-scratch for?

tcp-from-scratch is useful for: Implement a minimal TCP stack for an embedded system without an OS.; Create a custom UDP-based protocol for real-time game data transmission.; Build a network sniffer that parses raw IP packets to analyze traffic.; Develop a simple HTTP server from scratch using raw sockets.; Simulate TCP congestion control algorithms for educational purposes.; Design a lightweight reliable transport protocol over UDP for IoT devices..