[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A4709RVNNTP675XFPH8K1D":3,"skill-same:01M7A4709RVNNTP675XFPH8K1D":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M7A4709RVNNTP675XFPH8K1D","simready-foundation-conform-fet-010-standard",null,"Use for repairing exact FET_010_STANDARD SimReady conformance for display colour (`primvars:displayColor`) on renderable geometry. Use when a profile, validation report, or user request names FET_010_STANDARD, DISP.001 or DISP.002; default to version `0.1.0` unless a profile or report pins another version.","leemiracle\u002Fwork4ai","leemiracle","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10385913?v=4","01M79YCHARF56CHMGGTECMZN8Z","lee","01M79YCHBY9VH2CJW4P65D3DHR",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fleemiracle\u002Fwork4ai\u002Fblob\u002Fmain\u002F讲透宇宙\u002F05-侦\u002F讲透NVIDIA\u002Fsimready-foundation\u002Frepo-docs\u002F.agents\u002Fskills\u002Fsimready-foundation-conform-fet-010-standard\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: simready-foundation-conform-fet-010-standard\ndescription: \"Use for repairing exact FET_010_STANDARD SimReady conformance for display colour (`primvars:displayColor`) on renderable geometry. Use when a profile, validation report, or user request names FET_010_STANDARD, DISP.001 or DISP.002; default to version `0.1.0` unless a profile or report pins another version.\"\nlicense: Apache-2.0\nmetadata:\n  author: \"Jens Jebens \u003Cjjebens@nvidia.com>\"\n  tags:\n    - simready\n    - conformance\n    - display-color\n---\n\n# SimReady Conform FET_010_STANDARD\n\n## Purpose\n\nUse this exact feature skill when the selected profile, validation report, or user request\nnames `FET_010_STANDARD`. It authors or repairs `primvars:displayColor` on renderable\ngeometry without touching the shaded surfaces, which are the sibling contracts\n`FET_006_STANDARD` (UsdPreviewSurface), `FET_006_MDL` and `FET_006_OPENPBR`.\n\nDefault to `FET_010_STANDARD@0.1.0` when the user asks for this feature without a\nversion. Use another version only when the profile, validation report, or user explicitly\npins it. If the report names a different `FET_###_RUNTIME` feature, switch to that feature's\nmatching skill before editing.\n\nDisplay colour is the appearance layer available to a consumer that does not evaluate\nmaterials, so it is repaired independently of them and can be repaired on an asset that has\nno material at all. What it cannot do is invent one: the colour is derived from a bound\nmaterial, and geometry with nothing to derive from is reported rather than given a guess.\n\n## Source of Truth\n\nBefore changing an asset or package, read:\n\n- `nv_core\u002Ftiers\u002Fsimready_foundation_tier_core\u002Fsimready\u002Ffoundation\u002Ftier_core\u002Ffeatures\u002FFET_010_STANDARD-0.1.0.json`\n- `nv_core\u002Ftiers\u002Fsimready_foundation_tier_core\u002Fsimready\u002Ffoundation\u002Ftier_core\u002Ffeatures\u002FFET_010_STANDARD.md`\n- `nv_core\u002Ftiers\u002Fsimready_foundation_tier_core\u002Fsimready\u002Ffoundation\u002Ftier_core\u002Fcapabilities\u002Fvisualization\u002Fdisplay_color\u002Frequirements\u002Fdisplay-color-coverage.md` (DISP.001)\n- `nv_core\u002Ftiers\u002Fsimready_foundation_tier_core\u002Fsimready\u002Ffoundation\u002Ftier_core\u002Fcapabilities\u002Fvisualization\u002Fdisplay_color\u002Frequirements\u002Fdisplay-color-values.md` (DISP.002)\n\nTreat the JSON manifest as authoritative for requirement IDs. Use the feature markdown for\ncontract details, requirement links, samples and benchmarks. The Display Color capability\nand its feature manifest land with the capability change; if they are not on the branch you\nare working from, read them from the branch that introduces them before editing an asset.\n\n## Feature Versions\n\n| Version | Dependencies | Requirements |\n|---|---|---|\n| `0.1.0` | None | `DISP.001`, `DISP.002`, `DISP.003` |\n\n`DISP.003` covers `primvars:displayOpacity`, which is optional and which this skill does not\nauthor. An asset that carries no display opacity satisfies it.\n\n## Bundled script\n\n`assets\u002Fscripts\u002Fauthor_display_color.py` authors a constant `primvars:displayColor` on every\nrenderable Gprim, derived from the material bound to that Gprim.\n\n```bash\n# report DISP.001, DISP.002 and DISP.003 conformance, change nothing\npython author_display_color.py \u003Cpath> --verify\n\n# show what would change\npython author_display_color.py \u003Cpath> --dry-run\n\n# author, sampling base colour maps\npython author_display_color.py \u003Cpath>\n\n# author from material constants only, never opening a texture\npython author_display_color.py \u003Cpath> --no-textures\n\n# author into each Gprim's material:binding layer, which reaches instanced geometry\npython author_display_color.py \u003Cpath> --edit-target binding\n```\n\n### Options\n\n| Option | Default | What it does |\n|---|---|---|\n| `--verify` | off | Report `DISP.001`, `DISP.002` and `DISP.003`. Writes nothing. |\n| `--dry-run` | off | Report what a run would author. Writes nothing. |\n| `--textures` | **on** | Sample base colour maps over the bound faces. Naming it changes nothing; it is the default. |\n| `--no-textures` | off | Derive from material constants only, never opening a texture. |\n| `--edit-target stage` | **default** | Author on the composed stage. Geometry inside an instance is out of reach. |\n| `--edit-target binding` | off | Author into the layer holding each Gprim's `material:binding`, which is where instanced geometry can be written at all. |\n\n`--edit-target binding` is what a referenced or instanced asset needs. On the Audi A6\nvehicle sample the default reaches 5 renderable Gprims and leaves 16 inside 9 prototypes\nuntouched; `binding` reaches all of them, authoring 15 opinions that 17 Gprims resolve,\nbecause instances share one.\n\n`\u003Cpath>` is a USD file or a directory, which is searched for `simready_usd` assets. The\nscript needs USD Python (`pip install usd-core`). Sampling additionally needs `numpy` and\n`Pillow`; without them the script says so and falls back to `--no-textures` behaviour, which\non this library authors almost nothing. See **What `--no-textures` actually gives you** below.\n\n`--verify` and `--dry-run` are rejected together. `--verify` already changes nothing, so\n`--dry-run` alongside it would guard a run that was never going to write; the script says\nwhich flag to drop rather than accepting the pair and ignoring one.\n\nIt is safe to re-run. Every value is re-derived from scratch on each pass and the derivation\nis deterministic, so a second run over an unchanged asset leaves the same colour on the same\nprim. Sampling uses a fixed stratified point set rather than a random one for exactly this\nreason: a random sequence would move every value slightly on every pass and rewrite all\nfourteen sample assets each time. Re-running still rewrites the binary layer, so compare\nflattened USD rather than file hashes when checking that a re-run changed nothing.\n\nExit codes, so a script driving this can tell a crash from a finding:\n\n| Code | Meaning |\n|---|---|\n| `0` | clean |\n| `1` | `--verify` found DISP.001, DISP.002 or DISP.003 problems |\n| `2` | bad arguments, or no USD assets under the given paths |\n| `3` | at least one asset could not be read or raised |\n\nAn asset that raises is reported as `ERROR` with its traceback on stderr, and the walk\ncarries on to the rest.\n\n### What `--verify` checks\n\nWhether a renderable Gprim resolves a display colour at all; whether the resolved value\ncarries the `color3f[]` that `UsdGeomGprim` declares, including the two ways a scalar gets\npast a type check (authored on an enclosing `Xform`, or authored on the Gprim itself, where\nthe schema's own type name hides it); component range and finiteness; element count against\nthe declared interpolation and the prim's topology; and, on an indexed primvar, the index\ncount against topology and every index against the value array. Where a primvar carries only\ntime samples, the earliest authored sample is what gets checked, which is what DISP.002 says.\n\n`primvars:displayOpacity` is checked on the same terms, so DISP.003 is reported even though\nthis skill never authors it. A preflight that says `ok` on an asset the capability validator\nfails is worse than no preflight.\n\nAll of it is transcribed from the capability validator at\n`nv_core\u002Ftiers\u002Fsimready_foundation_tier_core\u002Fsimready\u002Ffoundation\u002Ftier_core\u002Fcapabilities\u002Fvisualization\u002Fdisplay_color\u002Fvalidation.py`,\nwhich a standalone run cannot import: it needs `simready.foundation.tier_core.requirements`\nand `usd_validation_nvidia`, and their absence is why this preflight exists. Each function in the script names the validator\nmethod it mirrors. Change one, change the other.\n\n### Which layer the primvar is authored in\n\nUnder `--edit-target binding`, the layer holding the strongest binding opinion for that\nGprim, resolved through `UsdShade.MaterialBindingAPI` so a binding authored per purpose\n(`material:binding:full`, `material:binding:preview`) counts the same as a plain one.\nWhere the geometry carries no binding of its own, an ancestor's is used: the primvar is\nauthored with `constant` interpolation, which inherits down namespace. Display colour is an attribute, so it belongs where this asset's existing\nopinion about the prim's appearance is expressed -- which is not always where the prim is\ndefined, since a stronger layer often holds an `over` for a transform or visibility and\nsays nothing about appearance.\n\nIt also resolves instancing. A Gprim reached through an instance proxy cannot be authored\nat the path it appears on, and its prototype path is not persistent. The binding's\nproperty spec names both the layer and the path within it, which is where the opinion has\nto go for every instance to inherit it. Reading that property stack needs the prim inside\nthe prototype: through the proxy the stack reads empty, which looks like a material with\nno binding at all.\n\n### Where the primvar is authored\n\nOn each renderable Gprim, with `constant` interpolation and one element.\n\nDISP.001 permits authoring once on an ancestor and letting `UsdGeomPrimvarsAPI` inheritance\ncarry it down. That is the better shape when one colour covers the whole asset, and it is\nthe wrong shape here: the colour is derived per bound material, and every multi-material\nsample in this library would collapse to a single asset-wide average. The toaster's chrome\ntray resolves `(0.379, 0.373, 0.359)` and its plastic lever `(0.012, 0.012, 0.012)`; one\nancestor value cannot hold both. DISP.001's guidance to leave descendants unauthored applies\nto restating the same value, which is not the case when the values differ.\n\n`constant` rather than `uniform` is a deliberate loss. A Gprim can carry several materials\nthrough `materialBind` GeomSubsets, and the toaster's body is one Mesh with 8,008 plastic\nfaces and 12,356 metal ones. `uniform` interpolation would give each face its own colour and\nhold both exactly. It would also add 20,364 colour values to one mesh in an LFS-tracked\nbinary, and only `constant` primvars are inheritable, so the value would stop working if the\nasset were later restructured to author once on an ancestor. The script takes the\narea-weighted mean of the materials on the Gprim instead, and reports each contribution so\nthe blend is visible rather than silent.\n\nMaterial bindings are irrelevant to whether the value survives. The FET006 render benchmark\nstrips every binding before it measures, and primvars are untouched by that.\n\n### What the colour is derived from\n\nThe base colour of the bound material, resolved through the surface outputs in this order:\n\n| Order | Surface | Input |\n|---|---|---|\n| 1 | `outputs:mtlx:surface` (OpenPBR) | `base_color` |\n| 2 | `outputs:surface` (UsdPreviewSurface) | `diffuseColor` |\n| 3 | `outputs:mdl:surface` (OmniPBR) | `diffuse_texture`, `diffuse_color_constant` |\n| 3 | `outputs:mdl:surface` (OmniGlass) | `glass_color_texture`, `glass_color` |\n\nOpenPBR comes first because it is the final surface the material declares, so where one is\nauthored it carries the intent and the preview surface below it is the compatibility\nfallback. The order is strict: a hand-tuned OpenPBR constant wins over a legacy preview\ntexture rather than being averaged with it.\n\nWithin a tier a texture beats a constant. Where a source drives base colour from a map, the\nconstant sitting beside it is usually the exporter's neutral default rather than the colour\nthe material shows.\n\nOn the migrated samples the first two tiers agree exactly, which is the expected result\nrather than a coincidence: the OpenPBR migration carried the same diffuse map onto\n`base_color` that the preview surface already read. Running this script before and after\nthat migration produces identical display colours.\n\n`base_color` on an OpenPBR surface is followed through the reference topology the migration\nwrites, so the file is read from the `Material`'s `*_texture_file` interface input rather\nthan from the reader node. An OmniGlass source is read through `glass_color` because that is\nwhat it calls its base colour.\n\n### Reducing a texture to one colour\n\nA constant primvar holds one colour and `base_color` is usually a map, so the map is reduced\nto a single value: **the mean of the texels the bound geometry actually lands on, weighted by\nworld-space surface area, taken in linear light.**\n\nConcretely, for each Gprim and each material bound to it:\n\n1. Fan-triangulate the faces bound to that material, respecting `materialBind` GeomSubsets.\n2. Take each triangle's world-space area and its three UV corners from the `st` primvar,\n   at whatever interpolation the mesh declares.\n3. Sample each triangle at stratified barycentric points, mapped through any\n   `UsdTransform2d` or MDL\u002FMaterialX UV scale and offset, wrapped per `wrapS`\u002F`wrapT`.\n4. Decode each texel to linear and accumulate it weighted by triangle area.\n5. Divide by total area, apply the texture's `scale` and `bias`, clamp to `[0, 1]`.\n\n**What this buys.** Five of the electricians toolbox's materials share one 2048×2048 atlas,\n`trim_plastic_yellow_02_a.png`. A mean over the whole image gives `(0.521, 0.366, 0.024)`,\nand would hand that same yellow to all five. Sampling only where the geometry lands gives\n`(0.011, 0.010, 0.007)` on the locks and `(0.633, 0.448, 0.042)` on the lid. The toaster's\ntwo materials share an atlas the same way.\n\n**What it loses.**\n\n- One number per Gprim. A printed label, a painted stripe, or a second material on the same\n  mesh disappears into the mean. The toaster's body mesh resolves `(0.247, 0.246, 0.243)`,\n  which matches neither its plastic `(0.084, 0.084, 0.084)` nor its metal\n  `(0.350, 0.348, 0.344)`.\n- Weighting is by surface area, so a large flat region moves the value a long way even when\n  it covers few texels. 97.7% of the samples on the toaster's plastic are below 0.02\n  luminance, but the 14.6% of its area that sits on a flat mid-grey region lifts the constant\n  from 0.023 to 0.084. Area weighting is the intent, since a viewer sees surface rather than\n  texels, and it makes the result sensitive to UV density.\n- Surface area, not visible area. An interior face nobody sees pulls the mean as hard as an\n  equal-area face on the front.\n- Nearest-texel point sampling with a bounded budget: roughly 200,000 samples per face group,\n  capped at 64 per triangle. Detail finer than the sample spacing is aliased rather than\n  integrated. A mesh with very few, very large triangles gets the fewest samples.\n- Base colour only. No occlusion, no metalness tint, no vertex colour, no opacity. A polished\n  metal's albedo map is often near-black, so its display colour comes out dark. That is what\n  the map says, and DISP.002 permits it.\n- Alpha is ignored. A cutout map whose transparent texels carry junk colour would skew the\n  mean. None of the samples in this library does; display opacity is DISP.003 and out of scope.\n\n**Why not the reader's `default` input.** The OpenPBR migration exposes a constant beside\nevery texture-driven channel as the reader's fallback, and taking that would avoid opening a\nsingle image. It carries no information. Where the source had no constant of its own the\nmigration writes the OpenPBR nodedef default, so `--no-textures` on the migrated toaster\nreturns `(0.8, 0.8, 0.8)` for all five Gprims and both materials. It is kept as a last resort\nfor a run with no `numpy` or `Pillow`, and the run says plainly that is what happened.\n\n### What `--no-textures` actually gives you\n\nNothing, on most of this library. `--no-textures` and a run with `numpy` or `Pillow` missing\nboth leave a texture-driven material with only whatever constant the material authors beside\nits texture. On the samples as they stand there is no such constant anywhere: every\ntexture-driven material reaches its base colour through a `UsdPreviewSurface` whose\n`diffuseColor` is connected, none of the `UsdUVTexture` readers authors `inputs:fallback`,\nand none of the `mdl:OmniPBR` surfaces beside them authors `diffuse_color_constant`. So\n`--no-textures` over `sample_content` authors 26 Gprims out of the 57 it walks and skips 31,\nand 15 of the 20 assets that resolve any renderable geometry author nothing at all and are\ntherefore never saved. Those Gprims still fail DISP.001 afterwards.\n\nThe OpenPBR migration is the one path that writes a usable fallback, on the MaterialX\nreader's `default` input, and the paragraph above says what that value is worth. Install\n`numpy` and `Pillow` and sample the maps. Treat `--no-textures` as a way to see what the\nconstants alone would say; it will not conform an asset in this library.\n\n### Colour space\n\n`displayColor` resolves to linear Rec.709 with a D65 white point unless a colour space says\notherwise, so every texel is decoded through the sRGB transfer function before it enters the\nmean. sRGB and Rec.709 share primaries and white point, so the transfer function is the whole\nconversion and no primary matrix is involved.\n\nAveraging the encoded bytes and writing the result as linear is a real defect, not a rounding\nquestion. On the orange's diffuse map the byte mean is `(0.736, 0.343, 0.192)` where the\nlinear mean is `(0.533, 0.097, 0.031)`: 1.4× too high in red and 6.2× too high in blue. It\nwould not simply brighten the asset, it would desaturate it.\n\nWhether a map is encoded is decided by what the map is for. A base colour map in an integer\nformat is sRGB-encoded; only a floating-point format is linear by construction. Source\nmetadata is not reliable enough to follow: the dishwand's OmniGlass shader labels\n`t_plastic_clear_v01_01_a.png` as `raw` while the UsdPreviewSurface reading the same file\nlabels it `sRGB`, and the sledge hammer labels its ORM and normal maps `sRGB`. Where the\nasset's declaration contradicts the role, the run says so on the line it affects.\n\nConstants are carried across untouched. `diffuseColor`, `diffuse_color_constant`,\n`glass_color` and OpenPBR `base_color` are all defined as linear scene-referred values\nalready.\n\nThe script authors `colorSpace = \"lin_rec709_scene\"` on the primvar. This is the OpenUSD\ndefault, so it changes nothing for a consumer, and DISP.002 requires that a validator not\ndemand it. It is written because these values were decoded out of sRGB, and recording where\nthey landed is what makes that decode auditable in the file itself.\n\n### Values it holds and values it refuses\n\nDISP.002 requires every component within `[0, 1]` and finite.\n\nOut of range is **clamped**. A source value slightly outside the range is an export artefact,\nand the colour it names is still the right one.\n\nNon-finite is **refused**. There is no defensible value to clamp NaN to, and substituting one\nwould invent a colour rather than derive it. The material is reported and the Gprim is left\nwithout a display colour, so DISP.001 still fails on it and the failure is visible.\n\nThe same applies when nothing can be derived at all: no bound material, no base colour on any\nsurface, a texture that does not resolve on disk, or a prim with no UVs and no constant to\nfall back on. Each is listed as `SKIPPED` with its reason, and the run says at the end that\nthose prims still fail DISP.001. No colour is invented for them.\n\n### Geometry it will not touch\n\nThe script only ever rewrites a display colour it authored itself, which it recognises by the\nderivation it records in the primvar's `customData` under `simready:displayColorSource`:\n\n```usda\ncolor3f[] primvars:displayColor = [(0.3788, 0.3731, 0.3592)] (\n    colorSpace = \"lin_rec709_scene\"\n    customData = {\n        dictionary simready = {\n            string displayColorSource = \"m_opaque__metal__toaster_v01_01: UsdPreviewSurface diffuseColor \u003C- t_gen_appliance_toaster_v01_01_a.png sampled over 2012 triangle(s)\"\n        }\n    }\n    interpolation = \"constant\"\n)\n```\n\nTwo states are reported as a conflict and left alone:\n\n```\n\u002FRootNode\u002FGeometry\u002Fbody_obj_01\u002Fbody_mesh_01: CONFLICT, display colour already authored on the prim, left alone\n\u002FRootNode\u002FGeometry\u002Flever_obj_01\u002Flever_mesh_01: CONFLICT, display colour inherited from \u002FRootNode\u002FGeometry, left alone\n```\n\nThe first is a value authored without that record, so somebody put it there by hand. The\nsecond is an ancestor carrying a value the Gprim already inherits, which is the shape DISP.001\nrecommends and which this script must not shadow with a per-prim override. Resolve both by\nhand.\n\n## Feature Adapter\n\nThe same derivation is declared as a feature adapter, so the move onto display colour has a\nknown code path that runs without a person driving it. See\n`nv_core\u002Fsr_specs\u002Fdocs\u002Fguides\u002Ffeature_adapters\u002Ffeature_adapters.md`.\n\n| Adapter module | Adapter | Transition | Authors |\n|---|---|---|---|\n| `nv_core\u002Fcip_specs\u002Fasset_handler_modules\u002Fneutral_to_display_color` | `material_neutral_to_display_color` | `FET_006_STANDARD@0.1.0` -> `FET_010_STANDARD@0.1.0` | Constant `primvars:displayColor` per renderable Gprim, derived from the UsdPreviewSurface `diffuseColor`. |\n| `nv_core\u002Fcip_specs\u002Fasset_handler_modules\u002Fneutral_to_display_color` | `material_openpbr_to_display_color` | `FET_006_OPENPBR@0.1.0` -> `FET_010_STANDARD@0.1.0` | Constant `primvars:displayColor` per renderable Gprim, derived from the OpenPBR `base_color`. |\n| `nv_core\u002Fcip_specs\u002Fasset_handler_modules\u002Fneutral_to_display_color` | `material_mdl_to_display_color` | `FET_006_MDL@0.1.0` -> `FET_010_STANDARD@0.1.0` | Constant `primvars:displayColor` per renderable Gprim, derived from the OmniPBR or OmniGlass MDL base colour. |\n\n- The adapter holds no derivation of its own. It calls `author_stage()` in the bundled script\n  above, which is the single implementation of this derivation, so running the skill by hand and\n  running the adapter produce the same value. Change the script, not the adapter, to change what\n  is authored.\n- All three transitions are the conformance case where an asset had no display colour and now\n  has one. None is a version migration: `FET_010_STANDARD` has only `0.1.0`. When a later\n  version exists, add another decorated function pinning the two versions rather than editing\n  these, which is what `neutral_to_physx` does for its `@0.2.0` -> `@0.3.0` path.\n- Three input features are declared rather than one because the derivation resolves whichever\n  surface a material carries, in the order OpenPBR, UsdPreviewSurface, MDL. On an asset that\n  carries several the result is the same either way; declaring them separately keeps the adapter\n  graph explicit about which contracts have a known path here.\n- The adapter cannot conform geometry with no bound material, because the colour is derived\n  rather than invented. Those Gprims are logged as skipped and left without a display colour, so\n  the stage can still fail `DISP.001` after the adapter runs.\n- Texture sampling needs `numpy` and `Pillow`, and the adapter's environment should have them.\n  Without them the adapter does not fail, but on a texture-driven material it has only the\n  constant the material authors beside its texture, and on these samples there is none — so it\n  authors nothing, saves nothing, and `DISP.001` still fails afterwards. See **What\n  `--no-textures` actually gives you** above.\n### Running it\n\nTwo paths, and they author the same value because they call the same function.\n\n**Without Kit**, call the derivation on an open stage. This needs `pxr`, plus `numpy` and\n`Pillow` for texture sampling:\n\n```python\nfrom pxr import Usd\nfrom author_display_color import author_stage\n\nstage = Usd.Stage.Open(\"sm_asset.usd\")\nauthored, skipped, conflicts, per_material, notes = author_stage(stage, sample_textures=True)\nstage.Save()\n\nprint(f\"{authored} Gprims authored, {skipped} skipped, {conflicts} conflicts\")\nfor material, entry in per_material.items():\n    count, weight, accumulated = entry\n    colour = [c \u002F weight for c in accumulated] if weight else [0.0, 0.0, 0.0]\n    print(f\"  {material}: {colour} across {count} Gprim(s)\")\n```\n\n`author_stage` opens nothing and saves nothing, so the caller controls both. Pass\n`dry_run=True` for the same counts without authoring, and `sample_textures=False` for the\n`--no-textures` derivation, which on this library authors almost nothing. The command line\nabove wraps this with file handling and is the easier route for a directory of assets.\n\n`per_material` maps a material name to `[gprim_count, accumulated_weight, accumulated_colour]`,\nwhere `accumulated_colour` is each contributing colour multiplied by that contribution's\nworld-space area and summed. Divide it by `accumulated_weight` to get the area-weighted colour,\nas above. Read the third element directly and it is off by the material's total area, which can\nland it anywhere — well below the real colour on a small asset, above `1.0` and outside the\nlegal `displayColor` range on one covering more than a square stage unit. The accumulator is\nreturned unnormalised on purpose, so a caller running a directory of assets can sum the entries\nacross all of them and divide once at the end, which is what the command line does.\n\n**Inside the registry**, the adapter is resolved by feature rather than called by name. That\npath lives in the `omni.cip.configurable` extension in the **simready-explorer** repository:\n`loader.py` scans the adapter modules named by `adapter_modules_path` in\n`nv_core\u002Fsr_specs\u002Fdocs\u002Fconfig.json`, the `@feature_adapter` decorator registers each function,\nand `pipeline.py` drives an asset from an input profile to an output profile, selecting\nadapters with `FeatureAdapter.get_adapters_for_features()`. Use this when moving a whole asset\nbetween profiles rather than applying one known derivation.\n\nIt needs a Kit environment. `omni.cip.configurable.feature_adapter` imports\n`omni.asset_validator.core`, which is not on the Python package index, so the adapter module\ncannot be imported outside Kit at all — which is why the standalone entry point above exists.\n\nNote also that `workspace upgrade`, which the physics conform skills name as the way to run an\nadapter, has no implementation in this repository (`AGENTS.md`).\n\n## Workflow\n\n1. Confirm the input exists and identify the exact selected feature\u002Fversion from the profile\n   TOML, validation report, or user request.\n2. Load the selected `FET_010_STANDARD` manifest and the feature markdown before editing.\n3. Load requirement docs linked from the feature markdown for every reported failing\n   requirement.\n4. Run the bundled script with `--verify` to establish the starting state. See **What\n   `--verify` checks** above for what it covers and what its exit codes mean.\n5. Create or use a staged output location unless the user explicitly asks for in-place edits.\n6. Repair only the requirements listed by the selected manifest and its dependencies.\n7. Rerun the same profile gate or the narrowest available feature\u002Fcapability validation gate.\n   If runtime evidence is required and unavailable, report that limitation instead of claiming\n   a pass.\n8. Summarize the selected version, changed files, validation evidence, and the first remaining\n   blocker.\n\n## Limits\n\n- The script authors `primvars:displayColor` and nothing else. `primvars:displayOpacity`\n  (DISP.003) is optional and is left alone, so an asset that carried none still carries none.\n- Only meshes can be sampled. A Gprim with a material but no mesh topology, such as a Sphere\n  or a Capsule, falls back to the material's constant and is reported as doing so.\n- 16-bit and higher integer maps are read at 8 bits per channel, which is below the precision\n  a mean over hundreds of thousands of texels would justify. Every map in the sample library\n  is an 8-bit PNG.\n- UV handling covers the forms these assets use: `st` at any interpolation, `UsdTransform2d`,\n  MaterialX `uvtiling`\u002F`uvoffset`, MDL `texture_scale`\u002F`texture_translate`\u002F`texture_rotate`,\n  and `repeat`\u002F`clamp` wrapping. Every one of them is identity on the current samples, so\n  none of that is exercised by them. A material using a UV setup outside this set would\n  sample the wrong region of its map.\n- `--verify` reads authored scene description. It establishes DISP.001, DISP.002 and DISP.003,\n  which are statically checkable. It says nothing about how the asset renders; that is the\n  FET006 display colour benchmark's job and it needs Kit or Isaac Sim.\n- `--verify` is a transcription of the capability validator, not that validator running. It\n  can drift, and one difference is already deliberate: it walks `Usd.Stage.Traverse()` while\n  the validator is handed prims by the asset validator engine, so the two can disagree about\n  instance prototypes and unloaded payloads. Run the real validation gate before claiming a\n  pass.\n- The derivation approximates albedo. It does not claim to match what a path tracer produces\n  for the same object, and DISP.002 sets no plausibility band against which such a claim could\n  be checked.\n","# SimReady Conform FET_010_STANDARD\n\n## Purpose\n\nUse this exact feature skill when the selected profile, validation report, or user request\nnames `FET_010_STANDARD`. It authors or repairs `primvars:displayColor` on renderable\ngeometry without touching the shaded surfaces, which are the sibling contracts\n`FET_006_STANDARD` (UsdPreviewSurface), `FET_006_MDL` and `FET_006_OPENPBR`.\n\nDefault to `FET_010_STANDARD@0.1.0` when the user asks for this feature without a\nversion. Use another version only when the profile, validation report, or user explicitly\npins it. If the report names a different `FET_###_RUNTIME` feature, switch to that feature's\nmatching skill before editing.\n\nDisplay colour is the appearance layer available to a consumer that does not evaluate\nmaterials, so it is repaired independently of them and can be repaired on an asset that has\nno material at all. What it cannot do is invent one: the colour is derived from a bound\nmaterial, and geometry with nothing to derive from is reported rather than given a guess.\n\n## Source of Truth\n\nBefore changing an asset or package, read:\n\n- `nv_core\u002Ftiers\u002Fsimready_foundation_tier_core\u002Fsimready\u002Ffoundation\u002Ftier_core\u002Ffeatures\u002FFET_010_STANDARD-0.1.0.json`\n- `nv_core\u002Ftiers\u002Fsimready_foundation_tier_core\u002Fsimready\u002Ffoundation\u002Ftier_core\u002Ffeatures\u002FFET_010_STANDARD.md`\n- `nv_core\u002Ftiers\u002Fsimready_foundation_tier_core\u002Fsimready\u002Ffoundation\u002Ftier_core\u002Fcapabilities\u002Fvisualization\u002Fdisplay_color\u002Frequirements\u002Fdisplay-color-coverage.md` (DISP.001)\n- `nv_core\u002Ftiers\u002Fsimready_foundation_tier_core\u002Fsimready\u002Ffoundation\u002Ftier_core\u002Fcapabilities\u002Fvisualization\u002Fdisplay_color\u002Frequirements\u002Fdisplay-color-values.md` (DISP.002)\n\nTreat the JSON manifest as authoritative for requirement IDs. Use the feature markdown for\ncontract details, requirement links, samples and benchmarks. The Display Color capability\nand its feature manifest land with the capability change; if they are not on the branch you\nare working from, read them from the branch that introduces them before editing an asset.\n\n## Feature Versions\n\n| Version | Dependencies | Requirements |\n|---|---|---|\n| `0.1.0` | None | `DISP.001`, `DISP.002`, `DISP.003` |\n\n`DISP.003` covers `primvars:displayOpacity`, which is optional and which this skill does not\nauthor. An asset that carries no display opacity satisfies it.\n\n## Bundled script\n\n`assets\u002Fscripts\u002Fauthor_display_color.py` authors a constant `primvars:displayColor` on every\nrenderable Gprim, derived from the material bound to that Gprim.\n\n```bash\n# report DISP.001, DISP.002 and DISP.003 conformance, change nothing\npython author_display_color.py \u003Cpath> --verify\n\n# show what would change\npython author_display_color.py \u003Cpath> --dry-run\n\n# author, sampling base colour maps\npython author_display_color.py \u003Cpath>\n\n# author from material constants only, never opening a texture\npython author_display_color.py \u003Cpath> --no-textures\n\n# author into each Gprim's material:binding layer, which reaches instanced geometry\npython author_display_color.py \u003Cpath> --edit-target binding\n```\n\n### Options\n\n| Option | Default | What it does |\n|---|---|---|\n| `--verify` | off | Report `DISP.001`, `DISP.002` and `DISP.003`. Writes nothing. |\n| `--dry-run` | off | Report what a run would author. Writes nothing. |\n| `--textures` | **on** | Sample base colour maps over the bound faces. Naming it changes nothing; it is the default. |\n| `--no-textures` | off | Derive from material constants only, never opening a texture. |\n| `--edit-target stage` | **default** | Author on the composed stage. Geometry inside an instance is out of reach. |\n| `--edit-target binding` | off | Author into the layer holding each Gprim's `material:binding`, which is where instanced geometry can be written at all. |\n\n`--edit-target binding` is what a referenced or instanced asset needs. On the Audi A6\nvehicle sample the default reaches 5 renderable Gprims and leaves 16 inside 9 prototypes\nuntouched; `binding` reaches all of them, authoring 15 opinions that 17 Gprims resolve,\nbecause instances share one.\n\n`\u003Cpath>` is a USD file or a directory, which is searched for `simready_usd` assets. The\nscript needs USD Python (`pip install usd-core`). Sampling additionally needs `numpy` and\n`Pillow`; without them the script says so and falls back to `--no-textures` behaviour, which\non this library authors almost nothing. See **What `--no-textures` actually gives you** below.\n\n`--verify` and `--dry-run` are rejected together. `--verify` already changes nothing, so\n`--dry-run` alongside it would guard a run that was never going to write; the script says\nwhich flag to drop rather than accepting the pair and ignoring one.\n\nIt is safe to re-run. Every value is re-derived from scratch on each pass and the derivation\nis deterministic, so a second run over an unchanged asset leaves the same colour on the same\nprim. Sampling uses a fixed stratified point set rather than a random one for exactly this\nreason: a random sequence would move every value slightly on every pass and rewrite all\nfourteen sample assets each time. Re-running still rewrites the binary layer, so compare\nflattened USD rather than file hashes when checking that a re-run changed nothing.\n\nExit codes, so a script driving this can tell a crash from a finding:\n\n| Code | Meaning |\n|---|---|\n| `0` | clean |\n| `1` | `--verify` found DISP.001, DISP.002 or DISP.003 problems |\n| `2` | bad arguments, or no USD assets under the given paths |\n| `3` | at least one asset could not be read or raised |\n\nAn asset that raises is reported as `ERROR` with its traceback on stderr, and the walk\ncarries on to the rest.\n\n### What `--verify` checks\n\nWhether a renderable Gprim resolves a display colour at all; whether the resolved value\ncarries the `color3f[]` that `UsdGeomGprim` declares, including the two ways a scalar gets\npast a type check (authored on an enclosing `Xform`, or authored on the Gprim itself, where\nthe schema's own type name hides it); component range and finiteness; element count against\nthe declared interpolation and the prim's topology; and, on an indexed primvar, the index\ncount against topology and every index against the value array. Where a primvar carries only\ntime samples, the earliest authored sample is what gets checked, which is what DISP.002 says.\n\n`primvars:displayOpacity` is checked on the same terms, so DISP.003 is reported even though\nthis skill never authors it. A preflight that says `ok` on an asset the capability validator\nfails is worse than no preflight.\n\nAll of it is transcribed from the capability validator at\n`nv_core\u002Ftiers\u002Fsimready_foundation_tier_core\u002Fsimready\u002Ffoundation\u002Ftier_core\u002Fcapabilities\u002Fvisualization\u002Fdisplay_color\u002Fvalidation.py`,\nwhich a standalone run cannot import: it needs `simready.foundation.tier_core.requirements`\nand `usd_validation_nvidia`, and their absence is why this preflight exists. Each function in the script names the validator\nmethod it mirrors. Change one, change the other.\n\n### Which layer the primvar is authored in\n\nUnder `--edit-target binding`, the layer holding the strongest binding opinion for that\nGprim, resolved through `UsdShade.MaterialBindingAPI` so a binding authored per purpose\n(`material:binding:full`, `material:binding:preview`) counts the same as a plain one.\nWhere the geometry carries no binding of its own, an ancestor's is used: the primvar is\nauthored with `constant` interpolation, which inherits down namespace. Display colour is an attribute, so it belongs where this asset's existing\nopinion about the prim's appearance is expressed -- which is not always where the prim is\ndefined, since a stronger layer often holds an `over` for a transform or visibility and\nsays nothing about appearance.\n\nIt also resolves instancing. A Gprim reached through an instance proxy cannot be authored\nat the path it appears on, and its prototype path is not persistent. The binding's\nproperty spec names both the layer and the path within it, which is where the opinion has\nto go for every instance to inherit it. Reading that property stack needs the prim inside\nthe prototype: through the proxy the stack reads empty, which looks like a material with\nno binding at all.\n\n### Where the primvar is authored\n\nOn each renderable Gprim, with `constant` interpolation and one element.\n\nDISP.001 permits authoring once on an ancestor and letting `UsdGeomPrimvarsAPI` inheritance\ncarry it down. That is the better shape when one colour covers the whole asset, and it is\nthe wrong shape here: the colour is derived per bound material, and every multi-material\nsample in this library would collapse to a single asset-wide average. The toaster's chrome\ntray resolves `(0.379, 0.373, 0.359)` and its plastic lever `(0.012, 0.012, 0.012)`; one\nancestor value cannot hold both. DISP.001's guidance to leave descendants unauthored applies\nto restating the same value, which is not the case when the values differ.\n\n`constant` rather than `uniform` is a deliberate loss. A Gprim can carry several materials\nthrough `materialBind` GeomSubsets, and the toaster's body is one Mesh with 8,008 plastic\nfaces and 12,356 metal ones. `uniform` interpolation would give each face its own colour and\nhold both exactly. It would also add 20,364 colour values to one mesh in an LFS-tracked\nbinary, and only `constant` primvars are inheritable, so the value would stop working if the\nasset were later restructured to author once on an ancestor. The script takes the\narea-weighted mean of the materials on the Gprim instead, and reports each contribution so\nthe blend is visible rather than silent.\n\nMaterial bindings are irrelevant to whether the value survives. The FET006 render benchmark\nstrips every binding before it measures, and primvars are untouched by that.\n\n### What the colour is derived from\n\nThe base colour of the bound material, resolved through the surface outputs in this order:\n\n| Order | Surface | Input |\n|---|---|---|\n| 1 | `outputs:mtlx:surface` (OpenPBR) | `base_color` |\n| 2 | `outputs:surface` (UsdPreviewSurface) | `diffuseColor` |\n| 3 | `outputs:mdl:surface` (OmniPBR) | `diffuse_texture`, `diffuse_color_constant` |\n| 3 | `outputs:mdl:surface` (OmniGlass) | `glass_color_texture`, `glass_color` |\n\nOpenPBR comes first because it is the final surface the material declares, so where one is\nauthored it carries the intent and the preview surface below it is the compatibility\nfallback. The order is strict: a hand-tuned OpenPBR constant wins over a legacy preview\ntexture rather than being averaged with it.\n\nWithin a tier a texture beats a constant. Where a source drives base colour from a map, the\nconstant sitting beside it is usually the exporter's neutral default rather than the colour\nthe material shows.\n\nOn the migrated samples the first two tiers agree exactly, which is the expected result\nrather than a coincidence: the OpenPBR migration carried the same diffuse map onto\n`base_color` that the preview surface already read. Running this script before and after\nthat migration produces identical display colours.\n\n`base_color` on an OpenPBR surface is followed through the reference topology the migration\nwrites, so the file is read from the `Material`'s `*_texture_file` interface input rather\nthan from the reader node. An OmniGlass source is read through `glass_color` because that is\nwhat it calls its base colour.\n\n### Reducing a texture to one colour\n\nA constant primvar holds one colour and `base_color` is usually a map, so the map is reduced\nto a single value: **the mean of the texels the bound geometry actually lands on, weighted by\nworld-space surface area, taken in linear light.**\n\nConcretely, for each Gprim and each material bound to it:\n\n1. Fan-triangulate the faces bound to that material, respecting `materialBind` GeomSubsets.\n2. Take each triangle's world-space area and its three UV corners from the `st` primvar,\n   at whatever interpolation the mesh declares.\n3. Sample each triangle at stratified barycentric points, mapped through any\n   `UsdTransform2d` or MDL\u002FMaterialX UV scale and offset, wrapped per `wrapS`\u002F`wrapT`.\n4. Decode each texel to linear and accumulate it weighted by triangle area.\n5. Divide by total area, apply the texture's `scale` and `bias`, clamp to `[0, 1]`.\n\n**What this buys.** Five of the electricians toolbox's materials share one 2048×2048 atlas,\n`trim_plastic_yellow_02_a.png`. A mean over the whole image gives `(0.521, 0.366, 0.024)`,\nand would hand that same yellow to all five. Sampling only where the geometry lands gives\n`(0.011, 0.010, 0.007)` on the locks and `(0.633, 0.448, 0.042)` on the lid. The toaster's\ntwo materials share an atlas the same way.\n\n**What it loses.**\n\n- One number per Gprim. A printed label, a painted stripe, or a second material on the same\n  mesh disappears into the mean. The toaster's body mesh resolves `(0.247, 0.246, 0.243)`,\n  which matches neither its plastic `(0.084, 0.084, 0.084)` nor its metal\n  `(0.350, 0.348, 0.344)`.\n- Weighting is by surface area, so a large flat region moves the value a long way even when\n  it covers few texels. 97.7% of the samples on the toaster's plastic are below 0.02\n  luminance, but the 14.6% of its area that sits on a flat mid-grey region lifts the constant\n  from 0.023 to 0.084. Area weighting is the intent, since a viewer sees surface rather than\n  texels, and it makes the result sensitive to UV density.\n- Surface area, not visible area. An interior face nobody sees pulls the mean as hard as an\n  equal-area face on the front.\n- Nearest-texel point sampling with a bounded budget: roughly 200,000 samples per face group,\n  capped at 64 per triangle. Detail finer than the sample spacing is aliased rather than\n  integrated. A mesh with very few, very large triangles gets the fewest samples.\n- Base colour only. No occlusion, no metalness tint, no vertex colour, no opacity. A polished\n  metal's albedo map is often near-black, so its display colour comes out dark. That is what\n  the map says, and DISP.002 permits it.\n- Alpha is ignored. A cutout map whose transparent texels carry junk colour would skew the\n  mean. None of the samples in this library does; display opacity is DISP.003 and out of scope.\n\n**Why not the reader's `default` input.** The OpenPBR migration exposes a constant beside\nevery texture-driven channel as the reader's fallback, and taking that would avoid opening a\nsingle image. It carries no information. Where the source had no constant of its own the\nmigration writes the OpenPBR nodedef default, so `--no-textures` on the migrated toaster\nreturns `(0.8, 0.8, 0.8)` for all five Gprims and both materials. It is kept as a last resort\nfor a run with no `numpy` or `Pillow`, and the run says plainly that is what happened.\n\n### What `--no-textures` actually gives you\n\nNothing, on most of this library. `--no-textures` and a run with `numpy` or `Pillow` missing\nboth leave a texture-driven material with only whatever constant the material authors beside\nits texture. On the samples as they stand there is no such constant anywhere: every\ntexture-driven material reaches its base colour through a `UsdPreviewSurface` whose\n`diffuseColor` is connected, none of the `UsdUVTexture` readers authors `inputs:fallback`,\nand none of the `mdl:OmniPBR` surfaces beside them authors `diffuse_color_constant`. So\n`--no-textures` over `sample_content` authors 26 Gprims out of the 57 it walks and skips 31,\nand 15 of the 20 assets that resolve any renderable geometry author nothing at all and are\ntherefore never saved. Those Gprims still fail DISP.001 afterwards.\n\nThe OpenPBR migration is the one path that writes a usable fallback, on the MaterialX\nreader's `default` input, and the paragraph above says what that value is worth. Install\n`numpy` and `Pillow` and sample the maps. Treat `--no-textures` as a way to see what the\nconstants alone would say; it will not conform an asset in this library.\n\n### Colour space\n\n`displayColor` resolves to linear Rec.709 with a D65 white point unless a colour space says\notherwise, so every texel is decoded through the sRGB transfer function before it enters the\nmean. sRGB and Rec.709 share primaries and white point, so the transfer function is the whole\nconversion and no primary matrix is involved.\n\nAveraging the encoded bytes and writing the result as linear is a real defect, not a rounding\nquestion. On the orange's diffuse map the byte mean is `(0.736, 0.343, 0.192)` where the\nlinear mean is `(0.533, 0.097, 0.031)`: 1.4× too high in red and 6.2× too high in blue. It\nwould not simply brighten the asset, it would desaturate it.\n\nWhether a map is encoded is decided by what the map is for. A base colour map in an integer\nformat is sRGB-encoded; only a floating-point format is linear by construction. Source\nmetadata is not reliable enough to follow: the dishwand's OmniGlass shader labels\n`t_plastic_clear_v01_01_a.png` as `raw` while the UsdPreviewSurface reading the same file\nlabels it `sRGB`, and the sledge hammer labels its ORM and normal maps `sRGB`. Where the\nasset's declaration contradicts the role, the run says so on the line it affects.\n\nConstants are carried across untouched. `diffuseColor`, `diffuse_color_constant`,\n`glass_color` and OpenPBR `base_color` are all defined as linear scene-referred values\nalready.\n\nThe script authors `colorSpace = \"lin_rec709_scene\"` on the primvar. This is the OpenUSD\ndefault, so it changes nothing for a consumer, and DISP.002 requires that a validator not\ndemand it. It is written because these values were decoded out of sRGB, and recording where\nthey landed is what makes that decode auditable in the file itself.\n\n### Values it holds and values it refuses\n\nDISP.002 requires every component within `[0, 1]` and finite.\n\nOut of range is **clamped**. A source value slightly outside the range is an export artefact,\nand the colour it names is still the right one.\n\nNon-finite is **refused**. There is no defensible value to clamp NaN to, and substituting one\nwould invent a colour rather than derive it. The material is reported and the Gprim is left\nwithout a display colour, so DISP.001 still fails on it and the failure is visible.\n\nThe same applies when nothing can be derived at all: no bound material, no base colour on any\nsurface, a texture that does not resolve on disk, or a prim with no UVs and no constant to\nfall back on. Each is listed as `SKIPPED` with its reason, and the run says at the end that\nthose prims still fail DISP.001. No colour is invented for them.\n\n### Geometry it will not touch\n\nThe script only ever rewrites a display colour it authored itself, which it recognises by the\nderivation it records in the primvar's `customData` under `simready:displayColorSource`:\n\n```usda\ncolor3f[] primvars:displayColor = [(0.3788, 0.3731, 0.3592)] (\n    colorSpace = \"lin_rec709_scene\"\n    customData = {\n        dictionary simready = {\n            string displayColorSource = \"m_opaque__metal__toaster_v01_01: UsdPreviewSurface diffuseColor \u003C- t_gen_appliance_toaster_v01_01_a.png sampled over 2012 triangle(s)\"\n        }\n    }\n    interpolation = \"constant\"\n)\n```\n\nTwo states are reported as a conflict and left alone:\n\n```\n\u002FRootNode\u002FGeometry\u002Fbody_obj_01\u002Fbody_mesh_01: CONFLICT, display colour already authored on the prim, left alone\n\u002FRootNode\u002FGeometry\u002Flever_obj_01\u002Flever_mesh_01: CONFLICT, display colour inherited from \u002FRootNode\u002FGeometry, left alone\n```\n\nThe first is a value authored without that record, so somebody put it there by hand. The\nsecond is an ancestor carrying a value the Gprim already inherits, which is the shape DISP.001\nrecommends and which this script must not shadow with a per-prim override. Resolve both by\nhand.\n\n## Feature Adapter\n\nThe same derivation is declared as a feature adapter, so the move onto display colour has a\nknown code path that runs without a person driving it. See\n`nv_core\u002Fsr_specs\u002Fdocs\u002Fguides\u002Ffeature_adapters\u002Ffeature_adapters.md`.\n\n| Adapter module | Adapter | Transition | Authors |\n|---|---|---|---|\n| `nv_core\u002Fcip_specs\u002Fasset_handler_modules\u002Fneutral_to_display_color` | `material_neutral_to_display_color` | `FET_006_STANDARD@0.1.0` -> `FET_010_STANDARD@0.1.0` | Constant `primvars:displayColor` per renderable Gprim, derived from the UsdPreviewSurface `diffuseColor`. |\n| `nv_core\u002Fcip_specs\u002Fasset_handler_modules\u002Fneutral_to_display_color` | `material_openpbr_to_display_color` | `FET_006_OPENPBR@0.1.0` -> `FET_010_STANDARD@0.1.0` | Constant `primvars:displayColor` per renderable Gprim, derived from the OpenPBR `base_color`. |\n| `nv_core\u002Fcip_specs\u002Fasset_handler_modules\u002Fneutral_to_display_color` | `material_mdl_to_display_color` | `FET_006_MDL@0.1.0` -> `FET_010_STANDARD@0.1.0` | Constant `primvars:displayColor` per renderable Gprim, derived from the OmniPBR or OmniGlass MDL base colour. |\n\n- The adapter holds no derivation of its own. It calls `author_stage()` in the bundled script\n  above, which is the single implementation of this derivation, so running the skill by hand and\n  running the adapter produce the same value. Change the script, not the adapter, to change what\n  is authored.\n- All three transitions are the conformance case where an asset had no display colour and now\n  has one. None is a version migration: `FET_010_STANDARD` has only `0.1.0`. When a later\n  version exists, add another decorated function pinning the two versions rather than editing\n  these, which is what `neutral_to_physx` does for its `@0.2.0` -> `@0.3.0` path.\n- Three input features are declared rather than one because the derivation resolves whichever\n  surface a material carries, in the order OpenPBR, UsdPreviewSurface, MDL. On an asset that\n  carries several the result is the same either way; declaring them separately keeps the adapter\n  graph explicit about which contracts have a known path here.\n- The adapter cannot conform geometry with no bound material, because the colour is derived\n  rather than invented. Those Gprims are logged as skipped and left without a display colour, so\n  the stage can still fail `DISP.001` after the adapter runs.\n- Texture sampling needs `numpy` and `Pillow`, and the adapter's environment should have them.\n  Without them the adapter does not fail, but on a texture-driven material it has only the\n  constant the material authors beside its texture, and on these samples there is none — so it\n  authors nothing, saves nothing, and `DISP.001` still fails afterwards. See **What\n  `--no-textures` actually gives you** above.\n### Running it\n\nTwo paths, and they author the same value because they call the same function.\n\n**Without Kit**, call the derivation on an open stage. This needs `pxr`, plus `numpy` and\n`Pillow` for texture sampling:\n\n```python\nfrom pxr import Usd\nfrom author_display_color import author_stage\n\nstage = Usd.Stage.Open(\"sm_asset.usd\")\nauthored, skipped, conflicts, per_material, notes = author_stage(stage, sample_textures=True)\nstage.Save()\n\nprint(f\"{authored} Gprims authored, {skipped} skipped, {conflicts} conflicts\")\nfor material, entry in per_material.items():\n    count, weight, accumulated = entry\n    colour = [c \u002F weight for c in accumulated] if weight else [0.0, 0.0, 0.0]\n    print(f\"  {material}: {colour} across {count} Gprim(s)\")\n```\n\n`author_stage` opens nothing and saves nothing, so the caller controls both. Pass\n`dry_run=True` for the same counts without authoring, and `sample_textures=False` for the\n`--no-textures` derivation, which on this library authors almost nothing. The command line\nabove wraps this with file handling and is the easier route for a directory of assets.\n\n`per_material` maps a material name to `[gprim_count, accumulated_weight, accumulated_colour]`,\nwhere `accumulated_colour` is each contributing colour multiplied by that contribution's\nworld-space area and summed. Divide it by `accumulated_weight` to get the area-weighted colour,\nas above. Read the third element directly and it is off by the material's total area, which can\nland it anywhere — well below the real colour on a small asset, above `1.0` and outside the\nlegal `displayColor` range on one covering more than a square stage unit. The accumulator is\nreturned unnormalised on purpose, so a caller running a directory of assets can sum the entries\nacross all of them and divide once at the end, which is what the command line does.\n\n**Inside the registry**, the adapter is resolved by feature rather than called by name. That\npath lives in the `omni.cip.configurable` extension in the **simready-explorer** repository:\n`loader.py` scans the adapter modules named by `adapter_modules_path` in\n`nv_core\u002Fsr_specs\u002Fdocs\u002Fconfig.json`, the `@feature_adapter` decorator registers each function,\nand `pipeline.py` drives an asset from an input profile to an output profile, selecting\nadapters with `FeatureAdapter.get_adapters_for_features()`. Use this when moving a whole asset\nbetween profiles rather than applying one known derivation.\n\nIt needs a Kit environment. `omni.cip.configurable.feature_adapter` imports\n`omni.asset_validator.core`, which is not on the Python package index, so the adapter module\ncannot be imported outside Kit at all — which is why the standalone entry point above exists.\n\nNote also that `workspace upgrade`, which the physics conform skills name as the way to run an\nadapter, has no implementation in this repository (`AGENTS.md`).\n\n## Workflow\n\n1. Confirm the input exists and identify the exact selected feature\u002Fversion from the profile\n   TOML, validation report, or user request.\n2. Load the selected `FET_010_STANDARD` manifest and the feature markdown before editing.\n3. Load requirement docs linked from the feature markdown for every reported failing\n   requirement.\n4. Run the bundled script with `--verify` to establish the starting state. See **What\n   `--verify` checks** above for what it covers and what its exit codes mean.\n5. Create or use a staged output location unless the user explicitly asks for in-place edits.\n6. Repair only the requirements listed by the selected manifest and its dependencies.\n7. Rerun the same profile gate or the narrowest available feature\u002Fcapability validation gate.\n   If runtime evidence is required and unavailable, report that limitation instead of claiming\n   a pass.\n8. Summarize the selected version, changed files, validation evidence, and the first remaining\n   blocker.\n\n## Limits\n\n- The script authors `primvars:displayColor` and nothing else. `primvars:displayOpacity`\n  (DISP.003) is optional and is left alone, so an asset that carried none still carries none.\n- Only meshes can be sampled. A Gprim with a material but no mesh topology, such as a Sphere\n  or a Capsule, falls back to the material's constant and is reported as doing so.\n- 16-bit and higher integer maps are read at 8 bits per channel, which is below the precision\n  a mean over hundreds of thousands of texels would justify. Every map in the sample library\n  is an 8-bit PNG.\n- UV handling covers the forms these assets use: `st` at any interpolation, `UsdTransform2d`,\n  MaterialX `uvtiling`\u002F`uvoffset`, MDL `texture_scale`\u002F`texture_translate`\u002F`texture_rotate`,\n  and `repeat`\u002F`clamp` wrapping. Every one of them is identity on the current samples, so\n  none of that is exercised by them. A material using a UV setup outside this set would\n  sample the wrong region of its map.\n- `--verify` reads authored scene description. It establishes DISP.001, DISP.002 and DISP.003,\n  which are statically checkable. It says nothing about how the asset renders; that is the\n  FET006 display colour benchmark's job and it needs Kit or Isaac Sim.\n- `--verify` is a transcription of the capability validator, not that validator running. It\n  can drift, and one difference is already deliberate: it walks `Usd.Stage.Traverse()` while\n  the validator is handed prims by the asset validator engine, so the two can disagree about\n  instance prototypes and unloaded payloads. Run the real validation gate before claiming a\n  pass.\n- The derivation approximates albedo. It does not claim to match what a path tracer produces\n  for the same object, and DISP.002 sets no plausibility band against which such a claim could\n  be checked.\n",{"name":5,"license":15,"metadata":24,"description":7},{"tags":25,"author":29},[26,27,28],"simready","conformance","display-color","Jens Jebens \u003Cjjebens@nvidia.com>","main","ffa016d3c9a8d32821f71f6d9d916c30e04fcb67","讲透宇宙\u002F05-侦\u002F讲透NVIDIA\u002Fsimready-foundation\u002Frepo-docs\u002F.agents\u002Fskills\u002Fsimready-foundation-conform-fet-010-standard",0,"https:\u002F\u002Fgithub.com\u002Fleemiracle\u002Fwork4ai","https:\u002F\u002Fgithub.com\u002Fleemiracle","i have some experience that make me better, so i want more. follow and star me would be a good choice.","2026-11-12 17:16:40",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add leemiracle\u002Fwork4ai --skill simready-foundation-conform-fet-010-standard",{"tool":44,"command":45},"bunx","bunx skills add leemiracle\u002Fwork4ai --skill simready-foundation-conform-fet-010-standard",{"tool":47,"command":48},"pnpm","pnpm dlx skills add leemiracle\u002Fwork4ai --skill simready-foundation-conform-fet-010-standard","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fleemiracle\u002Fwork4ai\u002Fblob\u002Fmain\u002F讲透宇宙\u002F05-侦\u002F讲透NVIDIA\u002Fsimready-foundation\u002Frepo-docs\u002F.agents\u002Fskills\u002Fsimready-foundation-conform-fet-010-standard\u002FSKILL.md",true,[],[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7A57J4E78QJZS8MA72P82DV","agentic-ecology-ui","Guidelines and templates for creating a generic web UI to visualize, rank, filter, and annotate vector databases. The UI has a hierarchical structure covering database selection, label selection\u002Fdefinition, ranking\u002Ffiltering configuration, and row visualization\u002Fannotation. Use when building, serving, or adapting an interactive web UI for Hoplite vector databases.","https:\u002F\u002Fgithub.com\u002Fleemiracle\u002Fwork4ai\u002Fblob\u002Fmain\u002F讲透宇宙\u002F05-侦\u002F讲透google-deepmind\u002Fagentic_ecology\u002Frepo-docs\u002Fskills\u002Fagentic-ecology-ui\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7A57C4RGS1A7VM6CNPNQDBH","agentic-ecology-init","Initializes a local uv-managed project directory for agentic ecology workloads. Sets up Python dependencies using reference pyproject.toml and uv.lock, configures workspace rules, and ensures Agentic Ecology skills are discoverable. Use when initializing a new project workspace or bootstrapping a clean environment.","https:\u002F\u002Fgithub.com\u002Fleemiracle\u002Fwork4ai\u002Fblob\u002Fmain\u002F讲透宇宙\u002F05-侦\u002F讲透google-deepmind\u002Fagentic_ecology\u002Frepo-docs\u002Fskills\u002Fagentic-ecology-init\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7A576Q1GYF5GAQCWGPPDQWZ","agentic-ecology-camera-traps","Provides capabilities to run SpeciesNet detector and classifier on camera trap images, extract crop-level feature embeddings, and populate a Hoplite vector database for downstream search and agile modeling. Use when ingesting camera trap images, classifying wildlife photos, or indexing camera trap data.","https:\u002F\u002Fgithub.com\u002Fleemiracle\u002Fwork4ai\u002Fblob\u002Fmain\u002F讲透宇宙\u002F05-侦\u002F讲透google-deepmind\u002Fagentic_ecology\u002Frepo-docs\u002Fskills\u002Fagentic-ecology-camera-traps\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7A5708M54MMTKXQARDCJQMW","agentic-ecology-bioacoustics","Provides bioacoustic analysis capabilities for ecologists and researchers using the perch-hoplite Python package. A typical use case is to use agile modeling to bootstrap the creation and deployment of a bespoke detector for targeted species on an existing collection of passive acoustic monitoring recordings. Use when processing and annotating audio recordings for bioacoustic applications.","https:\u002F\u002Fgithub.com\u002Fleemiracle\u002Fwork4ai\u002Fblob\u002Fmain\u002F讲透宇宙\u002F05-侦\u002F讲透google-deepmind\u002Fagentic_ecology\u002Frepo-docs\u002Fskills\u002Fagentic-ecology-bioacoustics\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7A53GYCZY3AT9C2FR44TC35","sample-skill","Sample skill used by agent-env integration tests. Exercises SKILL.md parsing plus supporting scripts and references.","https:\u002F\u002Fgithub.com\u002Fleemiracle\u002Fwork4ai\u002Fblob\u002Fmain\u002F讲透宇宙\u002F05-侦\u002F讲透browser-use\u002Fagentenv-framework\u002Frepo-docs\u002Ftst\u002Fdata\u002Fskills\u002Fsample_skill\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7A4KD50DHSNH1SCNKP1J6S1","simready-foundation-validate-foundation-change","Use for auditing SimReady requirement, validator, feature, profile, adapter, test, and skill consistency.","https:\u002F\u002Fgithub.com\u002Fleemiracle\u002Fwork4ai\u002Fblob\u002Fmain\u002F讲透宇宙\u002F05-侦\u002F讲透NVIDIA\u002Fsimready-foundation\u002Frepo-docs\u002F.codex\u002Fskills\u002Fsimready-foundation-validate-foundation-change\u002FSKILL.md",[],[]]