Agent skill

Network Protocol Viz

by Unclecheng-li in Unclecheng-li/AI_Animation

生成网络协议工作原理的可视化动画 HTML 页面,支持 TCP/IP、以太网帧、IPv4 数据报、路由、DHCP、HTTPS 等协议的图形化动态演示

MITAuto-check passed

Install Network Protocol Viz

skills CLI
$ npx skills add Unclecheng-li/AI_Animation --skill network-protocol-viz -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Unclecheng-li/AI_Animation network-protocol-viz --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Unclecheng-li/AI_Animation.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/network-protocol-viz .claude/skills/network-protocol-viz && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
network-protocol-viz
GitHub stars
1.5k
Token cost
~448 tokens
SKILL.md length
129 words
Files
11 (incl. references, assets)
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

生成网络协议工作原理的可视化动画 HTML 页面,支持 TCP/IP、以太网帧、IPv4 数据报、路由、DHCP、HTTPS 等协议的图形化动态演示

  • Works in 4 steps: 确定演示对象 → 规划演示结构 → 生成标准 → …
  • SKILL.md covers 你是什么, 支持的协议/概念, 核心工作流 and 安全教育模式, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Network Protocol Viz is an agent skill from Unclecheng-li/AI_Animation. 生成网络协议工作原理的可视化动画 HTML 页面,支持 TCP/IP、以太网帧、IPv4 数据报、路由、DHCP、HTTPS 等协议的图形化动态演示

Its SKILL.md is about 450 tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including reference files and assets (for example `README.md` and `references/prompts.md`).

The repository describes itself as: 本项目整理了用于生成[炫酷 HTML 动画网页]的 AI Prompts,涵盖动画效果、3D 可视化、PPT 风格演示、UI 美化等多个类别。 The licence is MIT.

Example prompts

  • “/network-protocol-viz”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 确定演示对象
  2. 规划演示结构
  3. 生成标准
  4. 交互功能

What it can do on your machine

Read from SKILL.md and the folder at commit d9c521f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Network Protocol Viz loads about 448 tokens when it runs, and up to ~952 if it reads all its reference files. Until then it costs about 24 tokens; SKILL.md has 129 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~448
With references · SKILL.md plus every file in references/, read only if the agent opens them
~952

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Unclecheng-li/AI_Animation at commit d9c521f, republished under its MIT licence (© Unclecheng-li). 129 words, ~448 tokens.

Download SKILL.mdSave it as .claude/skills/network-protocol-viz/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
network-protocol-viz
description
生成网络协议工作原理的可视化动画 HTML 页面,支持 TCP/IP、以太网帧、IPv4 数据报、路由、DHCP、HTTPS 等协议的图形化动态演示
version
0.1.0
triggers
网络协议可视化, 协议演示, TCP 动画, 数据包演示, network-protocol-viz

Network Protocol Visualization Skill

你是什么

你是一个专门生成网络协议工作原理动态可视化的专家。每次被激活,你会根据用户指定的协议或网络概念,生成一个完整的单文件 HTML 动画,展示协议的工作流程、数据包结构、交互过程等。

支持的协议/概念

协议/概念演示要点
TCP/IP三次握手、四次挥手、数据传输流程
IPv4 数据报包头结构展开、字段说明动画
以太网帧帧结构、MAC 地址解析
路由路由表查询、最长前缀匹配、数据包转发
交换机MAC 地址表学习、泛洪 vs 转发
DHCPIP 地址分配四步流程(Discover→Offer→Request→ACK)
HTTPS/TLS握手流程、证书验证、加密通道建立
PPP 帧帧结构、链路协议
抓包演示数据包捕获流程、协议分层解析
防火墙基于 IP/端口的流量过滤

核心工作流

Step 1 — 确定演示对象

从用户输入中识别目标协议。如不明确,询问:

  • "你想演示哪个网络协议或概念?"
  • "重点演示:结构解析 / 交互流程 / 过滤演示?"

如果信息充足,直接生成。

Step 2 — 规划演示结构

根据协议类型选择合适的可视化方式:

数据包/帧结构演示:

  • 用分层矩形块展示各字段
  • 鼠标 hover 弹出字段说明
  • 动画依次展开各层

交互流程演示(如 TCP 握手):

  • 客户端/服务端左右布局
  • 带箭头的时序图,数据包在两端来回流动
  • 每步附说明文字

路由/转发演示:

  • 网络拓扑图(节点 + 连接线)
  • 数据包沿路径流动动画
  • 路由表高亮匹配行
Step 3 — 生成标准

视觉风格(默认暗色科技风):

  • 背景:深色(#0d1117 或 #0a0a1a)
  • 网络节点:圆形 + 渐变填充
  • 数据包:小矩形或圆点,带发光尾迹
  • 协议层颜色区分:物理层(灰) / 数据链路层(蓝) / 网络层(绿) / 传输层(橙) / 应用层(紫)
  • 箭头:带动态流动效果的虚线

代码规范:

  • 单文件 HTML,内联 CSS/JS
  • 代码量 600-1200 行
  • 支持自动播放 + 手动步进
  • 重置按钮(回到初始状态)
Step 4 — 交互功能

必须包含:

  • 播放/暂停 控制
  • 重置/重播 按钮
  • 每步说明文字(当前步骤描述)

可选:

  • 步进模式(点击"下一步")
  • 速度控制(慢速/正常/快速)
  • 悬停说明(字段解释)

安全教育模式

当演示涉及安全场景(钓鱼网站、攻击链、防火墙绕过等)时:

  • 在页面底部添加免责声明:"本演示仅供安全教育用途"
  • 内容聚焦在攻击原理的可视化,不提供可直接使用的攻击代码

参考示例

  • assets/tcp-visualization.html — TCP 三次握手
  • assets/ipv4_datagram-3d.html — IPv4 数据报 3D 展示
  • assets/router-routing-table.html — 路由表动画
  • assets/ethernet-frame.html — 以太网帧结构

Prompt 参考见 references/prompts.md

© Unclecheng-li, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 10 other files (references, assets) in skills/network-protocol-viz of Unclecheng-li/AI_Animation.

  • SKILL.md
  • README.md
  • assets/HTTPS.html
  • assets/ethernet-frame.html
  • assets/ipv4_datagram-3d.html
  • assets/ipv4_datagram.html
  • assets/ppp_frame.html
  • assets/router-routing-table.html
  • assets/switch-mac-table.html
  • assets/tcp-visualization.html
  • references/prompts.md

Open the folder on GitHubat commit d9c521f

Compare with similar skills

Network Protocol Viz next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Network Protocol Viz compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Network Protocol Viz this skillUnclecheng-li/AI_Animation1.5k—~448Automated safety check: PassMIT
D3 Vizcalesthio/OpenMontage65k3 repos~5.4kAutomated safety check: PassAGPL-3.0
Pseudotime Trajectory Vizaipoch/medical-research-skills2k—~3.8kAutomated safety check: PassMIT
Facs Gating Viz Styleaipoch/medical-research-skills2k—~1.8kAutomated safety check: PassMIT
Data Viz Rendererzebbern/claude-code-guide4.7k—~1.3kAutomated safety check: PassMIT
I4h Lerobot VizNVIDIA/skills3.5k1 repos~976Automated safety check: PassApache-2.0

Similar skills

  • D3 Viz

    calesthio/OpenMontage

    Creating interactive data visualisations using d3.js. An agent skill from calesthio/OpenMontage.

    65k GitHub starsUsed in 3 repos~5.4k tokens
    Data & AnalyticsAuto-check passed
  • Pseudotime Trajectory Viz

    aipoch/medical-research-skills

    Analyze data with pseudotime-trajectory-viz using a reproducible workflow, explicit validation, and structured outputs for review-ready interpretation.

    2k GitHub stars~3.8k tokensUpdated 21 days ago
    Data & AnalyticsAuto-check passed
  • Facs Gating Viz Style

    aipoch/medical-research-skills

    Use facs gating viz style for data analysis workflows that need structured execution, explicit assumptions, and clear output boundaries.

    2k GitHub stars~1.8k tokensUpdated 21 days ago
    Data & AnalyticsAuto-check passed
  • Data Viz Renderer

    zebbern/claude-code-guide

    Generate self-contained HTML/SVG infographics from JSON data, including stat cards, bar charts, flow diagrams, and mixed dashboards.

    4.7k GitHub stars~1.3k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • I4h Lerobot Viz

    NVIDIA/skills

    Official

    Serve and visually inspect a converted LeRobot dataset in the browser.

    3.5k GitHub starsUsed in 1 repo~976 tokens
    Productivity & AutomationAuto-check passed
  • Comfyui Topology Viz

    automateyournetwork/netclaw

    Turn a network topology into one stylized, AI-generated still image via a self-hosted ComfyUI instance — reuses the same topology model as threejs-network-viz (any of 8 topology-source integrations…

    675 GitHub stars~3.9k tokensUpdated 3 days ago
    AI & LLM EngineeringAuto-check: notes

More from Unclecheng-li/AI_Animation

All 12 skills in this repo
  • Archify Diagram Builder

    Unclecheng-li/AI_Animation

    Builds validated architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone interactive HTML from a small JSON spec, with optional motion and image export.

    1.5k GitHub starsUsed in 2 repos~4.1k tokens
    Auto-check passed
  • Video Shot Demo Pages

    Unclecheng-li/AI_Animation

    Produces one self-contained HTML animation page per video shot, sharing a cinematic player base but giving each page its own visual style, sound cues and characters.

    1.5k GitHub stars~617 tokensUpdated 3 days ago
    Auto-check passed
  • Card Theater

    Unclecheng-li/AI_Animation

    Generates a single-file HTML presentation that pairs a narrated sidebar with a 3D card carousel, for walking through protocols, product features or step-by-step processes.

    1.5k GitHub stars~877 tokensUpdated 3 days ago
    Auto-check passed
  • Phone UI Demo Animations

    Unclecheng-li/AI_Animation

    Turns a product, lesson or script into a cinematic web animation staged inside a realistic phone interface, with lock screens, chats, settings and a virtual-clock player.

    1.5k GitHub stars~703 tokensUpdated 3 days ago
    Auto-check passed
  • Plotbeat Data Videos

    Unclecheng-li/AI_Animation

    Turns a local CSV or JSON file, or data fetched from an approved source, into an editable data-visualization video by adapting HyperFrames templates.

    1.5k GitHub stars~2.6k tokensUpdated 3 days ago
    Auto-check passed
  • Stacked Data Cards Animation

    Unclecheng-li/AI_Animation

    Generates a single-file HTML animation in which white argument cards pop up in turn, older ones stack to the left and data widgets animate in, timed to a voiceover.

    1.5k GitHub stars~1.1k tokensUpdated 3 days ago
    Auto-check passed

Questions about Network Protocol Viz

What does Network Protocol Viz do?

生成网络协议工作原理的可视化动画 HTML 页面,支持 TCP/IP、以太网帧、IPv4 数据报、路由、DHCP、HTTPS 等协议的图形化动态演示. Network Protocol Viz is an agent skill from Unclecheng-li/AI_Animation.

How do I install Network Protocol Viz in Claude Code?

Run `npx skills add Unclecheng-li/AI_Animation --skill network-protocol-viz -a claude-code`. Or copy the skill folder (skills/network-protocol-viz in Unclecheng-li/AI_Animation) into .claude/skills/network-protocol-viz in your project. Claude Code loads it when a task matches its description.

How do I install Network Protocol Viz in Codex?

Run `npx skills add Unclecheng-li/AI_Animation --skill network-protocol-viz -a codex`. Or copy the skill folder (skills/network-protocol-viz in Unclecheng-li/AI_Animation) into .agents/skills/network-protocol-viz in your project. Codex loads it when a task matches its description.

Can I use Network Protocol Viz in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Unclecheng-li/AI_Animation --skill network-protocol-viz -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/network-protocol-viz, .gemini/skills/network-protocol-viz, .github/skills/network-protocol-viz and .opencode/skills/network-protocol-viz in your project.

What does Network Protocol Viz need to run?

SKILL.md names no scripts, command-line tools or credentials: Network Protocol Viz is instructions for the agent only.

Does Network Protocol Viz access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Network Protocol Viz safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Network Protocol Viz use?

Network Protocol Viz is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Network Protocol Viz use?

About 448 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 504 tokens, read only when the agent opens those files.

What are the alternatives to Network Protocol Viz?

Skills that share tags, products or a category with Network Protocol Viz: D3 Viz (calesthio/OpenMontage, 65k stars), Pseudotime Trajectory Viz (aipoch/medical-research-skills, 2k stars), Facs Gating Viz Style (aipoch/medical-research-skills, 2k stars) and Data Viz Renderer (zebbern/claude-code-guide, 4.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Network Protocol Viz?

Unclecheng-li (a GitHub user) maintains it in Unclecheng-li/AI_Animation, which has 1,457 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 5, 2026.

Source: Unclecheng-li/AI_Animation on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.