
i4h Workflow Setup
OfficialFreeBootstrap your agentic workflow with ease.
Free · Opens the source repo
What i4h Workflow Setup does
The i4h Workflow Setup skill simplifies the process of preparing your environment for the agentic workflow. It verifies host requirements and executes the workflows/agentic/setup.sh script, which is designed to bootstrap the necessary components for running agentic workflows. This skill is particularly useful when you encounter issues such as a missing .venv, third-party checkouts, or engine errors, allowing you to quickly set up your environment without having to manually troubleshoot each component.
This skill operates in a Linux environment and requires specific dependencies, including uv, git, and an NVIDIA driver/GPU. The setup process is idempotent, meaning you can run it multiple times without adverse effects, which is beneficial for ensuring that your environment is correctly configured. The skill also provides clear logging and verification steps to help you monitor the setup process and confirm that all components are functioning as expected.
Designed for developers and data scientists who are working with NVIDIA's i4h workflows, this skill streamlines the initial setup phase, allowing you to focus on building and deploying your applications. By automating the setup process, it reduces the potential for human error and saves time during the onboarding of new projects or environments.
Overall, the i4h Workflow Setup skill is a valuable tool for anyone looking to efficiently establish their agentic workflow environment, ensuring that all prerequisites are met and that the necessary components are correctly configured.
When to use it
Use this skill when you need to set up or bootstrap the agentic workflow, especially after encountering setup errors or missing components.
When not to use it
Avoid using this skill if you are not operating in a Linux environment or do not have the required NVIDIA hardware and software dependencies.
What you can build with it
Initial Setup for New Projects
Use the skill to quickly set up the agentic workflow environment when starting a new project, ensuring all dependencies are met.
Resolving Setup Errors
If you encounter missing components or errors during setup, this skill can help you quickly bootstrap the environment again.
Environment Consistency
Run the skill to ensure that your development environment is consistently set up across different machines or setups.
How to install i4h Workflow Setup
View source1. Install with the skills CLI
npx skills add nvidia/skills/i4h-workflow-setup --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by nvidiai4h Workflow — Setup
Purpose
Verify host requirements and run the idempotent workflows/agentic/setup.sh to bootstrap the agentic workflow. Use when asked to set up, install, or bootstrap the workflow, or when hitting a missing .venv, third-party checkout, or engine error.
Base Code
These steps drive the i4h-workflows base code (the workflows/agentic/ tree). To reuse an existing checkout, set I4H_WORKFLOWS to its path (no clone happens). Otherwise this resolves the current repo, or clones to ~/i4h-workflows — pick that default without prompting. Run every command below from the resolved root:
# Resolve the i4h-workflows base code (provides workflows/agentic/).
ROOT="${I4H_WORKFLOWS:-$(git rev-parse --show-toplevel 2>/dev/null)}"
if [ ! -d "$ROOT/workflows/agentic" ]; then
ROOT="${I4H_WORKFLOWS:-$HOME/i4h-workflows}"
[ -d "$ROOT/workflows/agentic" ] || git clone https://github.com/isaac-for-healthcare/i4h-workflows "$ROOT"
fi
export I4H_WORKFLOWS="$ROOT"; cd "$ROOT"
Basics
workflows/agentic/setup.shis the idempotent setup entry point.- Cosmos setup is separate; invoke only when the user asks for Cosmos or video transfer.
Preflight
command -v uv
command -v git
nvidia-smi
df -h .
Required: Linux, uv, git, NVIDIA driver/GPU, disk space for third-party checkouts. Docker is optional unless using Cosmos or local VLM containers.
Run the steps below in order. Each step is a separate bash call; variables persist in the local agent's tmux session.
Step 1 — resolve repo and run dir
REPO_ROOT="${I4H_WORKFLOWS:-$(git rev-parse --show-toplevel 2>/dev/null)}"; [ -d "$REPO_ROOT/workflows/agentic" ] || REPO_ROOT="$HOME/i4h-workflows"
RUN_DIR="${REPO_ROOT}/workflows/agentic/runs/setup_$(date +%Y%m%d_%H%M%S)"
mkdir -p "${RUN_DIR}/logs"
ln -sfn "${RUN_DIR}" "${REPO_ROOT}/workflows/agentic/runs/.latest"
Step 2 — run setup
On a freshly cloned repo the harness may ask to approve setup.sh once. Set I4H_WORKFLOWS to a pre-existing trusted clone to skip the fresh-clone gate.
"${REPO_ROOT}/workflows/agentic/setup.sh" > "${RUN_DIR}/logs/setup.log" 2>&1
Watch progress with tail -f "${RUN_DIR}/logs/setup.log". For component-specific retries (also idempotent):
"${REPO_ROOT}/workflows/agentic/third_party/setup.sh"
"${REPO_ROOT}/workflows/agentic/policy/gr00t_n16/setup.sh"
Verify
"${REPO_ROOT}/workflows/agentic/policy/run.sh" --list-envs
"${REPO_ROOT}/workflows/agentic/arena/run.sh" --list-envs
"${REPO_ROOT}/workflows/agentic/policy/run.sh" --env scissor_pick_and_place --dry-run
"${REPO_ROOT}/workflows/agentic/arena/run.sh" --env scissor_pick_and_place --dry-run
Prerequisites
- Linux host with
uv,git, and an NVIDIA driver/GPU (check via the Preflight commands). - Disk space for the third-party checkouts (
df -h .). - Docker only when using Cosmos or local VLM containers; otherwise optional.
Limitations
- Linux only; requires an NVIDIA driver/GPU.
- Cosmos setup is separate —
setup.shdoes not run it; invoke Cosmos only when the user asks for it. - Verify steps use
--list-envsand--dry-run; they confirm envs register and build, not that a full rollout works.
Troubleshooting
- Error:
uv/git/nvidia-sminot found — Cause: missing host requirement. Fix: install it and re-run Preflight beforesetup.sh. - Error: a single component fails partway through setup — Cause: a checkout or component venv did not finish. Fix: re-run that component's script (e.g.
third_party/setup.sh,arena/setup.sh,policy/setup.sh); all are idempotent. - Error:
--list-envsor--dry-runfails after setup — Cause: setup incomplete or a component venv missing. Fix: inspect${RUN_DIR}/logs/setup.log(orworkflows/agentic/runs/.latest/logs/setup.log) and re-runsetup.shor the failing component script. - Error:
setup.shfails instantly redirecting to a missing log dir — Cause: Step 2 ran before Step 1, so${RUN_DIR}/logsdoes not exist. Fix: run Step 1 first, then Step 2.
Final Response
Report setup status, failed component (if any), relevant log path, next recommended smoke test.
Frequently asked questions about i4h Workflow Setup
Similar skills
Turborepo
Optimized build system for JavaScript/TypeScript monorepos.
Azure Pipelines Validation
Streamline your Azure DevOps pipeline changes locally.
Azure Developer CLI
Streamline your Azure project workflows with best practices.
Azure Container Registry CLI
Manage Azure Container Registry resources with ease.
Aspire
Build and orchestrate polyglot distributed applications seamlessly.
Vercel CLI
Manage and deploy Vercel projects from the command line.
