| name | usdc-value-decoder |
| description | Use this skill when implementing or verifying USDC Crate value representation decoding. |
| metadata | {"author":"NVIDIA"} |
usdc-value-decoder
Use this skill when implementing or verifying USDC Crate value representation
decoding.
Spec Sources
- USD Core Spec Core File Formats section
Binary
- USD Core Spec Document Data Model field and value representation sections
contracts/value.schema.json
docs/usdc-spec-errata.md — pinned interpretations where the AOUSD prose is
ambiguous or diverges from real .usdc content. In particular: the
Array / Inlined / Compressed flag bits live in the high bits of byte 7 of
the 8-byte LE value-representation word (masks 0x80 / 0x40 / 0x20); a
decoder must not also accept the low-bit layout as a fallback.
Pinned commit: 6b4f01f2d6d46b01507481524eb516b4ef358c31
Provides
- Crate value representation decoding
- Token, string, and path index resolution
- Inlined scalar values
- Offset-backed scalar and array values
- Dictionaries
- Vectors used by first fixtures
- Authored listOp values
- Specifier and variability values
Contract
This skill converts low-level Crate value representations into the existing
canonical value shape used by contracts/value.schema.json.
It depends on usdc-binary-format for byte and buffer decoding, on
usd-tokens for token identity, on for canonical
value shapes, on for namespace path strings, and on
for listOp boundaries.