reading-attributes

Read USD prim attributes into CPU or GPU-compatible tensor formats.

Updated Apr 29, 2026
One-click install
npx skills add https://github.com/PubCyBerry/SO101-Sim2Real --skill reading-attributes-pubcyberry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reading-attributes
Source: https://github.com/PubCyBerry/SO101-Sim2Real/tree/main/.agents/skills/reading-attributes
Command: npx skills add https://github.com/PubCyBerry/SO101-Sim2Real --skill reading-attributes-pubcyberry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers retrieve USD prim attribute values and mesh or transform data without manually handling low-level attribute access patterns, tensor conversion, or memory details.

Core Features & Use Cases

  • Attribute Reading: Reads scalar and array USD attributes from prims into CPU or GPU-compatible tensor formats.
  • Data Inspection: Supports inspecting mesh data, render settings, transforms, extents, and typed USD properties across Python and C workflows.
  • Use Case: A graphics or simulation engineer can use this Skill to fetch point arrays, transforms, or custom attributes from USD scenes for downstream rendering or AI pipelines.

Quick Start

Use the reading-attributes skill to explain how to read the specified USD prim attribute into a tensor for my application.

Frequently Asked Questions about reading-attributes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read USD prim attributes into tensors for simulation workflows?

To read USD prim attributes into tensors, you access typed prim properties and convert the scalar or array data into CPU or GPU-compatible tensor formats. This handles memory details and tensor ownership validation automatically for safe simulation workflows.

Can I retrieve mesh data and transforms from USD scenes using Python?

You can retrieve mesh data and transform samples from USD scenes using Python by reading typed prim attributes into accessible tensor representations. This allows you to fetch point arrays and custom attributes for downstream rendering pipelines.

What is the best way to inspect render settings and extents in USD?

The best way to inspect render settings and extents in USD is by reading the typed prim attributes directly into tensor formats. This approach ensures correct attribute typing and lifecycle management for safe property inspection across Python and C workflows.

Does reading USD attributes in C require manual tensor ownership validation?

Reading USD attributes in C requires correct tensor ownership validation and lifecycle management. You must ensure proper memory handling and attribute typing to safely read scalar and array prim data into usable tensor representations.

Why does my USD attribute reading fail when fetching mesh point arrays?

USD attribute reading fails when fetching mesh point arrays if correct attribute typing and memory handling are not applied. You must validate tensor ownership and manage the lifecycle of attribute reads to prevent errors during data retrieval.