vss-build-vision-ai
Add agent-ready vision capabilities — dense captioning, detection, search, alerting, summarization — to an agent or application through a customizable, self-contained vision stack built on the NVIDIA VSS Blueprint. Use this skill when a developer or agent wants to give their app vision: pick capabilities via guided intake ("build a vision agent", "add vision capabilities") or describe them in natural language ("create a profile for streaming dense captioning", "add agentic search to my base deployment", "deploy warehouse 3d"). Route, compose, configure, and deploy stock base, alerts, LVS, search developer profiles, or the warehouse industry profile and lean custom combinations expressed as delta overlays using one current developer profile as the Foundation. Not for operating a stack that is already deployed — searching, asking about a video, summarizing, managing alerts, or generating a report — and not for deploying a single microservice on its own; use the matching vss-* skill for those.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- vss-build-vision-ai
- license
- Apache-2.0
- metadata
- { "tags": "nvidia blueprint orchestration deployment compose code-generation", "version": "3.2.0", "github-url": "https://github.com/NVIDIA-AI-Blueprints/video-search-and-summarization" }
- description
- Add agent-ready vision capabilities — dense captioning, detection, search, alerting, summarization — to an agent or application through a customizable, self-contained vision stack built on the NVIDIA VSS Blueprint. Use this skill when a developer or agent wants to give their app vision: pick capabilities via guided intake ("build a vision agent", "add vision capabilities") or describe them in natural language ("create a profile for streaming dense captioning", "add agentic search to my base deployment", "deploy warehouse 3d"). Route, compose, configure, and deploy stock base, alerts, LVS, search developer profiles, or the warehouse industry profile and lean custom combinations expressed as delta overlays using one current developer profile as the Foundation. Not for operating a stack that is already deployed — searching, asking about a video, summarizing, managing alerts, or generating a report — and not for deploying a single microservice on its own; use the matching vss-* skill for those.
02 资源文件 52
- 参考文档config/skillspector-baseline.yml654 B
- 参考文档eval/profile_an_1_stored_video_summarization_api.json3.6 KB
- 参考文档eval/profile_an_1_stored_video_summarization_runtime_harbor.json10.3 KB
- 参考文档eval/profile_at_1_alert_verification.json4.1 KB
- 参考文档eval/profile_combined_alerts_search_harbor.json17.6 KB
- 参考文档eval/profile_in_1_streaming_dense_captions.json9.8 KB
- 参考文档eval/profile_in_2_rt_cv_person_detection_harbor.json8.5 KB
- 参考文档eval/profile_in_3_ingestion_detection_embeddings_harbor.json9.1 KB
- 参考文档eval/profile_search_standalone_harbor.json17.0 KB
- 参考文档eval/profile_sop_1_compliance_monitoring.json10.0 KB
- 参考文档eval/profile_wh_1_3d_depth_perception.json4.7 KB
- 参考文档eval/profile_wh_2_2d_agent_chat.json6.2 KB
- 参考文档references/agent-harness.md28.6 KB
- 参考文档references/brev.md7.2 KB
- 参考文档references/composition.md17.0 KB
- 参考文档references/credentials.md6.6 KB
- 参考文档references/data-directory.md8.4 KB
- 参考文档references/deployment_resolution.md18.0 KB
- 参考文档references/deployment.md6.3 KB
- 参考文档references/edge.md13.4 KB
- 参考文档references/env-overrides.md4.1 KB
- 参考文档references/ngc.md3.2 KB
- 参考文档references/prerequisites.md17.6 KB
- 参考文档references/profiles/alerts.md4.1 KB
- 参考文档references/profiles/base.md3.5 KB
- 参考文档references/profiles/lvs.md3.8 KB
- 参考文档references/profiles/search.md5.8 KB
- 参考文档references/profiles/warehouse.md26.2 KB
- 参考文档references/readiness.md6.2 KB
- 参考文档references/services/agent.md4.0 KB
- 参考文档references/services/alerts.md6.6 KB
- 参考文档references/services/behavior-analytics.md4.8 KB
- 参考文档references/services/configurator.md3.0 KB
- 参考文档references/services/elk.md4.1 KB
- 参考文档references/services/ingress.md14.6 KB
- 参考文档references/services/llm-nim.md1.5 KB
- 参考文档references/services/lvs.md1.8 KB
- 参考文档references/services/rt-cv.md7.6 KB
- 参考文档references/services/rt-embed.md3.7 KB
- 参考文档references/services/rt-vlm.md11.0 KB
- 参考文档references/services/search.md3.5 KB
- 参考文档references/services/sop.md16.2 KB
- 参考文档references/services/sop/build-ds-sop.md8.3 KB
- 参考文档references/services/sop/deploy-ds-sop.md22.7 KB
- 参考文档references/services/sop/integrate-ds-sop.md19.7 KB
- 参考文档references/services/sop/sop-report/sop-report-override.yml3.6 KB
- 参考文档references/services/video-analytics-api.md4.8 KB
- 参考文档references/services/vios.md3.4 KB
- 参考文档references/services/vlm-nim.md1.6 KB
- 参考文档references/sizing.md14.9 KB
- 参考文档references/teardown.md8.9 KB
- 参考文档references/troubleshooting.md13.5 KB
03 SKILL.md 正文
Build Vision Agent
build-vision-ai gives agents and developers agent-ready vision capabilities through a customizable, self-contained application stack built on the NVIDIA VSS Blueprint. A developer or agent adds vision to their application by selecting the capabilities they want (guided intake) or describing them in natural language, and the skill routes to a validated developer profile — or composes the smallest delta overlay on top of one — and deploys it. Use it whenever the user wants vision capabilities composed for them: deploying a stock profile, extending a running deployment, or building a lean custom combination.
Two ways in: guided intake (state an open intent like "build a vision agent" / "add vision capabilities" and the skill walks you through capability selection) or prompt-driven (name the capability or profile directly). Both land on the same routing and composition flow.
References
references/composition.md— delta-profile rules, Foundation selection, build artifact contract, resolution, and validation.references/deployment.md— resolved Compose deployment lifecycle.references/agent-harness.md— the in-stackvss-agentand host-side NemoClaw harnesses, why at most one is deployed and what removing the agent costs, NemoClaw's default model provider, and its post-readiness bring-up.references/deployment_resolution.md— deployment publication ofVSS_PUBLIC_URL, public-route mappings, and the endpoint contract consumed by operate skills.references/teardown.md— default project-volume cleanup, explicit cache-preserving teardown, stale-volume removal, and bind-mounted data cleanup.references/prerequisites.md,references/credentials.md, andreferences/ngc.md— host, GPU runtime, firewall, credential, entitlement, and NGC checks.references/sizing.md— consolidated developer-profile sizing, model placement, shared-GPU budgets, stream capacity, utilization tuning, and validation.references/edge.md— DGX Spark and Thor routing, unified-memory budgeting, cache management, and edge model recipes.references/env-overrides.md,references/data-directory.md,references/readiness.md,references/troubleshooting.md, andreferences/brev.md— deployment checks, mandatory data-directory preparation, and environment-specific runtime guidance.references/profiles/— current developer profile capabilities, exact service sets, owner mappings, knobs, readiness checks, and sources.references/services/— capability-owner contracts for service keys, required peers, configurable environment knobs, and sources.
Routing
| Request | Route |
|---|---|
Deploy, start, run, verify, or stop a named base, alerts, lvs, or search profile |
Stock mode for that profile. |
| Any warehouse request — deploy, run, verify, stop, customize | references/profiles/warehouse.md owns every warehouse fact. It carries no intake questions and no step sequence — variant selection is Q2w below, and the lifecycle is the shared Steps. Warehouse registers its own sources via bp-configurator-<mode>; never hand-provision one. Select a variant per Q2w and expand its COMPOSE_PROFILES_WH_* list verbatim. Warehouse is variant selection, not composition: to change the shape of a deployment, select a different variant. |
| Deploy capabilities that exactly match one current developer profile | Stock mode for the exact match. |
| Build, create, extend, customize, combine, add, or remove capabilities | Delta mode using the closest current developer profile as the Foundation. |
| A named profile qualified as headless | Delta mode off that profile, not a stock deploy. |
| Deploy capabilities with no exact match | Build the smallest delta, then deploy it. |
| Drive the build from NemoClaw / OpenClaw / Hermes, a sandbox, or a chat UI instead of the in-stack agent | Warehouse does not support NemoClaw yet. The NemoClaw harness (references/agent-harness.md): a host-side harness step after readiness, plus one removal from the service set — vss-agent, since exactly one harness is deployed. That removal makes it a Delta build. Never add a nemoclaw key to COMPOSE_PROFILES. |
| Install the harness against an already-deployed build (no composition requested) | references/agent-harness.md bring-up alone — resolve the origin from the running build, skip Steps 5–8. |
| Provision, register, or ingest a source (file or live stream) into a deployed build, or fan it out to consumers | vss-manage-video-io-storage references/provision-vios-source.md — headless, direct REST (resolve consumer ports from resolved.yml, confirm no vss-agent); not vss-search-archive. |
| Resolution leaves a blocker the rules cannot settle (unmapped or ambiguous capability, Foundation tie, singleton conflict, or requested/excluded contradiction) | Clarification gate (references/composition.md): after one deterministic pass, ask one structured question, then resolve on the answer. Never re-run the same resolution or guess past the blocker. |
smartcities or another industry profile |
Stop: warehouse is the only supported industry Foundation. |
| Open / generic / "quickstart" intent with no named capability or profile | Guided front door (Q1): Pre-built workflow (Stock mode) or Custom build (Delta mode). |
Every "Stock mode" row above is conditional on Q3. Each of base, alerts, lvs, and search ships vss-agent, which Q3 removes on either answer — so a stock route that reaches Q3 becomes a Delta build. Stock survives only where the profile carries no agent, where the request names the in-stack agent and so skips Q3, or on a warehouse variant, none of which reach Q3 at all (see Q2w).
Entry Mode (Step 0)
Before routing, detect the entry mode — one of three: Prompt-driven, Pre-built workflow, or Custom build. All three share the same downstream machinery (profile catalog, Foundation selection, delta composition, resolution, and deployment); the mode only determines where the flow enters. Pre-built workflow is a fast path — it deploys a validated developer profile's authoritative service set unchanged in Stock mode (no capability delta), still producing a minimal stock _builds/<name>/ for the shared validate -> deploy -> readiness -> teardown lifecycle — while Custom build is a guided front door onto Delta mode.
Step 0.0 — Entry-mode detection
Classify the request before any other work:
- A concrete capability, microservice, profile, or existing deployment is named (e.g. "create a profile for streaming dense captioning", "add agentic search to my base deployment", "deploy the alerts profile") → Prompt-driven. Parse inputs and continue at Step 1.
- An open / generic / first-time / "quickstart" intent with no extractable capability (e.g. "build a vision agent", "add vision capabilities", "help me get started", "just deploy something"), or no capability description at all → open the guided front door (Q1 below), which leads with Pre-built workflow (the recommended default) and offers Custom build.
- Ambiguous → ask one disambiguating question, or default to the guided front door (it is safe, reversible, and explicit: the user makes selections before anything is generated or deployed). Never silently assume a capability or fall back to a default profile.
Guided front door — Q1
Ask via AskUserQuestion (single-select). Generate or deploy nothing until the user selects AND confirms downstream (the deploy prompt for Pre-built workflow; the Step 6 architecture diagram for Custom build).
Q1 — Starting point. "How would you like to start?"
- Deploy a pre-built developer workflow (recommended for a first run / quickstart) — Choose from a ready-made, validated VSS developer profile. Fastest path to a running system; no composition needed. Deploys as-is; you can customize it afterward. → Q2a
- Deploy a pre-built industry blueprint — Warehouse multi-camera perception (2D RT-DETR or 3D Sparse4D) with behavior analytics. Deployed as-is. → Q2w
- Build a custom configuration — pick the specific vision capabilities you need and let the skill compose the smallest delta overlay for them. → Q2b
Mode: Pre-built workflow (quickstart)
The recommended first-run path. Deploys a validated developer profile via Stock mode — it keeps the profile's authoritative COMPOSE_PROFILES unchanged (no delta: no added or removed profile keys, no new service composes), then writes and deploys the standard stock _builds/<name>/ artifacts like any other build (Steps 5-9). Ask Q2a (single-select): "Which pre-built workflow do you want to deploy?" and map the choice to the developer profile:
| Option | Capability | Profile |
|---|---|---|
| Base | VLM dense captioning and Q&A | base |
| Alerts | VLM real-time alerting or alert verification | alerts (mode picked in Q2a-mode) |
| Video Summarization | Time-windowed video summaries | lvs |
| Search | Object and video embeddings + agentic search | search |
Four-option limit.
AskUserQuestionshows at most four options per question (single- or multi-select), so Q2a must stay at the four developer profiles above. Thealertsprofile's two modes are not separate top-level rows (that would be a fifth option and get silently dropped); they are chosen in a follow-up, Q2a-mode, below. More generally, any question that needs more than four choices must not use theAskUserQuestionwidget — present the options inline in the conversation and collect a typed reply instead (see Q2b, which does this for the capability multi-select).
Q2a-mode — only when the user picks Alerts (single-select): "Which alerts mode?" The alerts developer profile ships two modes, selected by its MODE knob; each has its own checked-in COMPOSE_PROFILES set in dev-profile-alerts/overrides.env, so both are still stock deployments (no delta):
| Option | Capability | Mode |
|---|---|---|
| Real-time alerting | Continuous RT-VLM inspection + real-time alert APIs | 2d_vlm |
| Alert verification | Object detection with analytics and VLM event contextualization (RT-CV detection + behavior analytics + VLM verification + incidents) | 2d_cv |
These are predefined developer profiles — the skill keeps the profile's authoritative COMPOSE_PROFILES unchanged (Stock mode, Step 5 exact match) and follows the shared build lifecycle (Steps 5–9). For Alerts, set the profile MODE per Q2a-mode.
All four then reach Q3, which removes vss-agent on either answer and makes the build a Delta. The quickstart is still the fast path — one removal, no added keys — but report it as a delta in the Step 6 diagram and the final summary rather than calling it a stock deploy. Keep it out of the Q3 question itself, per Keep the question about the harness. On lvs and search, a no is worth a sentence of its own: the Web UI reaches summarization and text search only through the agent, so with no harness those capabilities are vss summarize and vss search from the host, with the UI left as a dashboard.
Customize a pre-built workflow → Custom build. After a pre-built deploy (or instead of deploying), offer: "Want to customize this workflow? I'll use <selected profile> as the starting point." On yes, transition into Custom build, seeding the selected profile as the Foundation and computing a capability delta on top of it (the profile itself is never modified — it is only the baseline). The stock build becomes a Delta build: the same _builds/<name>/ machinery now carries the added/removed profile keys and any changed knobs.
Mode: Pre-built industry blueprint (warehouse)
Reached from Q1 → industry blueprint, or when the request names warehouse
directly. Expand the selected variant's service list verbatim — warehouse is
variant selection, not composition, so there is no delta path. Read
references/profiles/warehouse.md before
asking, and apply its Hard constraints while asking, not after. Apply any build
requirements its Profile Service Set states.
Up to five single-select questions, each inside the four-option cap. Describe each option from warehouse.md's Profile Service Set table; do not restate its service lists here, or this table drifts from the one that is authoritative:
| Question | Options |
|---|---|
| Q2w-mode — "Which warehouse mode?" | 2d (RT-DETR) · 3d (Sparse4D, depth-aware) · mv3dt (multi-view 3D tracking, BEV fusion) · auto-calibration (produce a calibration) |
| Q2w-profile — "Which deployment variant?" | bp_wh · bp_wh_kafka · bp_wh_redis |
| Q2w-size — "Minimal or extended?" | Extended · Minimal |
| Q2w-dataset — "Which sample dataset?" | nv-warehouse-4cams · warehouse-loading-dock-3cams-synthetic · warehouse-4cams-20mx20m-synthetic |
| Q2w-datatype — "Is this footage real or synthetic?" | real · synthetic |
Filter the remaining options rather than validating the answers afterwards. Both filters below are warehouse.md's to state; it is the source of truth for why, and this list only says when to apply them:
- Omit
bp_whfrom Q2w-profile unless Q2w-mode is2d— Hard constraints:bp_whis 2D-only. Leaving it selectable turns an impossible deployment into a late runtime failure. - Skip Q2w-profile and Q2w-size entirely when Q2w-mode is
auto-calibration— that mode pairs only withbp_wh_auto_caliband has a single list, so both answers are forced. - Skip Q2w-size entirely for
bp_wh— the Profile Service Set table lists no minimal variant for it. - Ask Q2w-datatype only when Q2w-mode is
3dand the dataset is not one of the three shipped.DATASET_TYPEis inert outside3d, and for the shipped datasets it is determined, not chosen —nv-warehouse-4camsisreal, both*-syntheticaresynthetic— so derive it and do not ask. Only custom footage carries no inferable provenance. A custom dataset arrives through a prompt-driven request rather than Q2w-dataset, which offers the shipped three only, so this question fires on that path. - Ask Q2w-dataset for every mode, including
auto-calibration. Dataset and mode are independent — all three ship calibration for2d,3dandmv3dt, and auto-calibration needs to know which dataset it is calibrating. SetNUM_STREAMSto the chosen dataset's camera count (4 / 3 / 4); that is the Hard constraint that survives, and there is no dataset ↔ variant pairing rule.
The answers select exactly one COMPOSE_PROFILES_WH_* list. Record its name in
FOUNDATION_VARIANT, expand it verbatim into COMPOSE_PROFILES, and continue
at Step 2 with FOUNDATION=warehouse.
Only COMPOSE_PROFILES_WH_2D (bp_wh) carries vss-agent; the Kafka, Redis,
and minimal variants ship agentless. No warehouse variant reaches
Q3: the agentless ones have no agent to remove, and
selecting bp_wh is naming the in-stack agent, since that is the only thing
distinguishing it from bp_wh_kafka. So vss-agent is kept, the list is
expanded verbatim with no edits, and every warehouse deploy is a Stock deploy.
The shared lifecycle applies from there, with four warehouse divergences: skip
Step 4 (references/composition.md is the delta flow), Step 5's
effective service set is already fixed above, Step 7 additionally writes
configurator.env, and Step 8 resolves through
references/profiles/warehouse.md rather
than the delta flow in references/composition.md.
Mode: Custom build (guided)
For a user who wants a specific composition. Reached from Q1 → Custom build, or by customizing a pre-built workflow (seeded with that profile as the Foundation). Ask Q2b (multi-select): "Which vision capabilities do you want? (select all that apply)" Each option maps to canonical service-profile keys owned by a capability owner under references/services/. Video I/O + storage (VIOS) is always included — every profile needs it — along with the shared redis cache peer that ships with the Foundation; present these as informational, not as choices. The ELK + Kafka message bus / indexing stack is not unconditional: it is added only when a selected capability is Kafka-backed or Elasticsearch-indexed (see the note under the table), so a dense-captioning-only build keeps the smallest delta. (When seeded from a pre-built workflow, that profile's capabilities are pre-checked.)
Offer the user exactly the capabilities in the table below. Each row's owner contract, canonical service-profile key(s), and closest Foundation profile are fixed — do not invent options or keys outside it. Because this list can exceed four rows and AskUserQuestion caps a question at four options, do not pose Q2b through the AskUserQuestion widget — present this table in the conversation and have the user reply with the capabilities they want (by name or number; multiple allowed). Fall back to an AskUserQuestion multi-select only when four or fewer capabilities remain offerable.
| Option (shown to user) | Owner contract (references/services/) |
Canonical service-profile key(s) | Closest Foundation | Peer notes |
|---|---|---|---|---|
| Dense captioning — natural-language descriptions of video | rt-vlm.md |
rtvi-vlm |
base |
— |
| Object detection & tracking (2D) — bounding boxes, class labels, track IDs | rt-cv.md |
perception-2d-fusion (search) / perception-alerts (alerts) |
search |
Kafka-backed; use the selected profile's key, not the shared perception extends source |
| Semantic search over video — embeddings + agentic search | search.md (+ rt-embed.md) |
vss-search-analytics-2d-fusion, rtvi-embed |
search |
Requires RT-CV + RT-Embed + ELK; critique needs RT-VLM unless disabled |
| Real-time alerting / verification — VLM-verified incidents | alerts.md |
alert-bridge, vss-va-mcp, vss-video-analytics-api |
alerts |
Real-time needs RT-VLM; CV-verification needs RT-CV + Behavior Analytics |
| Video summarization — time-windowed summaries on demand | lvs.md |
lvs-server |
lvs |
Requires one reachable LLM + one VLM/RT-VLM; something must drive /v1/summarize, but no agent need be deployed |
Always included — do not offer as choices: VIOS video I/O + storage (vios.md) plus the shared redis cache peer that ships with the Foundation. Added conditionally, never offered directly: retain the HAProxy ingress (ingress.md) only with the Agent/UI tier or when the request explicitly asks for a unified browse/operate origin; otherwise prune vss-haproxy-ingress and create no ingress patch. The ELK + Kafka broker / indexing stack (elk.md) is pulled in only for capabilities that are Kafka-backed or Elasticsearch-indexed — Semantic search (vss-search-analytics-2d-fusion + rtvi-embed), Real-time alerting / verification (alert-bridge requires Kafka + Elasticsearch), or Video summarization when its Kafka/ES event or DB backend is enabled; RT-VLM adds Kafka when its resolved RTVI_VLM_MESSAGE_BUS is kafka. Kibana is not implied by selecting Elasticsearch: retain kibana and exactly the selected Foundation's initializer only when that Foundation already ships them, and never add or borrow Kibana keys for a Foundation that does not. A dense-captioning-only build means the request does not publish or index captions; it adds no ELK/Kafka and sets both RTVI_VLM_MESSAGE_BUS= and RTVI_VLM_KAFKA_ENABLED=false during the VSS Compose compatibility transition. If the request publishes captions or stores them in Elasticsearch, it is not dense-captioning-only: retain the approved Kafka/ELK service set and message-bus settings unchanged when generating artifacts. The LLM NIM (llm-nim.md) and VLM NIM (vlm-nim.md) model backends are likewise activated only when a selected capability needs a local model (integrated RT-VLM is the rt-vlm.md owner, not the VLM NIM backend).
Rules for the multi-select:
- Offer exactly the table rows whose owner contract exists under
references/services/(all rows are present on this branch); show any pending capability disabled with a short "not yet available" note. Never offer a foundational or model-backend owner as a choice — do not silently offer a capability the skill cannot resolve. - Require at least one capability — the foundational services alone are not a vision agent.
- Multiple selections compose in one deployment (e.g. captioning + alerting, or captioning + detection).
After Q2b, the selected capabilities are the required-capability set. Select the closest current developer profile as the Foundation, compute the smallest delta (add or remove only canonical service-profile keys, change only requested knobs), and continue at Step 2. This is Delta mode (per the Routing table); _builds/<name>/ is created here.
Harness selection — Q3
Applies to every entry mode — prompt-driven, quickstart, and custom build alike — but not to warehouse, whose variants never reach Q3 (see Q2w), and only when the request does not already name a harness. A harness is what a person or another agent talks to in order to drive the build; it is orthogonal to the capability set. Read references/agent-harness.md before offering this — it owns the contract.
Ask Q3 exactly when the Foundation's service set carries vss-agent — every developer profile does; warehouse is the exception, since bp_wh carries one but selecting it already names the agent (see Q2w). Skip it entirely, with no question and no harness, when the set carries no agent: an ingest-, index-, or API-only build is legitimately headless, and Q3 would invent a requirement. When the user has already said "headless", that is the answer — do not re-ask.
Q3 — Harness (yes/no). "Deploy an agent harness with this build?"
| Answer | Harness | Effect on the build |
|---|---|---|
| yes (default) | nemoclaw |
A host-side sandbox with the VSS skills installed drives the build over its public origin, and is its only conversational surface. |
| no | none | No harness at all. Drive the build with the vss CLI from the host. |
Keep it a binary. Do not present a menu of harnesses or ask which one to use — the only question is whether to deploy NemoClaw. Yes is the default answer: take it when the user defers or picks nothing. Still ask, because either answer changes the service set.
Keep the question about the harness. Word the prompt and both option labels around what the user ends up with — a sandbox chat surface, or the vss CLI on the host. Keep vss-agent, service keys, and the Stock/Delta vocabulary out of both: that is the skill's own bookkeeping, not a trade-off the user is being asked to weigh, and attaching it to the question makes a routine choice read as a warning. The removal and what it costs belong in the Step 6 architecture diagram and the final summary, where the answer is already known.
vss-agent is removed on both answers. The in-stack agent is deployed only when the request names it — "the chat agent", "the Web UI", "the agent REST API" — and such a request skips Q3 entirely, as one that names any harness does. Honour it when it comes; never steer it to NemoClaw.
Apply these on either answer:
- Remove
vss-agentand change no other key.vss-ui,phoenix, and thellm_*peer stay; pruning them is a capability decision, not a harness one.vss-uiremains useful with no agent — its Alerts, Dashboard, and Video Management tabs address Alert Bridge, Kibana, and VST directly. Its dependency on the agent ships asrequired: falseso the filtered project resolves; never re-add a harddepends_onin a build override. - Report what the removal costs, in the build's own terms: the Web UI's chat (sidebar and tab) and Search tab stop answering, along with the ingress
/api,/chat,/websocketroutes; the Alerts tab's Generate Report action goes with them, since it drives the sidebar; search ingestion and deletion lose their agent lifecycle;vss-generate-video-report-ragbecomes unavailable (route reports throughvss-generate-video-report). Onlvsthat is the whole graphical surface for the profile's capability — the UI has no LVS client and reaches summarization only through the agent. Untouched: alerting, analytics, dashboards, ingest, and the CLI in full — novsscommand group needs the agent,searchincluded. - Provisioning moves to the headless path. Use
vss-manage-video-io-storagereferences/provision-vios-source.md: with no agent route its own gate passes, and it is the only path that fans a source into RT-CV and RT-Embed. Alert rules stay withvss-manage-alerts. - Removing a service key makes it a Delta build, never a Stock deploy — on a no as much as a yes, and on a quickstart as much as a custom build.
- A capability only the Agent owner serves contradicts a no. Agentic natural-language decomposition (
/api/v1/search) and/generatehave no non-agent provider. When the request needs one, a no drops a requested capability: take it to the clarification gate rather than resolving it either way.
Apply these on a yes only:
- Preflight the host before accepting the yes, per the Prerequisites section of
references/agent-harness.md: Python 3.11+ to run the notebook, pluscurl,docker, andpython3onPATH. Those are what the installer needs — do not require the NemoClaw CLI, which cell 3.1 installs at its pinned ref, so a fresh host is a supported starting point. Derive the credential check from the selected provider, per that section's provider table: the default remote endpoint needsCOMPATIBLE_API_KEY, a build.nvidia.com model needsNVIDIA_API_KEY, and a self-hosted endpoint or a NemoClaw-managed local model needs neither. A missing piece is a blocker at this step, not at Step 10 — name what is missing and ask whether to supply it, proceed with no harness, or name the in-stack agent instead. Deploy nothing until that is answered, and never substitute a harness silently. vss-haproxy-ingressis required — the sandbox reaches the build only through one origin, and there is no ingress-less host-CLI read path. NemoClaw paired with "no ingress" is a capability contradiction for the clarification gate, not something to settle by dropping a side.- On
alerts, a NemoClaw build must carry the curatedhaproxy.cfgthat admitshost.openshell.internal; do not reach the sandbox by repointingEXTERNAL_IP, which Alert Bridge uses to rewrite clip URLs and would leave alert evidence unopenable.
nemoclaw is a harness label, never a service: it must not appear in COMPOSE_PROFILES, compose.yml, or patches/.
Steps
- Detect the entry mode (see Entry Mode (Step 0) above). Then parse the request and any eval specification into required capabilities, excluded capabilities, configuration knobs, the harness (see Harness selection — Q3), and observable success checks. Custom build supplies the capability set directly via multi-select; Pre-built workflow keeps a named profile's authoritative service set unchanged (Stock mode).
- Read the matching file under
references/profiles/andreferences/sizing.md. In delta mode, compare all four developer profiles and select exactly one Foundation; ask only when two are equally plausible.warehousenever competes in that comparison — it is selected only by an explicit warehouse request. Readreferences/edge.mdfor DGX Spark or Thor. - Before resolution or deployment, run the applicable checks from
references/prerequisites.md,references/credentials.md, andreferences/ngc.md. When the harness is NemoClaw — including by default — add its host preflight fromreferences/agent-harness.md; a missing installer prerequisite, or a missing credential for the provider that was selected, blocks here, while the build is still cheap to re-aim. Read the environment and Brev references when applicable. - Read
references/composition.mdand only the capability-owner files underreferences/services/needed by the request. - Determine the effective service set. For an exact stock match, keep its authoritative set unchanged. Otherwise compute the smallest delta from the Foundation’s exact
COMPOSE_PROFILES: add or remove only canonical service profile keys and change only requested environment knobs. If this single pass leaves a blocker the rules cannot settle (an unmapped or ambiguous capability, a Foundation tie, a singleton conflict, or a requested/excluded contradiction), apply the clarification gate inreferences/composition.md: ask one structured question, then resolve on the answer; never re-run the same resolution or guess past the blocker. - Before writing delta artifacts or starting a stock or delta deployment, present a compact architecture diagram in the conversation. Show the Foundation, added and removed capability owners and service keys, principal data flows and topics, external endpoints, and GPU/model placement. Whenever Q3 was asked, show
vss-agentas removed; on a yes, add NemoClaw as a host-side box outside the Compose project, reaching the build through the ingress origin. That diagram is the clearest place for the user to catch a harness they did not intend, or the loss of a surface they were relying on. Do not save the diagram as a build artifact. - For every stock or delta build, write
_builds/<name>/override.env,_builds/<name>/compose.yml, and_builds/<name>/resolved.yml. Put the Foundation, the full effectiveCOMPOSE_PROFILES, required build-local path/host values, and only environment values that are customized or transitively derived from a customization inoverride.env; do not copy unchanged Foundation defaults such as stock ports or model knobs. Makecompose.ymlinclude the rootdeploy/docker/compose.ymlplus only minimal changed or new service Compose files, if any. Treat<name>only as a filesystem label; never add it toCOMPOSE_PROFILES. - Generate
resolved.ymlwithdocker compose configusing the ordered env layers inreferences/composition.md— or, forwarehouse, the env layers and resolve pipeline inreferences/profiles/warehouse.md— normalize dangling optional dependencies withscripts/normalize_resolved_yml.py, then run the mandatory check/create gate inreferences/data-directory.mdon every build, deploy or not — it blocks awarehousebuild whose${VSS_DATA_DIR}is not the supplied app-data bundle — it prepares the external${VSS_DATA_DIR}any later bring-up needs (this agent's or a hand-rundocker compose up) and never touches the repo tree. When the effectiveCOMPOSE_PROFILESincludes an RT-CV perception key (perception-alerts,perception-2d-fusion), no host-side or agent detector staging is required: the RT-CV container downloads the detector ONNX at first boot (ds-start phase 0) from its mountedmodels-download.jsoninto the world-writable${VSS_DATA_DIR}/modelsthe gate just created. Reject stale placeholders and invalid checked-in bind sources withscripts/validate_resolved_yml.py; if validation finds real unresolved${...}Compose interpolation, add only the missing concrete values tooverride.envand regenerate before proceeding. Do not count escaped container-shell variables such as$${HOST_IP}as unresolved Compose interpolation. Validate the selected keys, services, images, required peers, GPU placement, utilization, and requested success checks against that exact file. - If deployment was requested, deploy the exact
_builds/<name>/resolved.ymlvalidated in the previous step, refresh its registry images even when their tags already exist locally, usereferences/readiness.mdwith the matching profile checks, and followreferences/deployment.mdfor the resolved-Compose lifecycle. When a source must be provisioned into the deployed build (a build with no agent registers none at bring-up), resolve the consumer ports and confirmresolved.ymlcarries novss-agent— true of every build that reached Q3 — then followvss-manage-video-io-storagereferences/provision-vios-source.md— except forwarehouse, which registers its own sources automatically. When a search query round-trip is then requested against the deployed build, runvss configure --base-url <build-origin>(the frontinghttp://$HOST_IP:$HAPROXY_HOST_PORT) through the project-local entry point (uv run --project <repo>/services/agent --no-dev vss …, perreferences/deployment_resolution.md) — not a barevss— then defer entirely tovss-search-archivefor decomposition, mode, and the query itself. For stop or cleanup, followreferences/teardown.md: remove project volumes by default and preserve model caches only when the user explicitly requests it. - When the harness is NemoClaw, bring it up after the readiness gate passes, per
references/agent-harness.md: resolve the deployed origin, then execute the checked-indeploy/docker/scripts/deploy_nemoclaw.ipynbthroughdeploy/docker/scripts/run_setup_notebook.py. That notebook is the single source of host-side harness logic — never reimplement its onboarding, policy, skill-install, or workspace steps, and never hand-run the NemoClaw CLI in its place. PassNEMOCLAW_RECREATE_SANDBOX=0unless the user asked to rebuild the harness; the notebook's own default discards the sandbox and every agent session in it. For the harness's own LLM, default to notebook option (a) — the remote OpenAI-compatible endpoint (NEMOCLAW_PROVIDER=custom) serving Claude Opus — and do not ask; override to a local or other model only on an explicit request. A credential the selected provider requires —COMPATIBLE_API_KEYon that default remote endpoint — should have blocked at Step 3; reaching here without it is still a blocker to report, never grounds to silently substitute build.nvidia.com or a local model. In the final summary, report the Agent UI the notebook prints as a markdown link rather than a bare URL — descriptive link text, target copied verbatim including the#token=fragment, per the exact form inreferences/agent-harness.md. Harness and build are independent lifecycles:references/teardown.mdremoves the Compose project only, and destroying the sandbox is the separate command inreferences/agent-harness.md.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.