blob-asset-in-baker

blob-asset-in-baker is a skill for Claude Code from dyCuong03/unity-agent-team. It costs 47 tokens per session (921 once invoked), scanned A, original, MIT.

A Unity ECS baking pattern for turning read-only data into an immutable blob asset. A baker prepares the data when authoring content is converted, and runtime components keep a reference to it.

In plain words
What is it for?
Use it for shared animation curves, configuration tables, mesh bounds, spell data, navigation tables, and other read-only collections.
Why use it?
It avoids duplicating large constant data across entities and keeps that data safe for Burst-compiled jobs. It also makes clear that blob data cannot be changed at runtime.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it for shared animation curves, configuration tables, mesh bounds, spell data, navigation tables, and other read-only collections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dycuong03/unity-agent-team/blob-asset-in-baker
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 blob-asset-in-baker
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 blob-asset-in-baker

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dycuong03/unity-agent-team/blob-asset-in-baker"><img src="https://agentmods.dev/badge/skills/dycuong03/unity-agent-team/blob-asset-in-baker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 921 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.00047 $0.00921
Opus 5.5 $0.00019 $0.00368
Sonnet 5.5 $0.00009 $0.00184
Haiku 4.5 $0.00005 $0.00092

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

Security

Grade A, and why

blob-asset-in-baker 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.

.claude/skills/unity-dots/blob-asset-in-baker/SKILL.md · 87 lines

How it starts

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

Blob Asset in Baker

Intent

Build immutable, Burst-safe, shareable constant data blobs at bake time using BlobBuilder, register them with BlobAssetStore for lifetime management, and store BlobAssetReference in a runtime component.

Use When

Large constant data shared by multiple entities or per-entity (animation curves, config tables, mesh bounds, spell data, nav tables). Any read-only data that does not change at runtime and benefits from shared memory or Burst-safe access.

Avoid When

The data changes at runtime — blobs are immutable. Avoid for small scalar constants — just put them in the component directly. Avoid storing BlobArray by value outside of a BlobAssetReference.

Senior Pattern

  • Define a struct with BlobArray, BlobString, or nested BlobPtr fields for the blob shape.
  • In Baker: using var blobBuilder = new BlobBuilder(Allocator.Temp) — dispose scope ensures cleanup.
  • ref var root = ref blobBuilder.ConstructRoot<MyBlobData>() — root allocation.
  • var array = blobBuilder.Allocate(ref root.MyArray, count) — allocate BlobArray.
  • blobBuilder.CreateBlobAssetReference<MyBlobData>(Allocator.Persistent) — create the reference.
  • AddBlobAsset(ref blobRef, out _) — registers with BlobAssetStore, enables deduplication and lifetime management.
  • Store BlobAssetReference<MyBlobData> in a component field.

Code Template

public struct AnimationBlobData
{
    public BlobArray<float> Keyframes;
    public float Duration;
    public int FrameCount;
}

class Baker : Baker<AnimationAuthoring>
{
    public override void Bake(AnimationAuthoring authoring)
    {
        DependsOn(authoring.AnimationCurve);  // register dependency first

        var entity = GetEntity(TransformUsageFlags.Dynamic);

        using var builder = new BlobBuilder(Allocator.Temp);
        ref var root = ref builder.ConstructRoot<AnimationBlobData>();
        root.Duration = authoring.AnimationCurve.length > 0
            ? authoring.AnimationCurve.keys[^1].time : 0f;
        root.FrameCount = authoring.AnimationCurve.length;

        var keyframes = builder.Allocate(ref root.Keyframes, root.FrameCount);
        for (int i = 0; i < root.FrameCount; i++)
            keyframes[i] = authoring.AnimationCurve.keys[i].value;

        var blobRef = builder.CreateBlobAssetReference<AnimationBlobData>(Allocator.Persistent);
        AddBlobAsset(ref blobRef, out _);

        AddComponent(entity, new AnimationData { Blob = blobRef });
    }
}

Read the full file on GitHub · 87 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. 1mo ago First seen · 87 lines · 47 tokens per session scan A c5c792ebb41c

Subscribe to this mod's changes

blob-asset-in-baker is a skill published in the GitHub repository dyCuong03/unity-agent-team (8 stars, last pushed 4mo ago), licensed MIT. It adds 47 tokens to every session and 921 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

blob-asset-in-baker compared with skills from other repositories

blob-asset-in-baker next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
blob-asset-in-bakerdyCuong03/unity-agent-teamSkill84mo agoMITA47Claude Code
godot-csharpgamedev-skills/awesome-gamedev-agent-skillsSkill13kyesterdayApache-2.0A111Claude Code
unity-csharp-scriptinggamedev-skills/awesome-gamedev-agent-skillsSkill13kyesterdayApache-2.0A91Claude Code
scenario-unity-architecturescenario-labs/skillsSkill4.4kyesterdayMITA133Claude Code
gdextensionjame581/GodotPrompterSkill1.0kyesterdayMITA38Claude Code
unity-vrc-udon-sharpniaka3dayo/agent-skills-vrc-udonSkill37320d agoMITA210Claude Code
unity-developmentCoWork-OS/CoWork-OSSkill559todayMITA36Claude Code, Codex