nemo-relay-migrate-from-flow
Use this skill when migrating applications, examples, integrations, documentation, manifests, or repository code from NeMo Flow to NeMo Relay across Python, Rust, Node.js, Go, C FFI, CLI, configuration, and observability surfaces.
- 0
- Installs
- —
- Rating
- —
- Success rate
- 5
- Files scanned
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 7d7a33fbe7483ad9… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
Migrate From NeMo Flow To NeMo Relay
Use this skill when a user has existing NeMo Flow code or documentation and wants it converted to NeMo Relay. Treat the migration as a mechanical rename plus language-specific validation, not a behavior rewrite. Keep compatibility exceptions explicit before applying broad renames.
Default Workflow
- Inspect the working tree and identify touched surfaces: Rust, Python, Node.js, Go, C FFI, CLI/config, docs, or integrations.
- Resolve
SKILL_DIRto the absolute directory containing thisSKILL.mdandTARGET_PATHto the source repository or target project. Run the bundled helper in dry-run mode before editing:python3 "$SKILL_DIR/scripts/migrate_from_nemo_flow.py" "$TARGET_PATH" --rename-paths - Review the reported text edits, path renames, and legacy project
configuration warnings with the user. Do not migrate project-local
.nemo-flow/config.tomlor.nemo-flow/plugins.tomlinto.nemo-relay. Move those settings manually to a supported user or explicit configuration path after review. - Obtain explicit confirmation for the resolved target root, then rerun with
--write,--rename-paths, and--confirm-root "$TARGET_PATH". - Apply language-specific cleanup for package manager lockfiles, generated artifacts, and public API examples.
- Search for remaining Flow names and verify the affected language surfaces.
Mechanical Rename Map
- Brand and repository:
NeMo Flow->NeMo Relay,NeMo-Flow->NeMo-Relay - Python:
nemo-flow->nemo-relay,nemo_flow->nemo_relay,python/nemo_flow->python/nemo_relay - Rust:
nemo-flow->nemo-relay,nemo-flow-adaptive->nemo-relay-adaptive,nemo_flow::->nemo_relay:: - Node.js:
nemo-flow-node->nemo-relay-node, including related entry points such as/typed,/plugin,/adaptive, and/observability - Go:
github.com/NVIDIA/NeMo-Flow/go/nemo_flow->github.com/NVIDIA/NeMo-Relay/go/nemo_relay, package aliasesnemo_flow->nemo_relay, and source directoriesgo/nemo_flow->go/nemo_relay - C FFI:
nemo_flow.h->nemo_relay.h,nemo_flow_*->nemo_relay_*,NemoFlow*->NemoRelay*, andNEMO_FLOW_*->NEMO_RELAY_* - CLI/config:
nemo-flow->nemo-relay,~/.config/nemo-flow->~/.config/nemo-relay,NEMO_FLOW_*->NEMO_RELAY_*, andx-nemo-flow-*->x-nemo-relay-*. Do not blindly rename project-local.nemo-flow/config.tomlor.nemo-flow/plugins.tomlinto.nemo-relay; those files require manual migration to a supported user or explicit configuration path.
Do not replace bare flow, Flow, or FlowError. Those can be domain words
or intentional compatibility names.
Language Cleanup
- Python: update
pyproject.toml, imports, type stubs, integration package paths, extras, and native module names. Regenerate or refresh lockfiles with the user's package workflow after source edits. - Rust: update
Cargo.tomlcrate names, workspace dependencies, package references, anduse nemo_relay::...imports. Let Cargo regenerateCargo.lockwhen dependencies changed. - Node.js: update
package.json, workspace names, package-lock entries, native addon artifact names, and imports fromnemo-relay-node. Run the package manager to refresh locks. - Go: update
go.mod, import paths, package declarations, aliases, and any local directory layout undergo/nemo_relay. - C FFI: update header includes, exported symbol names, status and callback type names, macro constants, loader paths, and downstream bindings.
- Docs and examples: update badges, package install commands, repository links, hosted docs URLs, CLI commands, config paths, and integration names.
Automation Helper
Use $SKILL_DIR/scripts/migrate_from_nemo_flow.py for first-pass edits. The
helper:
- runs as a dry run unless
--writeis passed - skips common vendor, build, cache, and generated directories
- skips lockfiles unless
--include-lockfilesis passed - skips symbolic links and credential-bearing dotenv files
- detects project-local
.nemo-flow/config.tomland.nemo-flow/plugins.toml, leaves them unchanged, and reports that they require manual migration to a supported user or explicit configuration path - requires the reviewed target root to be repeated with
--confirm-rootbefore writing, and refuses filesystem-root or home-directory writes - anchors writes and renames to verified directory handles without following symbolic links, and refuses write mode on platforms that cannot provide those guarantees
- uses atomic no-replace path renames and exits nonzero when any requested mutation fails
- can report or perform path renames with
--rename-paths - rewrites only explicit NeMo Flow identifiers, package names, repository names, config paths, headers, environment variables, and FFI type prefixes
The helper does not classify arbitrary JSON, YAML, TOML, or INI files as secret.
Review every configuration file in the dry-run report. If any reported file is
unreviewed or credential-bearing, do not use --write on that root. Apply the
reviewed changes manually and leave secret-bearing files untouched without
reading or displaying their values.
Set shell-safe absolute paths before invoking the helper. Replace the example values with the resolved skill directory and either the source repository or the user's target project:
SKILL_DIR="/resolved/absolute/path/to/nemo-relay-migrate-from-flow"
TARGET_PATH="/resolved/absolute/path/to/target-project"
python3 "$SKILL_DIR/scripts/migrate_from_nemo_flow.py" "$TARGET_PATH" --rename-paths
python3 "$SKILL_DIR/scripts/migrate_from_nemo_flow.py" "$TARGET_PATH" \
--write --rename-paths --confirm-root "$TARGET_PATH"
Use --include-lockfiles only when the user wants lockfiles edited directly;
otherwise regenerate them with Cargo, uv/pip, npm, or Go tooling.
Verification
- Search for remaining explicit Flow identifiers:
rg -n "NeMo Flow|NeMo-Flow|nemo_flow|nemo-flow|NEMO_FLOW|NemoFlow|nemo_flow\\.h|nemo_flow_" - Run targeted tests for every affected language surface.
- For Rust changes, run
cargo testor the repository's Rust test recipe. - For Python changes, run the relevant import check and tests in the target environment.
- For Node.js changes, run package install, type checks, and package tests.
- For Go changes, run
go test ./...from the updated module. - For docs-only migrations, build or link-check docs if the site navigation, install commands, or API references changed.
Related Skills
nemo-relay-get-startednemo-relay-instrument-callsnemo-relay-debug-runtime-integration
Files
5- BENCHMARK.md
704b8aa1994.7 KB - SKILL.md
7d7b73f9586.9 KB - evals/evals.json
542f68c5d57.6 KB - scripts/migrate_from_nemo_flow.py
010aed701a23.5 KB - skill-card.md
4bd85ce98c4.0 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from NVIDIA/skills8
Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby, CSV/Parquet I/O, nullable semantics, and multi-GPU DataFrame workloads.
Use when asked to install, deploy, run, validate, troubleshoot, or stop NVIDIA AI-Q Blueprint infrastructure.
Use when asked to run deep research or AI-Q research through a reachable NVIDIA AI-Q Blueprint backend.
Customize NVIDIA Nemotron Voice Agent's Generic Pipecat example for healthcare appointment, five-field patient intake, or custom tool-calling workflows without a separate backend.
Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or asks to calibrate live cameras; VIOS records clips, AMC ingests them, then runs calibration.
Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip) against a running AMC microservice. Use when user says 'test sample dataset', 'run sample calibration', 'verify AMC install', or 'launch and test'.
Calibrates pre-recorded `cam_*.mp4` datasets through the AutoMagicCalib REST API. Use for user-supplied local MP4s; route live RTSP streams to `amc-run-rtsp-calibration`.
Launch AutoMagicCalib microservice and web UI from NGC release images via Docker Compose. Use when user says 'deploy auto calibration', 'launch auto calibration', 'launch AMC', 'start MS+UI', or 'set up auto-magic-calib'. Requires NGC API key.
Related devops skillsscan passed
Build monitoring dashboards that answer real operator questions for Grafana, SigNoz, and similar platforms. Use when turning metrics into a working dashboard instead of a vanity board.
Configure deployment settings for /land-and-deploy.
Build or maintain Cloudflare Sandbox apps on the stable @cloudflare/sandbox package. Use sandbox-next for preview apps and sandbox-migrate-to-next for stable-to-preview migrations.
Deploy tRPC on AWS Lambda with awsLambdaRequestHandler() from @trpc/server/adapters/aws-lambda for API Gateway v1 (REST, APIGatewayProxyEvent) and v2 (HTTP, APIGatewayProxyEventV2), and Lambda Function URLs. Enable response streaming with awsLambdaStreamingRequestHandler() wrapped in awslambda.strea
Prepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.
Deploys and manages full-stack web applications (Next.js, Angular) with Server-Side Rendering (SSR) using Firebase App Hosting. Use when deploying Next.js/Angular apps, configuring apphosting.yaml or firebase.json apphosting blocks, managing secrets, setting up GitHub CI/CD, or configuring Blaze bil