UniClaude: Command for Claude Code

.claude/commands/adopt-skills.md

adopt-skills is a command for Claude Code from TheArcForge/UniClaude. It costs 16 tokens per session (1,863 once invoked), scanned A, original, MIT.

A command for adding UniClaude’s Unity development rules to a project or shared CLAUDE.md configuration file. Unity is a tool for building games and interactive applications.

In plain words
What is it for?
Use it when adopting rules about Unity’s main-thread requirements, data saving, script startup order, reload behavior, and cleanup.
Why use it?
It saves developers from copying these project rules by hand and helps establish consistent guidance for Unity code.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is TheArcForge/UniClaude's own configuration. It tells Claude Code how to work on UniClaude itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything UniClaude configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TheArcForge/UniClaude. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TheArcForge/UniClaude/main/.claude/commands/adopt-skills.md
Clone the repo
git clone --depth 1 https://github.com/TheArcForge/UniClaude

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 adopt-skills

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/thearcforge/uniclaude/adopt-skills"><img src="https://agentmods.dev/badge/commands/thearcforge/uniclaude/adopt-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,863 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.00016 $0.01863
Opus 5.5 $0.00006 $0.00745
Sonnet 5.5 $0.00003 $0.00373
Haiku 4.5 $0.00002 $0.00186

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

Security

Grade A, and why

adopt-skills 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 2mo 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/commands/adopt-skills.md · 168 lines

How it starts

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

You are helping the user adopt UniClaude's Unity development rules into their CLAUDE.md configuration.

UniClaude Unity Skills

Below is the Unity guidance that ships with UniClaude. This is the content to be adopted:

These rules apply when working in a Unity project with UniClaude installed.

Unity Rules

  • Threading: Unity API calls must happen on the main thread. Never use Task.Run(), ThreadPool, or background threads for Unity API calls.
  • Serialization: Use [SerializeField] for private fields. Add [System.Serializable] to nested classes/structs. Properties are never serialized. public fields serialize by default — prefer [SerializeField] private instead.
  • Domain Reload: Static fields reset when scripts recompile. Use [InitializeOnLoad] or [InitializeOnEnterPlayMode] to re-initialize. Use SessionState (session-scoped) or EditorPrefs (persistent) for Editor state that must survive reloads.
  • Lifecycle: Execution order is Awake -> OnEnable -> Start. Do not assume Start has run inside OnEnable. Clean up subscriptions and resources in OnDisable/OnDestroy.
  • Unity Null: Unity overloads == null for destroyed objects. Never use is null or is not null — these bypass the overload and return incorrect results for destroyed objects.
  • Editor vs Runtime: Editor-only code must be in an Editor/ assembly definition or guarded with #if UNITY_EDITOR. Never reference UnityEditor namespace from runtime assemblies.
  • Assembly Definitions: Required for packages. They control compilation order and reference visibility. Editor-only asmdefs must have platform set to Editor only.

MCP Tool Priority

Before modifying any Unity asset, scene, prefab, or component through file edits, check if a UniClaude MCP tool can do it directly. MCP tools handle undo registration, correct serialization, and domain reload batching — file edits do not.

If you need a Unity Editor action and are not sure which tool handles it, describe what you need and ask the user — do not guess with file edits.

Read the full file on GitHub · 168 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. 2mo ago First seen · 168 lines · 16 tokens per session scan A 012c2a95fdd9

Subscribe to this mod's changes

adopt-skills is a command published in the GitHub repository TheArcForge/UniClaude (52 stars, last pushed 5mo ago), licensed MIT. It adds 16 tokens to every session and 1,863 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-08-30.