pcg

pcg is a skill for Claude Code, Codex from kevinpbuckley/VibeUE. It costs 82 tokens per session (1,862 once invoked), scanned A, original, MIT.

A guide for creating procedural content graphs in Unreal Engine 5.7. Procedural content means computer-generated environments or objects made from connected processing steps.

In plain words
What is it for?
Use it to create and edit PCG graphs, add nodes such as surface samplers and mesh spawners, connect them, and generate content in a PCG volume.
Why use it?
It documents the correct Unreal Python operations and common connection, setting, caching, and reload requirements.

Skill for Claude CodeCodex

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

Good fit Use it to create and edit PCG graphs, add nodes such as surface samplers and mesh spawners, connect them, and generate content in a PCG volume.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevinpbuckley/vibeue/pcg
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 pcg
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 pcg

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevinpbuckley/vibeue/pcg"><img src="https://agentmods.dev/badge/skills/kevinpbuckley/vibeue/pcg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,862 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.00082 $0.01862
Opus 5.5 $0.00033 $0.00745
Sonnet 5.5 $0.00016 $0.00372
Haiku 4.5 $0.00008 $0.00186

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

Security

Grade A, and why

pcg 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.

Skills/pcg/SKILL.md · 182 lines

How it starts

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

PCG Skill

PCG (Procedural Content Generation) in UE 5.7 is production-ready and fully scriptable via the PCGPythonInterop plugin. No VibeUE service wrapper is needed — the Python API is complete.

⚠️ Read this before writing any code

These are the mistakes that cause infinite retry loops. Check each one before executing:

Do not call get_symbol or get_symbol on any PCG class — this skill contains everything you need. Calling discover bloats context and causes content filter failures.

  1. Volume Sampler input pin is "Volume", not "In" — add_edge(input_node, 'In', sampler_node, 'Volume'). Using 'In' silently no-ops and produces 0 points.
  2. voxel_size is a Vector, not a float — set_editor_property('voxel_size', unreal.Vector(200, 200, 200)). Passing a float raises a TypeError.
  3. graph property on PCGComponent is protected — use pcg_comp.set_graph(graph), never set_editor_property('graph', ...).
  4. After modifying a graph, always: save → reload → reassign → generate — skipping reload means the component runs the old cached version.
  5. Check for existing nodes before adding — always inspect [type(n.get_settings()).__name__ for n in graph.nodes] first. Adding a node type that already exists creates duplicates that break wiring.
  6. Always save AND reload after every change — call save_asset then reload_packages every time. Without the reload the PCG graph editor window won't update and users will think nothing happened.
  7. Use Volume Sampler for empty levels, not Surface Sampler — Surface Sampler requires geometry to sample from. An empty level has no geometry, so Surface Sampler always produces 0 points. Use PCGVolumeSamplerSettings with unbounded=True for empty or sparse levels.
  8. Never spawn test actors to verify meshes or materials — do not use spawn_actor_from_class to place test cubes. Verify by checking ISM instance counts on the PCGVolume instead: sum(c.get_instance_count() for c in volume.get_components_by_class(unreal.InstancedStaticMeshComponent)).

Read the full file on GitHub · 182 lines

Files

What ships with it

3 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. yesterday Changed · +8 lines 2753a665448f
  2. 3mo ago First seen · 174 lines · 82 tokens per session scan A 9005f85026d1

Subscribe to this mod's changes

pcg is a skill published in the GitHub repository kevinpbuckley/VibeUE (847 stars, last pushed yesterday), licensed MIT. It adds 82 tokens to every session and 1,862 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-08-30.

Related

pcg compared with skills from other repositories

pcg next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pcgkevinpbuckley/VibeUESkill847yesterdayMITA82Claude Code, Codex
animation-engineerbuiphucminhtam/forgewrightSkill492d agononeA71Claude Code
procedural-landscapesCK42BB/procedural-landscapes-threejsSkill149mo agoMITA154Claude Code, Codex
playtest-reportDonchitos/Claude-Code-Game-StudiosSkill42k21d agoMITA20Claude Code
godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skillsSkill13ktodayApache-2.0A93Claude Code
texture-workflowarjun988/blender-skillsSkill5.5k24d agoMITA41Claude Code
scenario-unreal-gameplayscenario-labs/skillsSkill4.4ktodayMITA121Claude Code