aspid-serializable-type

aspid-serializable-type is a skill for Claude Code, Codex from VPDPersonal/Aspid.FastTools. It costs 136 tokens per session (2,310 once invoked), scanned A, original, MIT.

A Unity editor tool for storing and choosing C# types in serialized fields, including selectable classes and components. It also supports choosing an implementation and keeping type data when scripts move or are renamed.

In plain words
What is it for?
Use it for configurable Unity systems such as selecting weapon classes, component subclasses, or implementations stored with SerializeReference.
Why use it?
Unity's Inspector does not provide a simple way to save a System.Type or choose among compatible classes. This gives designers an Inspector-based picker instead of requiring custom code or hard-coded choices.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for configurable Unity systems such as selecting weapon classes, component subclasses, or implementations stored with SerializeReference.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vpdpersonal/aspid.fasttools/aspid-serializable-type
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 VPDPersonal/Aspid.FastTools --skill aspid-serializable-type
Clone the repo
git clone --depth 1 https://github.com/VPDPersonal/Aspid.FastTools

Made for: Claude Code, Codex.

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 aspid-serializable-type

README.md
[![agentmods](https://agentmods.dev/badge/skills/vpdpersonal/aspid.fasttools/aspid-serializable-type/github.svg)](https://agentmods.dev/skills/vpdpersonal/aspid.fasttools/aspid-serializable-type)
Your own site
<a href="https://agentmods.dev/skills/vpdpersonal/aspid.fasttools/aspid-serializable-type"><img src="https://agentmods.dev/badge/skills/vpdpersonal/aspid.fasttools/aspid-serializable-type/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 aspid-serializable-type

Your own site · 80×15
<a href="https://agentmods.dev/skills/vpdpersonal/aspid.fasttools/aspid-serializable-type"><img src="https://agentmods.dev/badge/skills/vpdpersonal/aspid.fasttools/aspid-serializable-type.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,310 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.00136 $0.02310
Opus 5.5 $0.00054 $0.00924
Sonnet 5.5 $0.00027 $0.00462
Haiku 4.5 $0.00014 $0.00231

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

Security

Grade A, and why

aspid-serializable-type 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.

skills/aspid-serializable-type/SKILL.md · 130 lines

How it starts

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

Serializable types and [TypeSelector]

Namespace Aspid.FastTools.Types. If the user's scripts have an .asmdef, it must reference Aspid.FastTools (editor code using TypeField or TypeSelectorWindow also Aspid.FastTools.Editor).

Need Use
Store a type, create the instance in code SerializableType<T>
Same, but survive renaming/moving the class with its file SerializableMonoScript<T>
Picker on a string (stores the assembly-qualified name) or extra constraints [TypeSelector]
Store an instance with data of a chosen implementation [TypeSelector] + [SerializeReference]
Switch a MonoBehaviour/ScriptableObject to a sibling subclass ComponentTypeSelector, see references/more.md
Type dropdown in a custom inspector or editor window TypeField, see references/more.md
Open the picker from custom editor code TypeSelectorWindow.Show, see references/more.md
Fail a CI job on missing types or unset Required fields SerializeReferenceCiGate.RunCheck, see references/more.md
using System;
using System.Collections.Generic;
using Aspid.FastTools.Types;
using UnityEngine;

public sealed class Armory : MonoBehaviour
{
    [TypeSelector(Allow = TypeAllow.None)]                  // concrete classes only
    [SerializeField] private SerializableType<Weapon> _weaponClass;

    [TypeSelector(typeof(ITwoHanded), Allow = TypeAllow.None)]   // MeleeWeapon AND ITwoHanded
    [SerializeField] private SerializableType<MeleeWeapon> _heavy;

    [TypeSelector(typeof(Weapon), Required = true)]
    [SerializeField] private string _backupName;           // Type.GetType(_backupName)

    [TypeSelector(nameof(_weaponClass))]                    // constraint = current value of _weaponClass
    [SerializeField] private string _variantName;

    [TypeSelector(typeof(IMelee))]                          // IWeapon AND IMelee; implementations must be [Serializable]
    [SerializeReference] private IWeapon _primary;

    [TypeSelector]
    [SerializeReference] private List<IWeapon> _sidearms = new();

    private void Start()
    {
        Type type = _weaponClass;                           // implicit Type?, null when empty or unresolved
        if (type != null) Activator.CreateInstance(type);
    }
}

Read the full file on GitHub · 130 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +2 lines 645ddba1677e
  2. 5d ago Changed · +16 lines · +44 tokens per session 625d89383d8f
  3. 12d ago Changed · +2 lines edbe87ae5709
  4. 17d ago Changed · +14 lines 41ae292a794a
  5. 20d ago First seen · 96 lines · 92 tokens per session scan A ec714d096ecc

Subscribe to this mod's changes

aspid-serializable-type is a skill published in the GitHub repository VPDPersonal/Aspid.FastTools (24 stars, last pushed today), licensed MIT. It adds 136 tokens to every session and 2,310 once invoked, about $0.0005 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-09-26.

Related

Other skills, from other repositories

test-designing-guide

Provides test design methodology for Unity projects. Use this skill whenever designing test cases from requirements or specifications, including selecting test techniques, deriving test cases, and formatting them. Even for small features, load this skill to ensure test design rigor.

nowsprinting/unity-coding-skills · 52 tokens

test-writing-guide

Provides guidelines for writing test code for Unity projects. Make sure to use this skill whenever writing, creating, editing, or modifying test code files (files under Tests/). This includes implementing new tests, fixing test failures, adding test cases, or any task that results in test code changes. Even for small…

nowsprinting/unity-coding-skills · 81 tokens

edit-scene

Creates and modifies Unity scene and prefab files. Use this skill whenever creating, editing, or modifying .unity scene files or .prefab prefab files. This includes adding GameObjects, building uGUI hierarchies, wiring up components, and any task that results in changes to .unity or .prefab files.

nowsprinting/unity-coding-skills · 67 tokens

run-tests

Provides guidelines for running Unity tests using the rununitytests tool. Make sure to use this skill whenever running, executing, or re-running tests on the Unity editor. This includes verifying implementations, debugging test failures, running specific test assemblies, or any task that involves the rununitytests…

nowsprinting/unity-coding-skills · 130 tokens

resolve-diagnostics

Resolves IDE diagnostics (inspections and analyzer findings) at the warning or higher severity level for a given set of files, then applies the solution's code style. Use this skill when a workflow's refactoring step calls for resolving diagnostics, or when the user asks to fix warnings, inspections, or static…

nowsprinting/unity-coding-skills · 84 tokens

unity-yaml-editing-guide

Provides guidelines for directly editing Unity YAML-serialized asset files for Unity projects. Make sure to use this skill whenever creating, editing, or modifying simple YAML asset files (ScriptableObjects, Materials, etc.) via Edit/Write tools without going through the Unity Editor. This includes adjusting…

nowsprinting/unity-coding-skills · 113 tokens