design_packet_structure

design_packet_structure is a skill for Claude Code, Codex from antoinebou12/uml-mcp. It costs 76 tokens per session (1,856 once invoked), scanned A, original, MIT.

An SVG drawing tool for packet-structure diagrams, which show fixed-width fields by their bit positions and lengths. A packet is the block of data sent between systems or devices.

In plain words
What is it for?
Use it to document a communication protocol's fields, offsets, and sizes.
Why use it?
It removes the need to hand-draw a precise map of how data is laid out inside a packet.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to document a communication protocol's fields, offsets, and sizes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/antoinebou12/uml-mcp/design_packet_structure
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add antoinebou12/uml-mcp --skill design_packet_structure
Clone the repo
git clone --depth 1 https://github.com/antoinebou12/uml-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design_packet_structure

README.md
[![agentmods](https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/design_packet_structure/github.svg)](https://agentmods.dev/skills/antoinebou12/uml-mcp/design_packet_structure)
Your own site
<a href="https://agentmods.dev/skills/antoinebou12/uml-mcp/design_packet_structure"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/design_packet_structure/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design_packet_structure

Your own site · 80×15
<a href="https://agentmods.dev/skills/antoinebou12/uml-mcp/design_packet_structure"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/design_packet_structure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,856 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.01856
Opus 5.5 $0.00030 $0.00742
Sonnet 5.5 $0.00015 $0.00371
Haiku 4.5 $0.00008 $0.00186

Measured yesterday against content hash 9b6d431d4ff0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design_packet_structure scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.skill/skills/design_packet_structure/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

design_packet_structure diagram (uml-mcp plugin diagram-design)

diagram_type: design_packet_structure
Backend: plugin:diagram-design (bundled with uml-mcp, on by default)
Output formats: html, svg

Packet structure in the diagram-design editorial style: Fixed-width packet fields positioned and sized by bit offsets and lengths. Source is one hand-drawn SVG; html or svg

Load the workflow skill uml-mcp-diagrams and the house-style guide skill://uml-mcp-guides/diagram-design/SKILL.md (tokens, typography, connector rules, anti-patterns). The type guide below is the upstream diagram-design reference by Cathryn Lavery (MIT).

Source contract

  • One <svg> root with xmlns="http://www.w3.org/2000/svg" and a viewBox; no HTML page around it. The plugin adds the eyebrow, the serif heading and the page.
  • <title> (the heading) and <desc> (one sentence) as direct children of <svg>.
  • Resolve every role placeholder ({ink}, {accent @ 0.40}, {node-name}) to the values in the guide's tokens before sending.
  • Rejected, with one message per problem: <script>, <foreignObject>, event handlers, javascript: URLs, remote href/url()/@import, DOCTYPE or entities, shadows and blur filters, and sources over 400 KB.
  • Shared classes go in one <style> element inside the SVG; fonts fall back to local families (Geist, system-ui, sans-serif), because remote stylesheets are not loaded.

Styling

Colours live in the SVG. Use the house tokens from the guide (light paper #f5f5f5, ink #2d3142, one or two #bf4520 accents); theme does not recolour these types.

Example source

Read uml://examples/design_packet_structure: the upstream light example (5 KB), which validates and renders as is. Start a new drawing from uml://templates/design_packet_structure.

Type guide: Packet structure

Packet structure

Best for: answering which named fields occupy which bit positions in a fixed-width header. A shared bit-boundary ruler, contiguous field rectangles and absolute row offsets make the layout readable without guessing from label length. Use supplied offsets and widths; if the schema is illustrative, say so visibly.

Read the full file on GitHub · 101 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 101 lines · 76 tokens per session scan A 9b6d431d4ff0

Subscribe to this mod's changes

design_packet_structure is a skill published in the GitHub repository antoinebou12/uml-mcp (111 stars, last pushed today), licensed MIT. It adds 76 tokens to every session and 1,856 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-04.

Related

design_packet_structure compared with skills from other repositories

design_packet_structure next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
design_packet_structureantoinebou12/uml-mcpSkill111todayMITA76Claude Code, Codex
solidworks-vibecadwzyn20051216/solidworks-automation-skillSkill3.0ktodayMITA96Claude Code, Codex
fluidcad-assemblyFluid-CAD/FluidCADSkill806todayMITA154Claude Code, Codex
gen-assemblypartcad/partcadSkill587yesterdayApache-2.0A111Claude Code
bdf_font_converterespressif/esp-clawSkill2.4k22d agoApache-2.0A27Claude Code, Codex
gen-partpartcad/partcadSkill587yesterdayApache-2.0A114Claude Code
gen-sketchpartcad/partcadSkill587yesterdayApache-2.0A201Claude Code