prefab-workflow

prefab-workflow is a skill for Claude Code, Codex from TheArcForge/Hades. It costs 33 tokens per session (3,680 once invoked), scanned A, original, MIT.

Guidance for creating and editing Unity prefabs, reusable templates for game-object structures. It covers prefab mode, overrides, variants, nesting, and programmatic creation.

In plain words
What is it for?
Use it when creating, editing, instantiating, nesting, or batch-configuring Unity prefabs and their components.
Why use it?
It helps keep prefab changes consistent and clarifies whether to edit an existing prefab, create a variant, or make a new one.

Skill for Claude CodeCodex

Part of the hades plugin — 22 skills, 6 commands shipped together

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.

agentmods
npx agentmods add skills/thearcforge/hades/prefab-workflow
Any agent
npx skills add TheArcForge/Hades --skill prefab-workflow
Clone the repo
git clone --depth 1 https://github.com/TheArcForge/Hades

Made for: Claude Code, Codex.

Or install hades, the plugin that ships this one along with the rest of its 22 skills, 6 commands.

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 prefab-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/thearcforge/hades/prefab-workflow.svg)](https://agentmods.dev/skills/thearcforge/hades/prefab-workflow)
Your own site
<a href="https://agentmods.dev/skills/thearcforge/hades/prefab-workflow"><img src="https://agentmods.dev/badge/skills/thearcforge/hades/prefab-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,680 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00033 $0.03680
Opus 5 $0.00016 $0.01840
Sonnet 5 $0.00007 $0.00736
Haiku 4.5 $0.00003 $0.00368

Measured 4d ago against content hash 1fc6c8558f28, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

prefab-workflow 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 4d 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.

ClaudeCodePlugin/skills/prefab-workflow/SKILL.md · 417 lines

How it starts

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

Prefab Workflow

Procedural guide for creating, editing, and managing Unity prefabs. Covers PrefabUtility API for programmatic prefab creation, prefab mode vs in-scene editing, variant strategies, and how to use Hades graph queries to discover existing prefabs before authoring new ones.

When to Apply

Activate when the task involves:

  • Creating a new prefab asset from a scene object or from scratch
  • Deciding whether to create a new prefab vs a prefab variant vs modify an existing one
  • Editing a prefab's structure, components, or serialised values
  • Applying or reverting prefab instance overrides
  • Nesting prefabs inside other prefabs
  • Writing an editor script to batch-create or batch-configure prefab assets

Do NOT activate for deciding the overall prefab architecture (depth, variant strategy, data vs behaviour) — use hades:unity-architect and hades:prefab-architecture for that, then return here to execute.

Project Context Check

Before creating or modifying any prefab:

  1. Discover existing prefabs:

    • Call graph_query(edgeKind: "references", edgeTargetPath: "<path/to/Component.cs>") to check whether a prefab with the required component already exists — avoid duplicating assets (get the script's path from search_by_name first if you only have the class name)
    • Call search_by_name("*.prefab") for a full prefab inventory; narrow with search_by_name("Enemy*.prefab") or similar patterns when scope is known
    • Call recall_memory("prefab workflow conventions") to surface any documented team conventions about prefab folder structure, naming, or variant depth limits
  2. Adapt work based on findings:

    • If a matching prefab exists → extend it (variant or composition) rather than creating a parallel asset
    • If memory documents a max nesting depth (e.g. "no more than 2 levels of prefab nesting") → enforce it; flag to the user if a request would violate it
    • If this is a new prefab category not yet in memory → after completing the work, call propose_memory_update to record the convention

Read the full file on GitHub · 417 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. 4d ago First seen · 417 lines · 33 tokens per session scan A 1fc6c8558f28

Subscribe to this mod's changes

prefab-workflow is a skill published in the GitHub repository TheArcForge/Hades (27 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 3,680 once invoked, about $0.0002 per session on Opus 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.