ecb-multiplayback

ecb-multiplayback is a skill for Claude Code from dyCuong03/unity-agent-team. It costs 42 tokens per session (654 once invoked), scanned A, original, MIT.

A Unity Entity Command Buffer setup that stores entity commands and replays the same commands more than once. It is intended for subscene streaming, where a subscene is a streamed part of a game world.

In plain words
What is it for?
Use it to create entities or apply other deferred entity changes on every subscene load, then dispose of the persistent buffer when it is no longer needed.
Why use it?
It avoids rebuilding the same entity-creation commands every time a streamed subscene loads, while keeping the buffer alive for repeated playback.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to create entities or apply other deferred entity changes on every subscene load, then dispose of the persistent buffer when it is no longer needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dycuong03/unity-agent-team/ecb-multiplayback
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 dyCuong03/unity-agent-team --skill ecb-multiplayback
Clone the repo
git clone --depth 1 https://github.com/dyCuong03/unity-agent-team

Made for: Claude Code.

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 ecb-multiplayback

README.md
[![agentmods](https://agentmods.dev/badge/skills/dycuong03/unity-agent-team/ecb-multiplayback/github.svg)](https://agentmods.dev/skills/dycuong03/unity-agent-team/ecb-multiplayback)
Your own site
<a href="https://agentmods.dev/skills/dycuong03/unity-agent-team/ecb-multiplayback"><img src="https://agentmods.dev/badge/skills/dycuong03/unity-agent-team/ecb-multiplayback/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 ecb-multiplayback

Your own site · 80×15
<a href="https://agentmods.dev/skills/dycuong03/unity-agent-team/ecb-multiplayback"><img src="https://agentmods.dev/badge/skills/dycuong03/unity-agent-team/ecb-multiplayback.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 654 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.00042 $0.00654
Opus 5.5 $0.00017 $0.00262
Sonnet 5.5 $0.00008 $0.00131
Haiku 4.5 $0.00004 $0.00065

Measured 11d ago against content hash 4377668d76c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ecb-multiplayback 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.

.claude/skills/unity-dots/ecb-multiplayback/SKILL.md · 67 lines

How it starts

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

ECB MultiPlayback — Reusable Command Buffers

Intent

Create a reusable ECB with PlaybackPolicy.MultiPlayback that can be played back multiple times — for streaming scenarios where the same entity creation sequence must execute on every subscene load.

Use When

Subscene streaming systems that must replay a fixed set of entity creation commands each time a section loads. Any pattern where an ECB is serialised into a component and replayed on demand.

Avoid When

The ECB is only played back once — SinglePlayback (the default) is sufficient and cheaper. Avoid Allocator.Temp or TempJob for MultiPlayback ECBs — they must use Allocator.Persistent.

Senior Pattern

  • new EntityCommandBuffer(Allocator.Persistent, PlaybackPolicy.MultiPlayback) — persistent lifetime, multi-replay safe.
  • Store the ECB in a component field (e.g., struct PostLoadCommandBuffer : IComponentData { public EntityCommandBuffer CommandBuffer; }).
  • Call ecb.Playback(entityManager) on each subscene load event.
  • Dispose the ECB explicitly when the owning entity is destroyed (OnDestroy hook or cleanup system).

Code Template

public struct SectionPostLoadCommands : IComponentData
{
    public EntityCommandBuffer CommandBuffer;
}

// At bake time or init: create the reusable ECB
var ecb = new EntityCommandBuffer(Allocator.Persistent, PlaybackPolicy.MultiPlayback);
var setupEntity = ecb.CreateEntity();
ecb.AddComponent(setupEntity, new SectionConfig { TileOffset = offset });
state.EntityManager.AddComponentData(sectionEntity,
    new SectionPostLoadCommands { CommandBuffer = ecb });

// On each section load:
var commands = SystemAPI.GetComponent<SectionPostLoadCommands>(sectionEntity);
commands.CommandBuffer.Playback(state.EntityManager);

// On section unload / entity destroy:
commands.CommandBuffer.Dispose();

Anti-Patterns

  • Using PlaybackPolicy.SinglePlayback (default) and calling Playback twice — second call throws a safety exception.
  • Using Allocator.Temp or TempJob with MultiPlayback — the ECB is freed before the second playback.
  • Forgetting to Dispose a Persistent ECB — memory leak that persists until world destruction.
  • Using MultiPlayback for a single-use ECB — unnecessary overhead and complexity.

Read the full file on GitHub · 67 lines

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 · 67 lines · 42 tokens per session scan A 4377668d76c4

Subscribe to this mod's changes

ecb-multiplayback is a skill published in the GitHub repository dyCuong03/unity-agent-team (7 stars, last pushed 2mo ago), licensed MIT. It adds 42 tokens to every session and 654 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-10-02.

Related

Other skills, from other repositories

playtest-report

Structured playtest report template, or turn existing playtest notes into structured feedback.

Donchitos/Claude-Code-Game-Studios · 20 tokens

gameobject-component-destroy

Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.

IvanMurzak/Unity-MCP · 49 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

godot-signals-groups

Build event-driven, decoupled Godot 4.7 gameplay with signals and node groups: declare and emit custom signals, connect with Callables (incl. bind/one-shot), and broadcast to many nodes via groups and callgroup. Use when wiring node communication in a Godot project, replacing tight references with signals…

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

unity-addressables

Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).

Besty0728/Unity-Skills · 25 tokens

motion

Reconstruct a skeleton from calibrated mesh projections and sequential VLM joint annotations, then fit joints and skin weights. Generate motion from joint-position trajectories, rhythm and contact constraints through IK; refine bone orientation against the action, then export, retarget and validate on the target mesh.

OpenDCAI/GameFactory-3A · 0 tokens