一键导入
dataset
Use when ingesting, validating, curating, or querying production sensor data as a versioned dataset-of-record, or wiring the dataset-ingest-curate workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when ingesting, validating, curating, or querying production sensor data as a versioned dataset-of-record, or wiring the dataset-ingest-curate workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when generating adversarial scenarios via RL, ranking mined failures of a policy-under-test, or wiring the adversarial-scenario-hardening workflow.
Use when navigating the Cosmos3 integration in NPA or locating upstream Cosmos3 framework files, defaults, scripts, configs, recipes, and docs.
Use when Cosmos3 setup, fetch, inference, CUDA, uv, Docker, Hugging Face, GitHub, NGC, or checkpoint staging fails in NPA or in an upstream Cosmos framework checkout.
Use when setting up Cosmos3 access through NPA, checking source or Hugging Face reachability, staging the public Cosmos3 framework and checkpoint cache, or deciding which NPA workflow to use before inference.
Use for Claude Code reviews that need robotics, simulation, GPU-routing, sim-to-real, or BDD100K pipeline domain context.
Use when submitting, validating, or debugging NPA SkyPilot workflow YAMLs and workflow runner paths.
| name | dataset |
| description | Use when ingesting, validating, curating, or querying production sensor data as a versioned dataset-of-record, or wiring the dataset-ingest-curate workflow. |
A unified ingestion / validation / curation layer that turns raw production sensor data into a queryable, versioned dataset-of-record, filterable by event, location, and quality. It composes existing primitives (FiftyOne for curation/visualization, LanceDB for the vector/metadata query index, S3 as the bus) behind one tool instead of leaving them disconnected.
Source of truth is the FastAPI service (npa/src/npa/workbench/dataset/service.py).
The CLI (npa/src/npa/cli/workbench/dataset.py) and SDK
(npa/src/npa/sdk/workbench/dataset.py) are thin clients. Do not duplicate logic
across layers.
CLI:
npa workbench dataset ingest --input-path <s3> --output-path <s3> --dataset-id <id>
npa workbench dataset validate --input-path <s3-manifest> --output-path <s3>
npa workbench dataset curate --input-path <s3-manifest> --output-path <s3> --event <e> --location <l>
npa workbench dataset query --input-path <s3-manifest> --event <e> --location <l>
npa workbench dataset status --dataset-id <id> --version <v>
npa workbench dataset system-info
npa workbench dataset list
Endpoints: /health, /status, /system-info, /list, POST /ingest,
POST /validate, POST /curate, GET /query.
POST /ingest: pull raw sensor data from --input-path, validate against the
declared sensor schema, normalize to canonical records, and register a
versioned manifest at --output-path (schema npa.dataset.manifest.v1:
dataset id + version, record count, sensor modalities, source lineage,
per-record S3 pointers, quality stats).POST /validate: schema + quality-metric validation (completeness, corruption,
per-sensor sanity); emits npa.dataset.validation_report.v1.POST /curate: filter/slice by event of interest, location, and quality
metric; writes a derived version whose manifest records lineage back to the
parent (parent dataset id/version + filter predicate).GET /query: query records by event/location/quality facets. Backed by the
LanceDB index when --lancedb-endpoint is set; falls back to the manifest so
the tool works without a running LanceDB.Reuse the FiftyOne tool for curation/visualization handoff and the LanceDB tool
for the query index (see integrations.py) rather than re-implementing either —
these are HTTP seams mocked in tests.
Every manifest threads provenance (workflow run, input URIs, dataset version, parent dataset id/version, filter predicate) so a later lineage/metadata service can consume it. Do not hardcode a metadata backend; keep lineage in the S3 manifests.
Ingest / validate / curate / query are CPU-only. The optional embedding backfill that populates the LanceDB query index runs on H100 (general training class).
cloud: kubernetes):
npa/src/npa/workflows/skypilot/dataset-ingest-curate.yamlnpa/workflows/workbench/npa-workflows/dataset-ingest-curate.yamltoolRefs: workbench.dataset.ingest, workbench.dataset.validate,
workbench.dataset.curate, workbench.dataset.query,
workbench.dataset.write_quality_decision, workbench.dataset.report_rejection.
config.completeness_min or the corruption rate exceeds
config.max_corruption_rate.<parent>.curated-<hash>); a
workflow that queries a curated version wires the concrete manifest URI at
runtime.