nvidia-omniverse/usd-content-agents/content-workflow-mesh-segmentation
Claude Code and agent skill by nvidia-omniverse/usd-content-agents
- community
Checking that the SKILL.md file is still in the repository.
Segment one fused triangular USD mesh into logical mesh prims by identifying visible parts, freezing deterministic geometry fragments, choosing per part between a registered image-mask seed produced through the image-generation skill and direct agentic signed fragment selection, and falsifying each provisional result with signed confuser evidence and held-out multi-view review before locking it. Use for fused-mesh semantic or material segmentation when Codex must control fallible image-generated masks and refine whole-fragment labels.
Install
npx vskill@latest install nvidia-omniverse/usd-content-agents/content-workflow-mesh-segmentationSKILL.md
The same SKILL.md was published earlier as nvidia-omniverse/usd-content-agents/content-workflow-mesh-segmentation.
Mesh Segmentation
Recognize the parts, generate one immutable fragment map, then finish exactly one part at a time through direct visual decisions. Before rev-000, inspect a small registered mask probe and choose either the deterministic eight-view mask initializer or direct signed fragment selection. After rev-000, both routes use the same fragment review and the agent is responsible for every refinement decision.
This is a clean workflow. Do not inherit strategies from an older segmentation skill. Reuse the existing scripts only as general-purpose rendering, fragment, picking, editing, audit, and export infrastructure.
Guardrails
- A provider retry can re-enter the same run directory with a fresh agent
thread. Inspect existing state before creating anything. If a part has a locked part_completion.json, never regenerate its initializer decision, initializer validation, rev-000, or earlier evidence. Resume from the newest numbered state. Every accepted lock is face-immutable in every run mode; continue only from unlocked, provisional, or residual faces.
- Do not inspect golden, benchmark, or previously accepted segment labels during
a run.
- Do not use annulus fitting, PCA, flood filling, category-specific predicates,
remembered face IDs, fixed coordinates, or asset-specific scripts.
- Image-generation masks are optional, fallible initialization proposals. Use
the image-generation skill for every generated mask. It selects an explicitly configured World Understanding backend or defaults to the coding agent's companion image-generation capability. If the selected mode is unavailable, record and report a warning and continue with direct agentic selection; never select another provider implicitly or fabricate mask evidence. When masks are available, a part-specific three-view probe must show that they survive erosion and project cleanly to fragments before the mask route is allowed.
- Record and validate
PART/initializer_decision.jsonbefore creating
rev-000. Part size or category alone never determines the route.
- If the mask route is chosen, do not vote over mask pixels, fragments, or
views. Erode by exactly 2 px, select closest-visible fragments independently, and take the exact eight-view set union without visual alteration.
- If the direct route is chosen, discard mask-derived fragment IDs. Build
rev-000 only from focused neutral/ID evidence and visually confirmed signed fragment picks.
- Do not edit individual triangles. A pick resolves the closest visible face,
but the include or exclude operation applies to its entire frozen fragment.
- Do not treat a script result as semantic validation. Only visual inspection
determines whether a fragment belongs to a part.
- Batch obvious decisions. Do not serialize clicks that can be made from the
same evidence.
- Treat a validated lock as immutable. Never extend, reassign, or otherwise
change any of its faces in any run mode. Continue only from unlocked, provisional, or residual faces.
- Finish a part cleanly when practical. When a retry is unlikely to change the
evidence, follow the recovery policy below instead of getting stuck.
- Treat every
rev-000as provisional regardless of initializer route. Never
let acceptance of an image-mask probe substitute for post-seed falsification.
- Before locking, collect signed positive target evidence and signed negative
confuser evidence, then mechanically verify both against the exact candidate labels. A prose passed assertion is not validation.
- Challenge boundaries rather than sampling only easy interiors. For every
expected instance, positive evidence must cover its interior, visible extent, and an opposing or occluded surface from at least two views, with a close signed pair straddling a visible target/confuser boundary. Every held-out view must contribute both polarities.
- Before acceptance, render the exact active segment by itself from every
held-out view. Use selected-only evidence for both error directions: find embedded caps, internal plates, and floaters, but also reject truncated shells, discontinuous contours, implausible openings, and unexplained jagged cuts caused by missing faces. Compare repeated instances against one another so neither extra nor missing geometry can hide behind residual geometry.
- Connected-component count proves instance presence, not completeness. Before
locking, review every expected instance from at least two selected-only views, including one opposing or occlusion-revealing view. Classify every visible selection boundary as an intended semantic boundary or a silhouette/occlusion; any unexplained boundary rejects the candidate.
- Expand any explicit count or repeated collection into separate stable
expected_instances IDs before review (for example, wing-1 through wing-4, not one entry named four wings). The number of instance_completeness_reviews entries must match that explicit count. If an instance is missing or unresolved, inspect and record the disposition of the selected components' nearby_similar_scale_component_ids; those hints are candidates to falsify, not semantic proof. An instance-count mismatch cannot pass: revise the candidate when evidence localizes the missing instance, or defer it when ambiguity remains.
- For each selected-only completeness view with a nonempty deterministic
frontier, inspect at least one actual adjacent unselected fragment in the matching flat-label and ID evidence. A candidate cannot pass until every checked frontier fragment is confirmed non-target; include any confirmed target fragment and rerender. If the audit frontier is empty, record the complete-disconnected-component not-applicable decision instead.
- If one fragment visibly crosses a semantic boundary, do not split it with
triangle edits. Before any part is locked, regenerate a finer fragment map. After locking begins, report the representational limit rather than silently changing the map.
Prerequisites
The input is a USD stage containing one static triangulated fused mesh. Record the target mesh prim path. Work in a fresh run directory; never overwrite a revision. Use the workflow-owned usd-cli session and a fresh host Codex session, not Docker.
Locate the canonical tool directory:
Use only the scripts named below. The canonical directory contains both the general-purpose fragment tools and the evidence tools.
The launcher records the image-generation mode in request.json and requires the image-generation skill. With an explicit World Understanding backend it also records the model, optional base URL, and API-key environment-variable name. Without a backend, the shared skill defaults to the coding agent's companion image-generation capability and treats any model as a preference, not an implicit provider. Read those values from the frozen request. Never persist or print a key value.
Use Observation Memory
Read runtime.agent_memory from the frozen request. When enabled, use content-agent-memory with exactly its run_id and pass its broker_url via --broker-url; do not open the wrapper-owned root, object store, locks, or SQLite index directly. Memory is required-capture for that run. When disabled, continue normally and report that durable recall is unavailable.
Current-run memory is empty before the first plan and before a part's first attempt, so do not query it then. Search only when resuming or deliberately revisiting the active part:
Search a named confuser separately only when it is relevant. Do not load global context or unrelated part cards. Inspect explicit observation IDs and artifact roles only when their summaries affect the current decision.
Memory is a checkpoint, not a second decision-maker. Do not search memory before every revision or lock, and do not reload unchanged observations. Memory capture is post-decision bookkeeping: first create and review the same candidate you would create with memory disabled. The launcher records an evidence-only checkpoint as soon as that exact revision has selected-only and frontier evidence; do not duplicate it or wait until the end. The checkpoint deliberately does not claim a semantic result and cannot satisfy your required-capture duty. The broker marks agent records separately from launcher checkpoints for terminal audit. Final export is forbidden while any requested part lacks selected-only evidence, a frontier audit, or its launcher checkpoint; finish the missing review first. Record a materially changed diagnosis or correction, a deferral, or a validated lock yourself; do not record routine successful commands or repeat an unchanged backend warning.
A memory summary is not semantic evidence. Never select, reject, transfer, or preserve geometry merely to agree with a previous observation. On revisit, use memory to recover the prior candidate and unresolved question, then let current signed and visual evidence decide whether to keep or change it.
Use absolute artifact paths. Put the exact semantic part in interaction.target_object_ids and tags; interaction has no semantic_part field. Chain changed decisions with parent_observation_id.
Use this minimal record shape; do not rediscover the schema during a run:
Classify an initializer or unvalidated revision as not_checked, ambiguous, or contradicted; never call it matched merely because routing or edit validation passed. Use matched and pinning only after both false-positive and false-negative validation passes. Preserve expected completeness as strongly as forbidden leakage.
Memory must not reduce cameras, renders, signed evidence, revisions, or visual inspection. It is advisory; dense labels and validations remain authoritative. If immediate required capture fails, retry the capture once. If it still fails, continue producing the best workflow artifacts, report the missing capture, and do not claim that the run satisfied its memory contract.
Recover, Defer, and Finish
Use ordinary operator judgment; do not turn recovery into another state machine.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagentic/.agents/skills/content-workflow-mesh-segmentation/SKILL.md
Popularity
- Repository stars
- 205
- Repository forks
- 25
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nvidia-omniverse/usd-content-agents/content-workflow-mesh-segmentation)