wave4-ijobparallelfor-array-transform

wave4-ijobparallelfor-array-transform is a skill for Claude Code from dyCuong03/unity-agent-team. It costs 27 tokens per session (501 once invoked), scanned A, original, MIT.

A Unity job pattern for applying the same independent operation to many items in a NativeArray, an efficient native array type. It divides the indexes among worker threads.

In plain words
What is it for?
Use it for large math-heavy array transformations where each element can be handled independently, such as scaling values or similar data processing.
Why use it?
It helps process large, independent arrays concurrently while showing when parallel work is unsafe or not worth its setup cost.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it for large math-heavy array transformations where each element can be handled independently, such as scaling values or similar data processing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dycuong03/unity-agent-team/wave4-ijobparallelfor-array-transform
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 wave4-ijobparallelfor-array-transform
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 wave4-ijobparallelfor-array-transform

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dycuong03/unity-agent-team/wave4-ijobparallelfor-array-transform"><img src="https://agentmods.dev/badge/skills/dycuong03/unity-agent-team/wave4-ijobparallelfor-array-transform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 501 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.00027 $0.00501
Opus 5.5 $0.00011 $0.00200
Sonnet 5.5 $0.00005 $0.00100
Haiku 4.5 $0.00003 $0.00050

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

Security

Grade A, and why

wave4-ijobparallelfor-array-transform 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/wave4-ijobparallelfor-array-transform/SKILL.md · 62 lines

How it starts

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

IJobParallelFor — Array Transform

Intent

Process large non-entity NativeArrays in parallel by distributing index ranges across worker threads.

Use When

  • Data is a raw NativeArray (not ECS entities/components) and each index is independent.
  • Large element counts (> ~1000) where parallel speedup exceeds scheduling overhead.
  • Math-heavy transforms where Burst + SIMD provide significant gains.

Avoid When

  • Data is ECS entities/components — use IJobEntity or IJobChunk.
  • Elements have cross-index dependencies.

Senior Pattern

[BurstCompile]
public struct ScaleJob : IJobParallelFor
{
    public NativeArray<float> Values;
    public float Scale;

    public void Execute(int index)
    {
        Values[index] *= Scale;
    }
}

// batchSize=64 is a common starting point; profile for your data size
state.Dependency = job.Schedule(myArray.Length, 64, state.Dependency);

Anti-Patterns

  • Writing to Values[index ± k] without [NativeDisableParallelForRestriction] — safety error.
  • Using [NativeDisableParallelForRestriction] to write arbitrary indices without proving no two workers write the same index — silent race.
  • batchSize of 1 for small arrays — thread dispatch overhead dominates.
  • batchSize equal to total length — equivalent to IJob, parallel overhead wasted.

Runtime Risks

  • Cross-index writes without the attribute produce incorrect results in Burst release builds (no bounds check).
  • batchSize too small causes excessive work-item overhead.

Performance Notes

  • batchSize 64 works well for float32 arrays; tune based on Profiler results.
  • SIMD auto-vectorization works best for simple arithmetic loops.
  • For entity data, prefer IJobEntity — IJobParallelFor is for non-entity NativeArrays only.

Architecture Guidance

Use for non-entity bulk array transforms: physics response buffers, audio sample processing, procedural mesh generation. For ECS entity data, always prefer IJobEntity or IJobChunk.

[[ijobentity-parallel-job]], [[job-dependency-chain]], [[burst-compilation-contract]]

Read the full file on GitHub · 62 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 · 62 lines · 27 tokens per session scan A 4f1f88809f8c

Subscribe to this mod's changes

wave4-ijobparallelfor-array-transform is a skill published in the GitHub repository dyCuong03/unity-agent-team (8 stars, last pushed 4mo ago), licensed MIT. It adds 27 tokens to every session and 501 once invoked, about $0.0001 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

wave4-ijobparallelfor-array-transform compared with skills from other repositories

wave4-ijobparallelfor-array-transform next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wave4-ijobparallelfor-array-transformdyCuong03/unity-agent-teamSkill84mo agoMITA27Claude Code
profilingkevinpbuckley/VibeUESkill847yesterdayMITA81Claude Code, Codex
game-performance-budgetmakifbaysal/tasktrooperSkill123todayApache-2.0A53Claude Code, Codex
unity-performance-and-gcmakifbaysal/tasktrooperSkill123todayApache-2.0A76Claude Code, Codex
web-game-performance-and-testingmakifbaysal/tasktrooperSkill123todayApache-2.0A87Claude Code, Codex
tune-performanceSummerEngine/summer-engine-agentSkill592mo agoMITA94Claude Code
technical-artistbuiphucminhtam/forgewrightSkill493d agononeA54Claude Code