enum-struct

enum-struct is a skill for Claude Code, Codex from kevinpbuckley/VibeUE. It costs 62 tokens per session (2,324 once invoked), scanned A, original, MIT.

A tool for creating and inspecting user-defined enums and structs in Unreal Engine. Enums are named lists of choices, while structs group related fields into one data type.

In plain words
What is it for?
Use it to create Blueprint enums and structs, add or inspect their values and members, or define the row format for a DataTable.
Why use it?
It provides a way to define reusable data for Blueprints and DataTables without editing native C++ types. It also helps avoid changing types that are read-only or creating duplicate assets.

Skill for Claude CodeCodex

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

Good fit Use it to create Blueprint enums and structs, add or inspect their values and members, or define the row format for a DataTable.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevinpbuckley/vibeue/enum-struct
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 kevinpbuckley/VibeUE --skill enum-struct
Clone the repo
git clone --depth 1 https://github.com/kevinpbuckley/VibeUE

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 enum-struct

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevinpbuckley/vibeue/enum-struct"><img src="https://agentmods.dev/badge/skills/kevinpbuckley/vibeue/enum-struct.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,324 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00062 $0.02324
Opus 5.5 $0.00025 $0.00930
Sonnet 5.5 $0.00012 $0.00465
Haiku 4.5 $0.00006 $0.00232

Measured 1mo ago against content hash a596458de696, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

enum-struct 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 1mo 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.

Content/Skills/enum-struct/SKILL.md · 268 lines

How it starts

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

Enum and Struct Skill

Critical Rules

Read-Only Native Types

Native C++ enums and structs are read-only. Only UserDefinedEnums and UserDefinedStructs can be modified:

import unreal

# Search for user-defined enums only (editable)
enums = unreal.EnumStructService.search_enums("Weapon", True)  # bUserDefinedOnly=True

# Check if an enum is user-defined before modifying
# (returns a single EnumInfo or None — NOT a (success, info) tuple)
info = unreal.EnumStructService.get_enum_info("EMyEnum")
if info and info.is_user_defined:          # field is is_user_defined, NOT b_is_user_defined
    unreal.EnumStructService.add_enum_value("EMyEnum", "NewValue")

🚨 Pass the EXACT asset name you want — prefixing is dumb

create_enum / create_struct only prepend E/F when the name doesn't already start with that letter; they never insert underscores or reformat. So:

  • want E_TestState → pass "E_TestState" (passing "TestState" creates ETestState)
  • want EWeaponType → "WeaponType" or "EWeaponType" both work

Creation fails with an empty string if the asset already exists — delete it first (delete_enum / delete_struct), there is no overwrite.

🚨 Enum values: you are always working with DISPLAY names

UserDefinedEnum entries have immutable internal names (NewEnumerator0..N). Every EnumStructService method speaks display names: the name you pass to add_enum_value becomes the display name, get_enum_values returns display names, and rename_enum_value / remove_enum_value accept display names (rename changes the display name only). For internal+display pairs use get_enum_info(...).values (each entry has name = internal, display_name, value, index).


Workflows

Create UserDefinedEnum

import unreal

# Create a new enum — pass the exact final name (here E prefix gets prepended)
enum_path = unreal.EnumStructService.create_enum("/Game/Data/Enums", "WeaponType")
print(f"Created: {enum_path}")  # /Game/Data/Enums/EWeaponType.EWeaponType
if not enum_path:
    # creation failed — most likely the asset already exists; delete_enum first
    ...

# Add values
unreal.EnumStructService.add_enum_value(enum_path, "Sword", "Melee Sword")
unreal.EnumStructService.add_enum_value(enum_path, "Bow", "Ranged Bow")
unreal.EnumStructService.add_enum_value(enum_path, "Staff", "Magic Staff")

# Verify
values = unreal.EnumStructService.get_enum_values(enum_path)
print(f"Values: {values}")  # ['Sword', 'Bow', 'Staff']

Read the full file on GitHub · 268 lines

Files

What ships with it

1 file 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. 1mo ago First seen · 268 lines · 62 tokens per session scan A a596458de696

Subscribe to this mod's changes

enum-struct is a skill published in the GitHub repository kevinpbuckley/VibeUE (786 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 2,324 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

loot-agent-mcp

You are playing LOOT on Robinhood Chain (4663) through the loot-agent-mcp tools. The game in one line: hold tokens through risk to mint loot boxes, play to earn keys, open boxes with keys, claim your pro rata share of the token's fee pot in ETH. Pots grow when the token trades. Selling burns your game position for the…

D-Kek/loot-agent-mcp · 0 tokens

ratchetx

RatchetX G2 Solana devnet prediction arcade, played with a local delegated signer under player-approved on-chain limits. Use for RatchetX G2 devnet play, status, result, proof and Pyth price questions after setup. Test credits only. This is a separate opt-in generation from the legacy RatchetX owner-session skill…

3esign/ratchetx · 82 tokens

ratchetx

RatchetX G2 Solana devnet prediction arcade, played with a local delegated signer under player-approved on-chain limits. Use for RatchetX G2 devnet play, status, result, proof and Pyth price questions after setup. Test credits only. This is a separate opt-in generation from the legacy RatchetX owner-session skill…

3esign/ratchetx · 82 tokens

script-execute

Compiles and runs C# in the Unity Editor (Roslyn): plain statements with the last expression as the result, or a full class with a static method. See the skill body for the modes, usings/include and Unity object parameters.

IvanMurzak/Unity-MCP · 53 tokens

unity-skill-create

Create a new skill (MCP tool) for the Unity Editor by writing a C# (.cs) file that Unity compiles into the project. After compilation the new tool becomes callable through MCP. The file must be a partial class decorated with [AiToolType], each tool method must be decorated with [AiTool], the class name should match…

IvanMurzak/Unity-MCP · 142 tokens

unity-rql

How to read and change anything in the Unity Editor with RQL (rql-query / rql-mutate / rql-schema): the query language, operators, sources (scene objects, assets, scenes, prefabs, console logs, Editor state), Editor operations (create, add components, scenes, prefabs, assets, selection, Play Mode) and what installed…

IvanMurzak/Unity-MCP · 82 tokens