hytale-networking

hytale-networking is a skill for Claude Code, Codex from MnkyArts/hytale-skills. It costs 51 tokens per session (3,466 once invoked), scanned A, original, MIT.

A guide to communication between a Hytale server and connected game clients using structured messages called packets.

In plain words
What is it for?
Use it to create custom messages, synchronize game state or user interfaces, and process real-time player input.
Why use it?
It explains how to send information in either direction and how those messages are encoded, decoded, registered, and handled.

Skill for Claude CodeCodex

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

Good fit Use it to create custom messages, synchronize game state or user interfaces, and process real-time player input.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mnkyarts/hytale-skills/hytale-networking
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 MnkyArts/hytale-skills --skill hytale-networking
Clone the repo
git clone --depth 1 https://github.com/MnkyArts/hytale-skills

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 hytale-networking

README.md
[![agentmods](https://agentmods.dev/badge/skills/mnkyarts/hytale-skills/hytale-networking/github.svg)](https://agentmods.dev/skills/mnkyarts/hytale-skills/hytale-networking)
Your own site
<a href="https://agentmods.dev/skills/mnkyarts/hytale-skills/hytale-networking"><img src="https://agentmods.dev/badge/skills/mnkyarts/hytale-skills/hytale-networking/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 hytale-networking

Your own site · 80×15
<a href="https://agentmods.dev/skills/mnkyarts/hytale-skills/hytale-networking"><img src="https://agentmods.dev/badge/skills/mnkyarts/hytale-skills/hytale-networking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,466 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.00051 $0.03466
Opus 5 $0.00026 $0.01733
Sonnet 5 $0.00010 $0.00693
Haiku 4.5 $0.00005 $0.00347

Measured 11d ago against content hash 909dca68cbc5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

hytale-networking 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 11d ago.

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.

skills/hytale-networking/SKILL.md · 662 lines

How it starts

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

Hytale Networking API

Complete guide for handling network packets and client-server communication.

When to use this skill

Use this skill when:

  • Sending data to clients
  • Receiving data from clients
  • Creating custom packet types
  • Implementing custom UI synchronization
  • Handling real-time player input
  • Syncing custom game state

Network Architecture Overview

Hytale uses a packet-based networking system:

Client <---> Server
   |           |
   Packet      Packet
   Encoder     Decoder
   |           |
   ByteBuf <-> ByteBuf

Protocol Components

Component Description
Packet Data structure with serialization
PacketRegistry Maps packet IDs to classes
PacketHandler Processes incoming packets
PacketEncoder Serializes packets to bytes
PacketDecoder Deserializes bytes to packets

Packet Structure

Packet Interface

All packets implement the Packet interface:

public interface Packet {
    int getId();
    void serialize(ByteBuf buffer);
    int computeSize();
}

Built-in Packet Categories

Category Direction Examples
auth Bidirectional AuthToken, ConnectAccept
connection Bidirectional Connect, Disconnect, Ping
setup S→C WorldSettings, AssetInitialize
player C→S ClientMovement, MouseInteraction
entities S→C EntityUpdates, PlayAnimation
world S→C SetChunk, ServerSetBlock
inventory Bidirectional MoveItemStack, SetActiveSlot
window Bidirectional OpenWindow, CloseWindow
interface S→C ChatMessage, Notification
interaction Bidirectional SyncInteractionChains
camera S→C CameraShakeEffect

Registering Packet Handlers

SubPacketHandler Pattern

Create modular packet handlers:

public class MyPacketHandler implements SubPacketHandler {
    private final MyPlugin plugin;
    
    public MyPacketHandler(MyPlugin plugin) {
        this.plugin = plugin;
    }
    
    @Override
    public void registerHandlers(IPacketHandler handler) {
        // Register by packet ID
        handler.registerHandler(108, this::handleClientMovement);
        handler.registerHandler(111, this::handleMouseInteraction);
        
        // Or by packet class
        handler.registerHandler(CustomPacket.ID, this::handleCustomPacket);
    }
    
    private void handleClientMovement(Packet packet) {
        ClientMovement movement = (ClientMovement) packet;
        Vector3d position = movement.getPosition();
        // Process movement
    }
    
    private void handleMouseInteraction(Packet packet) {
        MouseInteraction interaction = (MouseInteraction) packet;
        // Process mouse input
    }
}

Read the full file on GitHub · 662 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 662 lines · 51 tokens per session scan A 909dca68cbc5

Subscribe to this mod's changes

hytale-networking is a skill published in the GitHub repository MnkyArts/hytale-skills (5 stars, last pushed 7mo ago), licensed MIT. It adds 51 tokens to every session and 3,466 once invoked, about $0.0003 per session on Opus 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-08-31.

Related

Other skills, from other repositories

league-akari-sgp-data-source

Use when implementing or reviewing League Akari SGP/LCU data-source selection, SGP API clients, League Servers remote config, Tencent cross-region queries, token handling, or per-feature SGP interoperability.

LeagueAkari/LeagueAkari · 50 tokens

csharp-godot

Use when working with C# in Godot — conventions, GodotSharp API differences from GDScript, project setup, and interop.

jame581/GodotPrompter · 34 tokens

cloudflare-durable-objects

Cloudflare Durable Objects for stateful coordination and real-time apps. Use for chat, multiplayer games, WebSocket hibernation, or encountering class export, migration, alarm errors.

secondsky/claude-skills · 43 tokens

gamedev-multiplayer

Use when adding multiplayer or netcode to a game — client-server vs P2P, server authority and anti-cheat, state replication vs RPCs, prediction and reconciliation, lag compensation, plus Godot 4 / Unity NGO / Unreal wiring. NOT single-player gameplay (that is godot, unity, unreal), NOT matchmaking or server hosting…

ericrisco/rsc-harness · 86 tokens

cloudflare-do-turn-based-multiplayer

Design, implement, debug, or verify a remote turn-based multiplayer game whose rooms run on Cloudflare Durable Objects. Use for room and invite identity, reconnectable seats, WebSocket hibernation, concurrent turns, action idempotency, revision conflicts, or cross-browser game-state agreement. Do not trigger for…

swyxio/skills · 80 tokens

roblox-open-cloud

Roblox Open Cloud REST API for accessing data stores, assets, universes, places, users, groups, subscriptions, and Luau execution from outside the engine or via HttpService. Covers authentication (API keys, OAuth 2.0, avoiding legacy cookie auth), scopes and least-privilege, IP allowlists, key rotation and the 60-day…

nonlooped/roblox-suite · 128 tokens