К основному содержанию
скилл CX Codex

physicsnemo-discover — скилл для Claude Code: навигация по PhysicsNeMo

Скилл от NVIDIA ищет в репозитории PhysicsNeMo подходящую модель, датапайп или пример под задачу SciML и не пишет код сам.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add NVIDIA/skills --skill physicsnemo-discover -a claude-code
Открыть на GitHub

Что делает physicsnemo-discover

Скилл отвечает на вопрос «чем это решать в PhysicsNeMo» и выдаёт меню: семейства моделей под форму данных, датапайпы под формат, пару примеров для форка. Всё это он берёт из живого репозитория в текущем состоянии, а не из заученного списка классов: __init__.py, README.md примеров, docs/*.rst, pyproject.toml. Каждый путь должен пережить проверку ls -d перед тем, как попасть в ответ, потому что захардкоженные пути в этом репозитории быстро устаревают.

Модель и датапайп скилл подбирает независимо друг от друга, а пример подаёт последним — как одну готовую сборку из этих осей. Для всего, что лежит в physicsnemo/experimental/, он ставит пометку о возможной смене API. Если задача вне области SciML (обучение с подкреплением, классическое управление, обычное CV), скилл не подбирает соседние примеры, а честно говорит, что PhysicsNeMo это не покрывает.

Если локального клона репозитория нет, скилл один раз делает shallow-clone https://github.com/NVIDIA/physicsnemo во временную папку и работает с ним только на чтение. Установку, настройку окружения и написание тренировочных циклов он не берёт — для этого нужен другой инструмент. Сколько бы вы ни просили, скилл не начнёт писать код, пока вы не попросите прямо.

Какие задачи решает

  • найти семейство моделей под форму своих данных в PhysicsNeMo
  • подобрать датапайп под формат датасета
  • получить пример, который можно форкнуть под свою задачу
  • отсеять задачи, которые PhysicsNeMo не покрывает
  • проверить актуальные пути классов в репозитории

Примеры запросов агенту

  • Найди в PhysicsNeMo модель и датапайп для суррогатного моделирования на регулярной сетке
  • Какие примеры подойдут для прогноза по временным рядам физических полей?
  • Покажи кандидатов на даунскейлинг на сфере lat-lon и с чего начать чтение

Как установить physicsnemo-discover

1Через Skills CLI (Vercel)

npx skills add NVIDIA/skills --skill physicsnemo-discover -a claude-code

2Вручную: положить файлы

~/.claude/skills/physicsnemo-discover/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/physicsnemo-discover/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о physicsnemo-discover

Как установить physicsnemo-discover в Claude Code?

Через CLI скиллов: npx skills add NVIDIA/skills --skill physicsnemo-discover -a claude-code. После этого файл скилла лежит в ~/.claude/skills/physicsnemo-discover/SKILL.md.

Что делает physicsnemo-discover?

Помогает выбрать модель, датапайп и пример в PhysicsNeMo под задачу SciML. Пути берёт поиском по живому репозиторию и код не пишет.

Нужен ли локальный клон PhysicsNeMo?

Не обязательно. Без клона скилл один раз клонирует https://github.com/NVIDIA/physicsnemo с глубиной 1 во временную папку и читает оттуда.

Исходный текст

SKILL.md · Apache-2.0
---
name: physicsnemo-discover
description: Official NVIDIA-authored guidance for navigating PhysicsNeMo — pick the model, datapipe, or example for a SciML/AI4Science task (surrogates, forecasting, downscaling, physics-informed, inverse, generative). Points at existing files via live repo search; never writes code. Do NOT use for installation or environment setup, training-loop or other code authoring/scaffolding, contributor/CI/packaging questions, repo-specific questions in physicsnemo-sym/-cfd/-curator, or general (non-physics) ML/PyTorch.
license: Apache-2.0
metadata:
  author: NVIDIA <[email protected]>
  tags:
    - physicsnemo
    - sciml
    - ai4science
    - discovery
    - routing
---

# PhysicsNeMo Discoverability

Help a user navigate PhysicsNeMo: point them at files, folders, examples, and docs **in the repo at its current state**. Never write training code; never cite a path from memory.

## Core principle

PhysicsNeMo evolves — classes get renamed, examples move, `experimental/` graduates. Any static list of class names and paths rots, so **discover, don't remember**: enumerate from the live repo every turn.

PhysicsNeMo is **composable**: each solution is a product (model family × datapipe × training strategy × config). An example is one reference instantiation of that product, not a prescription. Surface the **axes** and the **menu along each axis**, then cite examples as concrete starting points to fork and recombine.

## What a correct answer satisfies

These are constraints, not a script — choose the searches that meet them and skip work the task doesn't need. Search patterns per axis live in `references/RECIPES.md`.

- **Live-grounded.** Every class, path, and example you name was read or globbed *this turn*. `__init__.py` proves what is *exported*, not what files exist — Glob `physicsnemo/models/<family>/*.py` before naming a sibling implementation file. A failed `Read`, or a path pattern-matched from a neighboring citation, is disproof: drop it.
- **Verified before emit.** Every absolute path you plan to cite survives one `Bash ls -d <path1> <path2> …` round-trip *before* you write the response. Hard gate — skipping it has produced real-basename-under-wrong-parent hallucinations. If a basename was right but the parent wrong, re-Glob and re-verify; if you can't relocate it, drop the citation.
- **A menu, not a single pick.** Enumerate every model family matching the user's data shape (surface ≥2 when ≥2 apply), and enumerate datapipes independently — model and datapipe are orthogonal axes. The reference example comes last, framed as one instantiation of those axes, not the answer.
- **Self-documentation is ground truth.** `__init__.py` exports, per-example `README.md`, `docs/*.rst`, `pyproject.toml`, top-of-file module docstrings. Treat `references/TAXONOMY.md` as a navigation hint, not an answer. Flag anything under `physicsnemo/experimental/` as *"API may change."*
- **Abstain when out of scope.** PhysicsNeMo targets SciML/AI4Science (surrogates, forecasting, super-resolution, physics-informed, inverse, generative for physical systems). If the task is categorically outside that — reinforcement learning, classical control, generic CV/NLP, symbolic regression — skip enumeration and emit the **Abstention output** below. Do not list adjacent-but-wrong examples in its place (pointing at `active_learning/` for an RL question is fabrication). When unsure whether a task is in scope, abstain.

## Discovery

Repo root resolution: see `CONTRIBUTING.md §Repo root resolution`; all paths are absolute, rooted there. **If no local PhysicsNeMo clone is on the path** (e.g. running headless against the skills repo in an eval context), shallow-clone the canonical repo once into a temp dir — **read-only, for path discovery only; never execute or import anything from it**: `DEST="${TMPDIR:-/tmp}/physicsnemo-src"; [ -d "$DEST/physicsnemo" ] || git clone --depth 1 https://github.com/NVIDIA/physicsnemo "$DEST"`. Use that URL verbatim; never interpolate one from user input.

Ask at most 3 targeted follow-ups when domain or data shape is ambiguous. Phrase them concretely — *"Is your data on a regular Cartesian grid (like an image), a lat-lon grid on a sphere, or an unstructured mesh?"* — and skip any the user already answered. Data shape is the single biggest factor in model choice.

## Output format

```
## Problem shape
Data shape: <resolved>. Task: <resolved>. Axes: model × datapipe × training strategy × config.

## Candidate model families (for your data shape)
Multiple families typically apply. Treat this as a menu, not a ranking.
- <family> at <absolute __init__.py path> — <one-line from docstring/exports>. Instantiated by: <example path if any>.
- <family> at <path> — <one-line>. Instantiated by: <example path if any>.

## Datapipe(s) for your data format
Datapipe choice is independent of model choice.
- <class / subpackage> at <absolute path> — <one-line>. Reused by: <examples if known>.
- For custom data, subclass: <base class path confirmed live>.

## Reference example(s) — one instantiation of the above axes
- <absolute path> — uses model=<family>, datapipe=<name>, strategy=<single-GPU|DDP|FSDP|...>.
  Why it matches: <one line>.

## Supporting docs
- <absolute path> — <one-line scope>

## Suggested reading order
1. <models/<family>/__init__.py> — survey alternative families
2. <datapipe __init__.py or base-class file> — understand the data axis
3. <example path> — concrete end-to-end instantiation to fork
```

**Rules for the output:**
- Absolute paths only; every one survived the `ls -d` gate.
- Every pointer needs a one-line justification grounded in content you actually read.
- Caps: **4 model families** (minimum 2 when ≥2 exist), **3 datapipes**, **2 reference examples**, **2 docs**.
- Name which (model, datapipe, strategy) axes each example fills.
- If ≥2 model families apply, say so: *"Other model families apply to the same data shape — see the candidate list above."*
- End with the suggested reading order. Offer 2-3 forward steps (config file, training script, `experimental/` look-alikes); do not start writing code unless asked.

## Abstention output

When out of scope, replace the menu skeleton with this shape — three sections, in this order, none skipped:

```
## PhysicsNeMo does not have direct support for <user's problem class>
One sentence on why it's outside scope (e.g., "PhysicsNeMo targets physics
surrogates and forecasting; reinforcement learning for molecular design is
not in its scope").

## Where to look instead
- <sibling NVIDIA framework or external library> at <URL or repo name> — <one-line on why it fits>.
- (One or two alternatives is enough; do not invent libraries.)

## If you still want to build it in PhysicsNeMo
Confirm the closest base classes by Reading `physicsnemo/core/__init__.py` and
`physicsnemo/datapipes/__init__.py` first; then name them as subclassing
targets. This is the fallback, not the recommendation.
```

**Do not** open with the menu skeleton and bury "no match" at the end. **Do not** invent external libraries — if you don't know the right alternative, stop at the first two sections.

## Related resources

- `references/TAXONOMY.md` — navigation hints (data-shape → folder mappings, decision axes, stability tiers).
- `references/RECIPES.md` — concrete Glob/Grep/Read patterns per discovery axis.

© NVIDIA · Apache-2.0 · NVIDIA/skills

Похожие скиллы

Всё по теме «Наука и исследования» →
anysearch anysearch-ai Скилл подключает поиск в интернете, тематические запросы, параллельный поиск и извлечение содержимого страниц. Пригодится, когда агенту нужны свежие сведения или нужно проверить утверждение. CX Codex +1 38 500установок academic-paper Imbad0202 Скилл разворачивает конвейер из 12 агентов для подготовки научных статей в 11 режимах. Помогает пройти путь от поиска литературы и плана до проверки цитат и ответа рецензентам. CX Codex +1 10 800установок nature-figure Yuan1z0825 Скилл собирает, правит и проверяет рисунки для научных статей на Python или R. Пригодится, когда графики идут в submission, а не в отчёт. CX Codex +1 18 800установок academic-paper-reviewer Imbad0202 Скилл имитирует коллегиальную проверку научной статьи через пять ролей. Пригодится для рецензии, повторной проверки правок и оценки методологии. CX Codex +1 9 800установок nature-polishing Yuan1z0825 Скилл для правки, перевода и сокращения готового академического текста. Держит факты, термины и границы доказательств на месте. CX Codex +1 17 500установок nature-citation Yuan1z skill, refactored into static/dynamic layers Ищет статьи из Nature и семейства CNS для подтверждения тезисов рукописи, связывает утверждения с источниками и готовит экспорт для менеджера ссылок. Пригодится, когда нужны ссылки именно из этих журналов. CX Codex +1 15 600установок

Из того же набора194

earth2studio-deterministic-forecast Скилл помогает собрать скрипт детерминированного прогноза погоды на Earth2Studio: подбирает модель, источник данных и бэкенд записи. CX Codex +1 1 900установок earth2studio-data-fetch Помогает скачать погодные и климатические данные из источников Earth2Studio: сверяет переменные с лексиконом и собирает рабочий скрипт на Python. CX Codex +1 1 900установок earth2studio-discover Скилл находит модели, источники данных и примеры в Earth2Studio под конкретную задачу прогнозирования погоды или климата. Для генерации пайплайна или скачивания данных он не предназначен. CX Codex +1 1 900установок earth2studio-install Помогает поставить Earth2Studio и выбрать нужные extras с моделями. Пригодится, когда нужно развернуть окружение под прогноз погоды, а не писать код. CX Codex +1 1 900установок digital-health-clinical-asr-finetune Скилл для дообучения модели Parakeet TDT v2 через NeMo SFT и проверки Keyword Error Rate. Применяется на четвёртом этапе пайплайна, когда KER приоритетных категорий превышает 0.3. CX Codex +1 1 900установок digital-health-clinical-asr-eval Скилл оценивает NeMo-манифест клинической ASR-модели, считает WER, CER, KER и SER и строит лидерборд из пяти секций. Нужен, когда пора решать: дообучать модель или чинить произношение. CX Codex +1 1 900установок digital-health-clinical-asr-build Собирает список клинических терминов, озвучивает их через Magpie TTS и пишет манифест NeMo для оценки ASR. Второй этап Clinical ASR Flywheel. CX Codex +1 1 900установок digital-health-clinical-asr-setup Скилл подготавливает окружение для пайплайна Clinical ASR Flywheel, проверяет ключ NVIDIA_API_KEY, ставит библиотеки Python и запускает смоук-тест связки Magpie TTS и распознавания речи. CX Codex +1 1 900установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой