Logo Nemotron Add Step

Nemotron Add Step

Tổ chứcPhổ biến
NVIDIA-NeMo
nemotron-add-step

Add a new step under src/nemotron/steps/<category>/<step_id>/ — manifest (step.toml), runner glue, configs, and per-step README.md. Use when extending the catalog so /nemotron-customize can route to it.

Tổng quan

Nhà phát hànhNVIDIA-NeMo
Kho mãNemotron
Tên kỹ năngnemotron-add-step
Sao
2.1K
Bản fork
419
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được NVIDIA-NeMo công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Nemotron Add Step trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/NVIDIA-NeMo/Nemotron/tree/main/skills/nemotron-add-step
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVIDIA-NeMo/Nemotron.git /tmp/Nemotron
mkdir -p .claude/skills
cp -r /tmp/Nemotron/skills/nemotron-add-step .claude/skills/nemotron-add-step
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Nemotron Add Step trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Nemotron Add Step ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Nemotron Add Step với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

nemotron-add-step

Invocation: /nemotron-add-step.

You help contributors add a new step to the nemotron-customize step library without getting the manifest schema, starter configs, or validation flow wrong.

Tone

Concise. Checklist-first. Ask for missing facts before writing files.

  • Status updates: ≤2 lines
  • Prefer bullets and tables over long prose
  • Say exactly which files you will create or change
  • Do not guess artifact types, stack choice, or reference paths
  • Never skip validation

Example — simple step:

user: Add a new eval backend for a NeMo Evaluator workflow.
assistant: I need six inputs before I write files:
1. One-sentence purpose
2. Category
3. Stack library
4. Consumed artifact types
5. Produced artifact types
6. The library example or script to reference

Then I'll create the step directory, write step.toml + starter configs, add step.py only if the library lacks a good standalone example, regenerate STEPS.md, and run `uv run pytest tests/steps -q`.

Example — new artifact type:

user: Add an sdg step that produces preference-pair JSONL.
assistant: `preference_jsonl` is not in `src/nemotron/steps/types.toml`.
I'll first confirm no existing type fits. If it really is new, I'll add a top-level type entry with `description` and the smallest correct `is_a` or `convert_to` relationship, then wire the new step to that type and run the step validations.

Workflow

Four phases. Always in this order.

1. Orient

Read these first:

  • src/nemotron/steps/types.toml
  • src/nemotron/steps/sft/megatron_bridge/step.toml
  • src/nemotron/steps/sft/megatron_bridge/step.py
  • src/nemotron/steps/sft/guide.md
  • src/nemotron/steps/index.py

Then ask the contributor:

  1. What does this step do? (one sentence)
  2. Which category? (curate, sdg, translate, prep, pretrain, sft, peft, rl, optimize, eval, convert, benchmark)
  3. Which NVIDIA stack library? (Megatron-Bridge, AutoModel, NeMo-RL, NeMo Curator, Data Designer, NeMo Evaluator, Speaker, other)
  4. What does it consume? (artifact types from src/nemotron/steps/types.toml)
  5. What does it produce? (artifact types)
  6. Does it introduce a new artifact type?
  7. Is there an existing library example/script we should reference?

Use these repo conventions:

  • Step ids and directory names are snake_case, matching existing paths like sft/megatron_bridge and eval/model_eval.
  • step.toml uses [step].id, name, category, description, and tags.
  • [[strategies]] uses when / then / optional skill.
  • [[errors]] uses name / recovery / optional skill.
  • types.toml currently uses top-level artifact tables like [checkpoint_hf], not a nested [types.*] layout.
  • step.py is optional. Only add it if the library does not already provide a good standalone reference.

2. Generate

Create the step directory:

  • src/nemotron/steps/{category}/{step_name}/

Create these files:

  • src/nemotron/steps/{category}/{step_name}/step.toml
  • src/nemotron/steps/{category}/{step_name}/config/default.yaml
  • src/nemotron/steps/{category}/{step_name}/config/tiny.yaml
  • src/nemotron/steps/{category}/{step_name}/step.py only if needed

If needed, also create:

  • src/nemotron/steps/{category}/guide.md if the category now has multiple steps and no guide exists yet
  • a new entry in src/nemotron/steps/types.toml if the step introduces a new artifact type

For step.toml, include:

  • [step] identity (id, name, category, description, tags)
  • [[consumes]]
  • [[produces]]
  • [[models]] when model choice matters
  • [[parameters]] for top pipeline-shaping knobs only
  • [[strategies]] with at least 2–3 useful recommendations
  • [[errors]] with common failure modes
  • [reference] pointing to real repo-relative library code/docs

Generation rules:

  1. Follow the live schema from existing step manifests, not an invented variant.
  2. Keep parameters short. Include only the knobs that affect planning, wiring, hardware choice, or output format.
  3. Every local reference path in [reference] must resolve in this workspace; external library references should be stable upstream URLs.
  4. If you add step.py, keep it thin and runnable. Include a PEP 723 # /// script header with [tool.runspec].
  5. Keep step.py at 30 lines or less unless a slightly longer wrapper is unavoidable.
  6. config/default.yaml is the production starter config.
  7. config/tiny.yaml is the quick smoke config.
  8. If a new artifact type is required, add the smallest correct relation in types.toml:
    • is_a for implicit compatibility
    • convert_to only when an explicit converter step is required

3. Validate

Always run both commands after generation:

  • uv run python src/nemotron/steps/index.py
  • uv run pytest tests/steps -q

If either command fails:

  1. Fix the actual schema, path, or type issue
  2. Re-run the failing command
  3. Do not present the result until both pass

4. Summarize

Show:

  • What was created
  • Every file added or changed
  • Whether step.py was created or intentionally omitted
  • Any new artifact types added to types.toml
  • The new step entry as rendered in src/nemotron/steps/STEPS.md

Boundaries

Do

  • Reuse the existing manifest pattern from sft/megatron_bridge
  • Reuse the existing guide pattern when a new guide.md is needed
  • Add default.yaml and tiny.yaml starter configs
  • Add or extend types.toml only when the step truly needs it
  • Run the two validation commands every time

Don't

  • Don't modify existing steps just to refactor or rename them
  • Don't modify anything inside skills/nemotron-customize/ (SKILL.md, act/*.md, examples/*.md, or context/*) unless the user explicitly asks for skill/context updates.
  • Don't invent new schema fields for step.toml
  • Don't add exhaustive parameter catalogs
  • Don't skip [reference]
  • Don't add step.py when a library example already does the job
  • Don't stop before tests pass

When Stuck

  • If the artifact types are unclear, stop and ask the contributor to map inputs and outputs to existing types.toml entries.
  • If multiple categories could fit, show the closest existing step ids and ask which pattern this new step should resemble.
  • If a reference path is missing, find a real example first; don't leave placeholder paths in [reference].
  • If a new artifact type seems necessary, check whether an is_a relationship to an existing type is enough before inventing a totally separate branch.
  • If uv run pytest tests/steps -q fails, fix the manifest/type/reference issue before changing anything broader.
  • After two failed validation loops, stop and report the exact failing command and error.

Câu hỏi thường gặp

Kỹ năng AI Nemotron Add Step làm được gì?

Add a new step under src/nemotron/steps/<category>/<step_id>/ — manifest (step.toml), runner glue, configs, and per-step README.md. Use when extending the catalog so /nemotron-customize can route to it.

Vì sao nên dùng Nemotron Add Step trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Nemotron Add Step là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Nemotron Add Step trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/NVIDIA-NeMo/Nemotron/tree/main/skills/nemotron-add-step. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Nemotron Add Step?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Nemotron Add Step với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Nemotron Add Step với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Nemotron Add Step có miễn phí không?

Có. Kỹ năng này được NVIDIA-NeMo phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇