IsaacCapture / sharpa_avatar
AGENTS.md390 starsChanged 6 months agoApache-2.0View on GitHub
CRITICAL: Before editing this tree, read this file and the repo root AGENTS.md. - Keep the Avatar SDK external. install_avatar_sdk.sh installs the official package under /opt/avatar-sdk; the build consumes the selected SDK root in place (-DAVATAR_SDK_ROOT > $AVATAR_SDK_ROOT > /opt/avatar-sdk). Do not copy, patch, or package SDK files. - Install the pinned production avatar-sdk package from the signed production channel, and never substitute -dev or -beta. Do not parse or duplicate production_version: CMake calls install_avatar_sdk.sh --check, which holds the default…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- deps/cloudxr/webxr_client/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- examples/teleop_ros2/AGENTS.mdAGENTS.md
- src/core/AGENTS.mdAGENTS.md
- src/core/codegen/AGENTS.mdAGENTS.md
- src/core/deviceio_base/AGENTS.mdAGENTS.md
- src/core/deviceio_session/AGENTS.mdAGENTS.md
- src/core/deviceio_trackers/AGENTS.mdAGENTS.md
- src/core/live_trackers/AGENTS.mdAGENTS.md
- src/core/log_bridge/AGENTS.mdAGENTS.md
- src/core/replay_trackers/AGENTS.mdAGENTS.md
- src/core/schema/AGENTS.mdAGENTS.md
- src/python/isaaccapture/logging_config/AGENTS.mdAGENTS.md
- src/viz/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- .cursor/rules/cmake-structure.mdcCursor rule
- cmake-structureSkill
- rebot-orin-setupSkill
- rebot-orin-setupSkill
The file
We split this AGENTS.md into the rules it gives an agent
11 rules. About 0 are common, 2 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
CRITICAL: Before editing this tree, read this file and the repo root AGENTS.md.
- Very specific: line 25
After rebasing, verify the root option is still gated through src/plugins/CMakeLists.txt.
- Very specific: line 30
Keep installer responsibilities separate: SDK/APT in install_avatar_sdk.sh, host device permissions in install_udev_rules.sh, and plugin …
- Very specific: line 35
Do not mutate loader environment variables or SDK configuration at runtime.
- Very specific: line 41
Keep shared enum iteration tables in one scope.
- Very specific: line 43
Use plugin_utils::WristPoseSource for world-space wrist placement.
- Very specific: line 45
When that query is invalid (no headset optical pose and no controller), still inject HUMAN at identity with VALID-only flags.
- Very specific: line 50
Keep initialization non-blocking.
- Very specific: line 51
Keep the static HUMAN-to-OpenXR index table synchronized with the pinned production SDK's landmark order.
- Distinctive: line 56
When reconciling the maintained feature branch, use it as the baseline and retain local divergence only for an explicit API or correctness …
- Very specific: line 58
Keep this plugin tree C++-only (core/ + app/).
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!--
SPDX-FileCopyrightText: Copyright (c) 2025-2026 Avatar SDK contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->Sharpa Avatar plugin — agent notes
CRITICAL: Before editing this tree, read this file and the repo root
AGENTS.md.
- Keep the Avatar SDK external.
install_avatar_sdk.shinstalls the official package under/opt/avatar-sdk; the build consumes the selected SDK root in place (-DAVATAR_SDK_ROOT>$AVATAR_SDK_ROOT>/opt/avatar-sdk). Do not copy, patch, or package SDK files. - Install the pinned production
avatar-sdkpackage from the signed production channel, and never substitute-devor-beta. Do not parse or duplicateproduction_version: CMake callsinstall_avatar_sdk.sh --check, which holds the default root to the full pin (layout,BUILD_TYPE=Production, dpkg package version) and layout-checks a custom root, where a non-production build only warns. Do not pinVERSION=fromshare/Version; the dpkg package version is authoritative. - Linux only.
BUILD_PLUGIN_SHARPA_AVATAR=ONwith no usable SDK under the selected root skips this plugin; it must notFATAL_ERRORthe rest of the tree. The SDK check runs only after that layout is present. - After rebasing, verify the root option is still gated through
src/plugins/CMakeLists.txt; defining the option alone does not create theavatar_hand_plugintarget. - APT signing keys: require the pinned fingerprints to be present. Do not demand exact set equality (extra fingerprints from key rotation are allowed).
- Keep installer responsibilities separate: SDK/APT in
install_avatar_sdk.sh, host device permissions ininstall_udev_rules.sh, and plugin build/install through the repository's top-level CMake workflow. - Installers must not delete files derived from a configured install prefix.
- Do not mutate loader environment variables or SDK configuration at runtime.
Runtime paths come from the selected SDK root and its
sdk_config.json. - Carry Avatar SDK enums such as
DeviceSideandDeviceDataCategorythrough plugin internals; convert only at an existing external API boundary. - Adapt this plugin to shared APIs; do not refactor other plugins or shared modules solely to change this plugin's internal representation.
- Keep shared enum iteration tables in one scope; a public
kDeviceSidesor category table must not have a same-named private duplicate. - Use
plugin_utils::WristPoseSourcefor world-space wrist placement. Do not copy the Manus/XDev/controller fallback implementation into this plugin. When that query is invalid (no headset optical pose and no controller), still inject HUMAN at identity with VALID-only flags; do not skipHandInjector::push. HandsSource/live_viewotherwise stay empty. - OpenXR setup is required for publication; initialization errors must abort construction instead of leaving an Avatar-only idle plugin.
- Keep initialization non-blocking;
update()owns retries for absent gloves. - Keep the static HUMAN-to-OpenXR index table synchronized with the pinned
production SDK's landmark order. Do not read joint names from
sdk_config.jsonat runtime or fill unsupported OpenXR slots with neighbouring poses. Refresh that table and the example's RAW/ROBOT name snapshots together with the package pin. - When reconciling the maintained feature branch, use it as the baseline and retain local divergence only for an explicit API or correctness requirement.
- Keep this plugin tree C++-only (
core/+app/). The TeleopSession sample lives atexamples/sharpa_avatar/(live_view.py) and runs aspython -m isaaccapture_examples.sharpa_avatar. Do not put Python samples undersrc/plugins/sharpa_avatar/, and do not add SDK-only diagnostic printers that bypass Isaac Capture.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

