shenyimings/skillet/andrewgazelka-rgb-claude-skills-nbt

Claude Code and agent skill by shenyimings/skillet

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use the nbt! macro from mc_protocol for creating NBT (Named Binary Tag) data for Minecraft protocol encoding.

Install

npx vskill@latest install shenyimings/skillet/andrewgazelka-rgb-claude-skills-nbt

SKILL.md

The same SKILL.md was published earlier as shenyimings/skillet/andrewgazelka-rgb-claude-skills-nbt.

NBT Encoding Skill

Use the nbt! macro from mc_protocol for creating NBT data.

When to Use

Use this skill when you need to:

  • Encode NBT data for Minecraft packets
  • Create text components for chat, action bar, titles
  • Build compound NBT structures

Basic Usage

rust
use mc_protocol::nbt;
// Simple compound
let compound = nbt! {
"text" => "Hello",
"count" => 42i32,
"flag" => true,
};
// Convert to network bytes
let bytes = compound.to_network_bytes();

Nested Compounds

rust
use mc_protocol::nbt;
let nested = nbt! {
"outer" => nbt! {
"inner" => 123i32,
},
};

Supported Types

  • i8 - Byte
  • i16 - Short
  • i32 - Int
  • i64 - Long
  • f32 - Float
  • f64 - Double
  • &str / String - String
  • bool - Byte (0 or 1)
  • NbtCompound - Nested compound
  • NbtList - List of same-type elements

Text Components (Chat/Action Bar)

For Minecraft text components (used in chat, action bar, titles):

rust
use mc_protocol::nbt;
// Simple text
let text_component = nbt! {
"text" => "Hello World",
};
// With color
let colored = nbt! {
"text" => "Red text",
"color" => "red",
};

Best Practices

  1. Always use the `nbt!` macro instead of manual byte manipulation
  2. Use explicit type suffixes (42i32, 1.0f32) for numeric literals
  3. Use to_network_bytes() for protocol encoding (adds type tag, no root name)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/shenyimings/skillet/andrewgazelka-rgb-claude-skills-nbt/badge)](https://verified-skill.com/skills/shenyimings/skillet/andrewgazelka-rgb-claude-skills-nbt)

Something wrong with this skill or its page? Tell us.