ue5-cpp-gameplay

ue5-cpp-gameplay is a skill for Codex from teixasalone/UnrealEngine5-Skills. It costs 63 tokens per session (1,165 once invoked), scanned A, a copy of ue5-cpp-gameplay, MIT.

A guide for implementing gameplay code in C++ for Unreal Engine 5.6 and 5.7. It covers actors, components, data assets, multiplayer replication, gameplay tags, and connections to visual Blueprint scripting.

In plain words
What is it for?
Use it when creating Unreal Engine header and source files for gameplay systems or reusable components.
Why use it?
It helps keep Unreal gameplay code consistent by defining the needed interfaces, ownership rules, networking behavior, and validation steps.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when creating Unreal Engine header and source files for gameplay systems or reusable components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/teixasalone/unrealengine5-skills/ue5-cpp-gameplay
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 teixasalone/UnrealEngine5-Skills --skill ue5-cpp-gameplay
Clone the repo
git clone --depth 1 https://github.com/teixasalone/UnrealEngine5-Skills

Made for: 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 ue5-cpp-gameplay

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/teixasalone/unrealengine5-skills/ue5-cpp-gameplay"><img src="https://agentmods.dev/badge/skills/teixasalone/unrealengine5-skills/ue5-cpp-gameplay.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,165 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 100% copy Near-identical to another mod 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.00063 $0.01165
Opus 5 $0.00032 $0.00583
Sonnet 5 $0.00013 $0.00233
Haiku 4.5 $0.00006 $0.00117

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

Security

Grade A, and why

ue5-cpp-gameplay 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 9d 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.

Origin

This is a copy

100% identical to ue5-cpp-gameplay — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/ue5-cpp-gameplay/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.

Quick Start

  • Confirm target class type (AActor, UActorComponent, UObject, USaveGame, etc.).
  • Define required Blueprint-facing API before implementation.
  • Output both header and source files together.

UE5.7 API Anchors

  • Reflection and UObject anchors:
    • UCLASS, USTRUCT, UENUM, UINTERFACE, GENERATED_BODY()
    • UPROPERTY(...), UFUNCTION(...)
  • Core gameplay type anchors:
    • AActor, UActorComponent, UDataAsset, UGameInstanceSubsystem
    • TObjectPtr<> in headers and TSubclassOf<> for class references
  • Replication anchors:
    • GetLifetimeReplicatedProps(...)
    • DOREPLIFETIME(...) in Net/UnrealNetwork.h
    • ReplicatedUsing=OnRep_*, UFUNCTION(Server/Client/NetMulticast, ...)
  • Gameplay tag anchors:
    • FGameplayTag, FGameplayTagContainer
    • explicit tag request/match checks with safe fallback behavior

Implementation Stage Contract

  • Every gameplay C++ task must define:
    • Public header API surface (Blueprint/API visibility)
    • Private runtime implementation path (.cpp)
    • Ownership/lifetime model (constructor, init, teardown)
    • Network authority rules (single-player only or replicated flow)
    • Validation method (compile assumptions, usage examples, edge-case behavior)
  • If any item is missing, the implementation spec is incomplete.

Workflow

1) Type and File Shape

  • Create type declarations with Unreal macros and UE5 pointer conventions (TObjectPtr in headers).
  • Produce paired .h and .cpp with forward declarations in header and concrete includes in source.
  • Keep class responsibility narrow and reusable.

2) Public API Design

  • Define Blueprint API (BlueprintCallable, BlueprintPure, categories, metadata) before implementation.
  • Expose minimal callable surface; keep helper methods non-UFUNCTION unless needed.
  • Declare clear input/output contracts and failure behavior.

3) Runtime Implementation

  • Implement logic in .cpp with null checks, authority guards, and explicit branch behavior.
  • Keep tick usage opt-in; prefer event-driven updates.
  • Handle initialization order (BeginPlay, InitializeComponent, or subsystem init) explicitly.

Read the full file on GitHub · 101 lines

Files

What ships with it

4 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. 9d ago First seen · 101 lines · 63 tokens per session scan A 66fb3435b69d

Subscribe to this mod's changes

ue5-cpp-gameplay is a skill published in the GitHub repository teixasalone/UnrealEngine5-Skills (17 stars, last pushed 2d ago), licensed MIT. It adds 63 tokens to every session and 1,165 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to ue5-cpp-gameplay, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

ue5-cpp-gameplay

UE5.6/UE5.7 gameplay C++ implementation for Actors, Components, DataAssets, and gameplay logic. Use when requests ask to write .h/.cpp pairs, expose UPROPERTY/UFUNCTION to Blueprint, use GameplayTags, or build reusable component-based systems.

IvanYangYangXi/artclaw_bridge · 63 tokens

zoom-meeting-sdk-unreal

Zoom Meeting SDK for Unreal Engine wrapper integrations. Use when building Unreal projects that embed Zoom meetings with C++ and Blueprint wrappers, including wrapper-to-SDK mapping concerns.

anthropics/knowledge-work-plugins · 41 tokens

unreal-cpp-gameplay

Write Unreal Engine 5 C++ gameplay code: the UCLASS/UPROPERTY/UFUNCTION reflection macros, the Gameplay Framework (GameMode, Pawn, Character, PlayerController, Actor components), and the module Build.cs. Use when writing or debugging UE C++, deriving from AActor/ACharacter/ AGameModeBase, exposing properties to the…

gamedev-skills/awesome-gamedev-agent-skills · 105 tokens

unreal-development

Unreal Engine development: C++/Blueprint patterns, Gameplay Framework, Niagara, Lumen/Nanite, multiplayer, and packaging.

CoWork-OS/CoWork-OS · 31 tokens

ue-mcp-native-cpp

Use when writing or modifying native C++ UCLASSes in an Unreal project via ue-mcp. Covers createcppclass → writecppfile → livecodingcompile loop, when to use build vs Live Coding, and the addmoduledependency workflow. Pulls in any time the user asks to write a new native class, add a UPROPERTY, or implement a…

db-lyon/ue-mcp · 83 tokens

unreal-live-coding

Trigger Live Coding compilation via UCP. Use when the user asks to recompile C++ code, trigger live coding, hot reload C++ changes, or check compilation status in Unreal Engine.

Italink/UnrealClientProtocol · 44 tokens