Foundationpose Setup
NVIDIAOfficialCreated by zwdoescodeDistributed by NVIDIA
- Skill
- Workflow
- Software development
- Apache-2.0
- Medium risk
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a structured workflow for installing, configuring, and repairing the FoundationPose perception pipeline. It covers environment setup, dependency management for SAM3 and TAO, and the construction of FoundationStereo TensorRT engines. The skill ensures that the runtime environment meets strict hardware and software requirements, including specific glibc versions and CUDA toolkit configurations, while providing diagnostic steps for common library and engine-loading failures.
What it does
- Performs preflight checks for system requirements like glibc, CUDA, and GPU access.
- Installs and synchronizes the FoundationPose pipeline environment using uv.
- Manages sibling dependencies including SAM3 and the FoundationPose inference library.
- Builds optimized FoundationStereo TensorRT engines based on scene-specific shapes.
- Verifies pipeline integrity through component-specific test scripts.
- Troubleshoots common dependency conflicts and library loading errors.
When to use it
- When performing an initial installation of the FoundationPose perception pipeline.
- When encountering library loading errors such as missing libcudart.so or GLIBC version mismatches.
- When needing to build or rebuild a TAO depth engine for a specific dataset or scene.
- When resolving dependency conflicts between SAM3, TAO Deploy, and the pipeline environment.
Advantages
- Ensures environment consistency by validating system-level requirements before installation.
- Provides clear procedures for handling machine-specific engine builds.
- Maintains clean separation between the pipeline, inference library, and model weights.
- Offers targeted troubleshooting steps for common runtime and build-time failures.
Usage examples
- “Install the FoundationPose perception pipeline on this Ubuntu 24.04 GPU machine.”
- The agent will verify system requirements, set up the Python venv, clone necessary repositories, and run the installation sync.
- “The pipeline cannot load libcudart.so.13 after I moved the checkout.”
- The agent will inspect the current environment paths and library links to resolve the runtime loading error.
- “Build the TAO depth engine for my adapted T-LESS scenes.”
- The agent will guide the user through the engine construction process using the adapted scene data and appropriate precision settings.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/nvidia/foundationpose-setup/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip foundationpose-setup.zip -d .agents/skills
Documentation by zwdoescode
FoundationPose perception pipeline setup
Purpose
Prepare the FoundationPose perception pipeline
for depth, segmentation, and pose inference. Environment installation and engine construction
belong here; dataset adaptation, inference, and pose evaluation belong to
foundationpose-pipeline when that skill is installed.
Requirements
Work from the product checkout, not the installed skill directory. Find the user's checkout by
checking for pyproject.toml (project foundationpose-perception-pipeline),
tools/build_tao_engine.py, and config/defaults.yaml. If absent and setup was requested, clone
the product URL above into the user's workspace and enter it. For advice-only requests, use the
supplied diagnostics without cloning or installing anything. Commands below use paths relative
to the product root; references/ links are relative to this skill.
Read the checkout's README.md Requirements and Install sections for the matching revision.
The supported stack requires Linux x86_64, glibc >= 2.38, GLIBCXX_3.4.31, NVIDIA driver >= 580,
a CUDA toolkit >= 12.8 with nvcc, Python 3.12, uv, Git, Docker with GPU access, wget, and unzip.
Start GPU sizing at 24 GB and measure the densest scene; 32 GB was tested. Budget depth-cache
disk as roughly width * height * 4 * 3 bytes per scene, plus predictions and models.
Keep sibling directories for sam3/, foundation-pose-inference-library/, and models/ beside
the product checkout. models/ contains the deployable ONNX and engine, not FoundationStereo source.
Instructions
Preflight before installing. Check glibc, GLIBCXX, driver,
nvcc, tools, and Docker GPU access. An Ubuntu 22.04 host with glibc 2.35 cannot load the shipped FoundationPose library; report the unsupported runtime and stop setup there. Do not replace system libc or try to solve this withLD_LIBRARY_PATH. See installation.Install into the product's Python 3.12 venv. Follow installation for uv, SAM3, the FoundationPose build, and TAO Deploy. On a fresh venv use
uv sync --extra foundationpose; on an existing venv useuv sync --inexact --extra foundationposeto preserve out-of-band packages.Verify checkpoint access. SAM3 is gated at Hugging Face; an existing authorized token or usable cached checkpoint is sufficient. Request user action only if access is missing. FoundationPose and the documented FoundationStereo export are public Hugging Face downloads; credential hunting is not the first response to a network failure.
Prepare the depth engine. Read engine construction. Use the user's ONNX location or the sibling
models/directory. Adapt the dataset before measuring the engine shape; usetools/bop_adapt/adapt.py --config <profile> --src <source>as described in the checkout's README Dataset adaptation section. Only registered adapters are supported. Build with--shape-from-sceneon an adapted scene and FP32 unless the user requests a precision experiment. Setoverrides.depth.engineinconfig/<profile>.yaml.Set runtime paths and verify. From the product root:
source .venv/bin/activate export FOUNDATIONPOSE_ROOT="$(realpath ../foundation-pose-inference-library)" PIPELINE_SITE="$(realpath .venv/lib/python3.12/site-packages)" export LD_LIBRARY_PATH="${PIPELINE_SITE}/tensorrt_libs:${PIPELINE_SITE}/nvidia/cu13/lib:${LD_LIBRARY_PATH:-}" python tools/verify_sam3.py python tools/verify_foundationpose.py python tools/verify_foundationstereo.py --config <profile> --engine <engine-path> python test/check_engine_depth_smoke.py --config <profile> --engine <engine-path>The first three verify components; the last also needs an adapted dataset. Expect
backend=tao,normalization=imagenet, the intended fixed shape, and nocropping N rowswarning. An unloaded or unavailable engine is an incomplete verification, not a pass.
Troubleshooting
| Symptom | Action |
|---|---|
GLIBC_2.38 not found | Use a supported OS/runtime; a venv or library search path cannot upgrade host libc. |
libcudart.so.13 missing | Check the product venv runtime wheels and absolute library paths before retrying pose. |
| SAM3 breaks after sync | Use --inexact; confirm numpy 1.26.x and reinstall the sibling SAM3 package if pruned. |
pycuda build cannot find cuda.h | Check the CUDA toolkit, nvcc on PATH, or CUDA_ROOT. |
| TAO import or dependency conflict | Use TAO Deploy 7.1.0 with --no-deps; sync declared dependencies with --inexact. |
| Engine sidecar mismatch or cropping | Rebuild for this GPU, TensorRT version, precision, and adapted scene shape. |
Examples
"Install the FoundationPose perception pipeline on this Ubuntu 24.04 GPU machine."
"The pipeline cannot load libcudart.so.13 after I moved the checkout."
"Build the TAO depth engine for my adapted T-LESS scenes."
Limitations and completion
Engines are machine-specific and must not be committed. With no dataset, download the ONNX and report shape-dependent engine construction and scene validation as pending; do not invent a rig shape. The pipeline's Apache license does not cover separately downloaded model weights; retain their upstream terms and SAM3's access requirements.
Report which preflight, install, checkpoint, engine, and verification steps actually passed, the checkout and engine paths, versions used, and remaining blockers. Do not equate installation or a smoke check with measured pose accuracy.
Files
- ATTRIBUTION.mdAdded by AutoGineer922 B
- BENCHMARK.md7.4 KiB
- LICENSELicence file added by AutoGineer11.2 KiB
- SKILL.md5.9 KiB
- agents/openai.yaml262 B
- evals/config.yml149 B
- evals/evals.json4.7 KiB
- references/engine.md3.4 KiB
- references/installation.md5.5 KiB
- skill-card.md4.2 KiB
- skill.oms.sig5.4 KiB
BENCHMARK.md
Skill Benchmark: foundationpose-setup
✅ Overall verdict: PASS — Recommended for publication
Publication Recommendation
Recommended for publication based on the completed evaluation evidence in this report.
Evaluation Metadata
Skill:
foundationpose-setupEvaluation date: 2026-09-15
Evaluator version:
1.5.6Agents: Claude Code (
aws/anthropic/bedrock-claude-opus-4-8), Codex (openai/openai/gpt-5.5)Tasks: 4 evaluation tasks (3 positive, 1 negative)
Dataset digest:
sha256:630465a8eabab5dc1555b505a71728ed5e9bf504f29da89fde0808baaa447d61(skill-evaluator-dataset-snapshot/1)Attempts per task: 3
Environment:
k8s-sandboxTier 2 evidence: required for publication
Tier 3 evidence: required for publication
Each task attempt ran in its own isolated sandbox pod.
What This Report Answers
The three-tier evaluation checks whether the skill:
is safe to use;
produces correct answers;
is discovered and activated when needed;
helps the agent complete the user's goal and expected workflow; and
avoids wasted skill and tool usage.
Results at a Glance
| Measure | Claude Code (Baseline → Skill Uplift) | Codex (Baseline → Skill Uplift) |
|---|---|---|
| Overall | 95.2% — baseline ran, but no comparable score was available; uplift unavailable | 92.7% — baseline ran, but no comparable score was available; uplift unavailable |
| Security | 100.0% → 100.0% (±0.0 points) | 100.0% → 100.0% (±0.0 points) |
| Correctness | 85.0% → 100.0% (+15.0 points) | 80.0% → 100.0% (+20.0 points) |
| Discoverability | 100.0% — baseline ran, but no comparable score was available; uplift unavailable | 86.7% — baseline ran, but no comparable score was available; uplift unavailable |
| Effectiveness | 74.4% → 99.4% (+25.0 points) | 62.1% → 86.3% (+24.2 points) |
| Efficiency | 76.5% — baseline ran, but no comparable score was available; uplift unavailable | 90.4% — baseline ran, but no comparable score was available; uplift unavailable |
How to read this table: baseline is the same task attempted without the target skill. Scores are rounded to one decimal; threshold-adjacent values use additional precision so their displayed band matches the verdict. Uplift is derived from those displayed scores and shown in percentage points.
Example: 47.0% → 92.0% (+45.0 points) means the skill-assisted run scored 92.0%, 45.0 percentage points above its 47.0% no-skill baseline.
A partial dimension was calculated from only the available configured signals; review the detailed report before relying on it.
Token Usage
Actual Tier 3 execution usage is reported for every observed agent/case pair and both conditions.
| Agent | Dataset case | With skill | Without skill | Delta | Change | Coverage |
|---|---|---|---|---|---|---|
| claude-code | All cases | 597,942 | 379,728 | +218,214 | +57.47% | skill 4/4; base 4/4 |
| claude-code | setup-context-engine-shape | 190,170 | 145,461 | +44,709 | +30.74% | skill 1/1; base 1/1 |
| claude-code | setup-explicit-os-floor | 97,439 | 97,282 | +157 | +0.16% | skill 1/1; base 1/1 |
| claude-code | setup-implicit-repair | 279,618 | 106,036 | +173,582 | +163.70% | skill 1/1; base 1/1 |
| claude-code | setup-negative-dataset-results | 30,715 | 30,949 | -234 | -0.76% | skill 1/1; base 1/1 |
| codex | All cases | 276,000 | 261,531 | +14,469 | +5.53% | skill 4/4; base 4/4 |
| codex | setup-context-engine-shape | 81,772 | 88,279 | -6,507 | -7.37% | skill 1/1; base 1/1 |
| codex | setup-explicit-os-floor | 76,845 | 101,292 | -24,447 | -24.14% | skill 1/1; base 1/1 |
| codex | setup-implicit-repair | 103,490 | 58,226 | +45,264 | +77.74% | skill 1/1; base 1/1 |
| codex | setup-negative-dataset-results | 13,893 | 13,734 | +159 | +1.16% | skill 1/1; base 1/1 |
| ALL AGENTS | Dataset aggregate | 873,942 | 641,259 | +232,683 | +36.29% | skill 8/8; base 8/8 |
Prompt tokens include cached reads, so total tokens are prompt + completion (cached is not added twice). The Efficiency score uses (prompt - cached) + completion. N/A means the relevant trajectory counters were not available; coverage is never estimated.
Tier Status
| Tier | Purpose | Status | Evidence |
|---|---|---|---|
| Tier 1 | Static validation | PASSED WITH OBSERVATIONS | 11 validator(s); 3 finding(s) |
| Tier 2 | Semantic deduplication | PASSED | 2 validator(s); 0 finding(s) |
| Tier 3 | Live agent evaluation | PASS | 2 agent(s); 4 task(s) |
Findings and Observations
<details> <summary>Show detailed findings and successful checks</summary>
MEDIUM QUALITY/quality_correctness: SKILL_SPEC recommended field missing: 'metadata.tags' (
skills/foundationpose-setup/SKILL.md)MEDIUM SECURITY/Unknown (RP1): MCP Rug Pull: The command
docker run --rm --gpus=all ubuntu:24.04 nvidia-smiusesubuntu:24.04without a digest (SHA256 pinned ref (references/installation.md:17)LOW QUALITY/quality_discoverability: Description very long (214 chars, recommend 50-150) (
skills/foundationpose-setup/SKILL.md)
</details>
Scoring Methodology
<details> <summary>Show dimension definitions, source signals, and thresholds</summary>
| Dimension | Question | Scored signals |
|---|---|---|
| Security | Is it safe to use? | security (100%) |
| Correctness | Is the answer correct? | accuracy (100%) |
| Discoverability | Was the right skill loaded when needed? | skill_execution (100%) |
| Effectiveness | Did the skill help complete the task? | goal_accuracy (50%) + behavior_check (50%) |
| Efficiency | Did it avoid wasted tool calls and token usage? | skill_efficiency (50%) + token_efficiency (50%) |
Dimension bands: PASS at 50% or above; NEUTRAL from 40% to below 50%; FAIL below 40%.
Overall Tier 3 lift: PASS at +5 points or more; FAIL at -10 points or less; values between those bands are NEUTRAL.
Overall verdict: PASS only when every configured dimension passes for at least one supported agent. Lift is reported as diagnostic evidence and does not override this gate.
The 50% attempt pass threshold is a separate per-task gate; it is not the dimension pass threshold.
Effectiveness is the equal-weight mean of goal completion (
goal_accuracy) and expected workflow adherence (behavior_check).Efficiency is 50% tool-call productivity (the backward-compatible
skill_efficiencywire id) and 50%token_efficiency. Positive-case skill routing is scored under Discoverability, not Efficiency; a negative case without a routing target is N/A. N/A sources are omitted, remaining weights are renormalized, and the dimension is marked partial.
Signals present in this run:
security(Security): unsafe operations, secret leakage, and unauthorized access.skill_execution(Skill Execution): whether the expected skill was selected, decoys were avoided, and the workflow executed.skill_efficiency(Tool Productivity): tool-call productivity (legacy wire id; routing is scored under Discoverability).accuracy(Accuracy): final-answer correctness against the reference answer.goal_accuracy(Goal Accuracy): whether the user's goal was achieved.behavior_check(Behavior Check): whether the expected workflow behavior was followed.token_efficiency(Token Efficiency): actual uncached prompt plus completion usage (50% of Efficiency).
</details>
Freshness
Regenerate this benchmark when the skill, evaluation dataset, target agent/model, evaluator version, environment, or scoring policy changes.
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs Python
Security
What our scanner noticed· Medium risk
- Large base64-encoded blobs
- Instructions that use the network
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- zwdoescode
- Publisher
- NVIDIA (Official)
- Distributed by
- NVIDIA
- Source
- NVIDIA/skills · skills/foundationpose-setup · commit fce3cca
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE-APACHE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by zwdoescode or NVIDIA.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download foundationpose-setup.zip