aspid-enum-values

aspid-enum-values is a skill for Claude Code, Codex from VPDPersonal/Aspid.FastTools. It costs 87 tokens per session (1,107 once invoked), scanned A, original, MIT.

A Unity-serializable table that maps enum members to values, with a fallback value when no specific row matches. The table can be edited in the Unity Inspector and iterated in code.

In plain words
What is it for?
Use it for damage multipliers, colors, sounds, settings, or other data that varies by enum member, including flag-style lookups.
Why use it?
It replaces scattered per-enum fields or long switch statements with one data table. Designers can configure values without changing the code.

Skill for Claude CodeCodex

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

Good fit Use it for damage multipliers, colors, sounds, settings, or other data that varies by enum member, including flag-style lookups.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vpdpersonal/aspid.fasttools/aspid-enum-values
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-enum-values
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-enum-values

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vpdpersonal/aspid.fasttools/aspid-enum-values"><img src="https://agentmods.dev/badge/skills/vpdpersonal/aspid.fasttools/aspid-enum-values.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,107 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.00087 $0.01107
Opus 5.5 $0.00035 $0.00443
Sonnet 5.5 $0.00017 $0.00221
Haiku 4.5 $0.00009 $0.00111

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

Security

Grade A, and why

aspid-enum-values 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.

skills/aspid-enum-values/SKILL.md · 67 lines

How it starts

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

EnumValues

Namespace Aspid.FastTools.Enums. If the user's scripts have an .asmdef, add "Aspid.FastTools" to its references.

A read-only table of rows (enum member -> value) plus a Default Value returned when no row matches. Data comes only from Unity serialization: there is no Add, Remove, indexer or setter.

using Aspid.FastTools.Enums;
using UnityEngine;

public sealed class DamageConfig : ScriptableObject
{
    [SerializeField] private EnumValues<DamageType, float> _multipliers;

    public float GetMultiplier(DamageType type) => _multipliers.GetValue(type);
}
  • Default to EnumValues<TEnum, TValue> (typed, the key is checked at compile time). Use EnumValues<TValue> only when the asset author must pick the enum in the Inspector; GetValue(type) with a typed enum argument binds to GetValue<TEnum> and does not box the key, while a System.Enum variable binds to GetValue(Enum). Switching a field between the two keeps its data when the selected enum equals TEnum.
  • Rows are not created automatically. After adding a field, tell the user to set Default Value and add rows by hand or via right-click on the table header -> Populate Missing Enum Members. For enums without [Flags], only members whose value differs from the default need a row. A flags row set to Default Value can override a partial match. Populate skips [Obsolete] members and is unavailable while several objects are selected.
  • Code cannot fill a table (no Add, no constructor that takes rows). A field that replaces hard-coded values (a switch, constants) is empty on every existing object, and its Default Value is default(TValue) (0, null) until someone edits it. Keep the old fallback in code so nothing breaks meanwhile - _table.TryGetValue(key, out var v) ? v : 1f - and list the old values in the reply so the user can enter them.
  • foreach (var (key, value) in table) yields rows in list order (struct enumerator, no allocation; through IEnumerable<T> or LINQ the enumerator is boxed and allocates), never the default, and skips rows whose key no longer resolves. Count is the number of rows it yields.
  • table.TryGetValue(key, out var value) returns true when a row matches. value is the row's value, or Default Value on a miss, so it tells a missing row from a row equal to Default Value. EnumValues<TValue> also has TryGetValue<TEnum>.

Read the full file on GitHub · 67 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 Changed · +4 lines bca7fbf0290f
  2. 1mo ago Changed · +3 lines 128083fc1dd0
  3. 1mo ago Changed · +6 lines d52d5d9a48b3
  4. 1mo ago Changed 5bf593a782b4
  5. 2mo ago Changed · +2 lines fd0b3e5ba5b7
  6. 2mo ago First seen · 52 lines · 87 tokens per session scan A ab6518b5d8d1

Subscribe to this mod's changes

aspid-enum-values is a skill published in the GitHub repository VPDPersonal/Aspid.FastTools (27 stars, last pushed 4d ago), licensed MIT. It adds 87 tokens to every session and 1,107 once invoked, about $0.0003 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

aspid-enum-values compared with skills from other repositories

aspid-enum-values next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aspid-enum-valuesVPDPersonal/Aspid.FastToolsSkill274d agoMITA87Claude Code, Codex
test-designing-guidenowsprinting/unity-coding-skillsSkill20yesterdayUnlicenseA52Claude Code
test-writing-guidenowsprinting/unity-coding-skillsSkill20yesterdayUnlicenseA81Claude Code
edit-scenenowsprinting/unity-coding-skillsSkill20yesterdayUnlicenseA67Claude Code
run-testsnowsprinting/unity-coding-skillsSkill20yesterdayUnlicenseA130Claude Code
resolve-diagnosticsnowsprinting/unity-coding-skillsSkill20yesterdayUnlicenseA65Claude Code
unity-yaml-editing-guidenowsprinting/unity-coding-skillsSkill20yesterdayUnlicenseA113Claude Code