add-studio-feature-flag
Skill by NVIDIA-NeMo
Adds a NeMo Studio (Vite) feature flag across the TypeScript definitions, the FastAPI Studio runtime mapping, build env markers, local dev samples and optional Helm config. It is for developers who need a new flag or toggle for UI behind a flag in Studio.
Install add-studio-feature-flag
Built from the published package, never by AI.
git clone --depth 1 https://github.com/NVIDIA-NeMo/nemo-helix /tmp/nemo-helix && mkdir -p ~/.claude/skills && cp -r /tmp/nemo-helix/.agents/skills/add-studio-feature-flag ~/.claude/skills/add-studio-feature-flagRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install add-studio-feature-flag in Claude Code
git clone --depth 1 https://github.com/NVIDIA-NeMo/nemo-helix /tmp/nemo-helix && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/nemo-helix/.agents/skills/add-studio-feature-flag ~/.gemini/antigravity-cli/skills/add-studio-feature-flagAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install add-studio-feature-flag in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill walks an assistant through adding a feature flag to NeMo Studio, a Vite web app in web/packages/studio. It covers choosing a flag helper (previewFlag or booleanFlag), registering the flag in flagDefinitions, and adding an EnvMapping in the FastAPI Studio service so the built bundle gets a marker that is replaced at runtime. It also covers the matching VITE_FF_ lines in the env sample files, gating routes and navigation, and the snake_case studio.feature_flags key in Helm values.
The skill is aimed at Studio developers who add or remove flags. It includes a checklist to track each step and a short section on removing a flag. The source describes the steps and file locations but does not describe a standalone tool or runtime.
Written from the project's SKILL.md and checked against it.
What it can do
- Choose flag shapePicks between previewFlag, booleanFlag, and the rarer string or number flag helpers.
- Register the flagAdds a camelCase entry to flagDefinitions in featureFlags.ts.
- Runtime injection mappingAdds an EnvMapping in env_mappings.py that links a marker to a studio.feature_flags config path.
- FastAPI build markersAdds the VITE_FF_ placeholder line to env/.env.fastapi so the built bundle matches the mapping.
- Local dev samplesUpdates .env.dev.local.sample and optionally .env.dev.local for a developer's own machine.
- Gate UI and routesWraps routes, navigation and preview badges with featureFlags checks and FeatureFlagBadge.
- Helm configAdds the snake_case key under studio.feature_flags in deployed environment values.
- Remove a flagLists the places to clean up when a flag is retired, from usages to Helm values.
What you need
- NeMo Studio repository with web/packages/studio
- pnpm, for the pnpm typecheck step
- Access to the FastAPI Studio service code
Try asking
- Add a new feature flag called job queue enabled for Studio
- Create a preview flag for the new members page in Studio
- Remove the old secrets feature flag from Studio everywhere
Good to know
- If a flag is missing from the dev sample, it silently falls back to its default.
- Only the 'preview' value shows the Early Preview badge through FeatureFlagBadge.
- The global settings schema may need an update if the new Helm key is not yet defined.
- The .env.dev.local file is gitignored and is for personal machine settings only.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/add-studio-feature-flag/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to add-studio-feature-flag
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
add-studio-feature-flag: common questions
What is the difference between previewFlag and booleanFlag in NeMo Studio?
previewFlag accepts true, 'preview' or false and can show the Early Preview badge. booleanFlag is a plain boolean for internal toggles with no preview mode.
How do I name a new Studio feature flag?
The environment variable uses VITE_FF_ with SCREAMING_SNAKE_CASE. The flagDefinitions key is camelCase, and the studio.feature_flags key is snake_case.
Why does the FastAPI build need a VITE_FF_ marker line?
The built bundle needs a placeholder that the Studio service replaces at runtime. The source says the env file header requires parity with env_mappings.py.
How do I install add-studio-feature-flag?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is add-studio-feature-flag free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is add-studio-feature-flag safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to add-studio-feature-flag?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
