Nemotron Add Pattern logo

Nemotron Add Pattern

OrganizationPopular
NVIDIA-NeMo
nemotron-add-pattern

Add a cross-cutting decision pattern under src/nemotron/steps/patterns/. Use when a recurring ML decision (tokenizer lock, eval bookends, LoRA-on-small-data, etc.) must be encoded so other skills can fire it during planning.

Overview

PublisherNVIDIA-NeMo
RepositoryNemotron
Skill namenemotron-add-pattern
Stars
2.1K
Forks
419
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by NVIDIA-NeMo on GitHub. Read the source before you install it.

Installation

Install the Nemotron Add Pattern AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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-pattern .claude/skills/nemotron-add-pattern
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Nemotron Add Pattern in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Nemotron Add Pattern on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Nemotron Add Pattern is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

nemotron-add-pattern

Invocation: /nemotron-add-pattern.

You help contributors add a new cross-cutting pattern to src/nemotron/steps/patterns/ without getting the frontmatter, scope, catalog regeneration, or tests wrong.

Tone

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

  • Status updates: ≤2 lines
  • Prefer bullets over long prose
  • Say exactly which pattern file you will create and which commands you will run
  • Do not guess step ids or confidence level
  • Keep the recommendation actionable, not academic
  • Always regenerate PATTERNS.md and run tests

Workflow

Four phases. Always in this order.

1. Orient

Read these first:

  • src/nemotron/steps/patterns/sft-small-dataset-prefer-lora.md
  • src/nemotron/steps/PATTERNS.md
  • src/nemotron/steps/index.py
  • tests/steps/test_patterns.py

Then ask the contributor:

  1. What is the pattern about? (one sentence)
  2. When should it apply? (natural-language triggers)
  3. Which steps does it touch? (step ids, or [] for global)
  4. What is the confidence level? (high, medium, or experimental)
  5. Does it introduce a new concept or just encode existing tribal knowledge?

Use these repo conventions:

  • Pattern files live at src/nemotron/steps/patterns/{id}.md.
  • The filename stem must match the frontmatter id.
  • Required frontmatter fields are id, title, tags, triggers, steps, and confidence.
  • steps: [] is valid for a global pattern.
  • Valid confidence values are high, medium, and experimental.
  • The body uses these sections: ## When to apply, ## What to do, ## Exceptions, ## References.
  • Step-strategy cross-links in step.toml are a separate task. Do not edit them here.

2. Generate

Create:

  • src/nemotron/steps/patterns/{id}.md

The pattern file must contain:

  • YAML frontmatter with id, title, tags, triggers, steps, confidence
  • ## When to apply
  • ## What to do
  • ## Exceptions
  • ## References

Generation rules:

  1. Keep the pattern id kebab-case and make it match the filename exactly.
  2. Turn vague triggers into 2–4 concrete, observable conditions.
  3. Scope the pattern honestly: use explicit step ids if it only applies to a subset of steps; use [] only when it is truly global.
  4. Put the recommendation itself in What to do; keep background explanation shorter than the action guidance.
  5. If the pattern introduces a new concept, define it in the first paragraph of When to apply.
  6. Do not modify existing patterns.
  7. Regenerate the catalog with:
    • uv run python src/nemotron/steps/index.py
  8. Run validations with:
    • uv run pytest tests/steps -q

3. Validate

Check all of these before finishing:

  • Frontmatter has all required fields
  • The pattern id matches the filename
  • steps contains only valid step ids
  • confidence is one of high, medium, experimental
  • src/nemotron/steps/PATTERNS.md is updated
  • uv run pytest tests/steps -q passes

If validation fails:

  1. Fix the real frontmatter, scope, or catalog issue
  2. Re-run the failing command
  3. Do not present the result until tests pass

4. Summarize

Show:

  • What pattern was created
  • The file added
  • The final scope (steps list or global)
  • The confidence level
  • That PATTERNS.md was regenerated
  • That uv run pytest tests/steps -q passed

Boundaries

Do

  • Reuse the live pattern format from small-dataset-lora.md
  • Keep triggers concrete
  • Keep advice prescriptive and easy to apply
  • Regenerate PATTERNS.md
  • Run tests every time

Don’t

  • Don’t modify existing patterns
  • Don’t modify step.toml strategy blocks here
  • Don’t invent step ids
  • Don’t label a new idea high confidence without evidence
  • Don’t stop before tests pass

When Stuck

  • If the step scope is unclear, look at src/nemotron/steps/STEPS.md and ask which ids the contributor actually wants.
  • If the trigger is vague, rewrite it as an observable condition before writing the file.
  • If the concept is still experimental, mark it experimental rather than overstating certainty.
  • If the pattern overlaps an existing one, explain the overlap and ask whether this should be a separate pattern.
  • After two failed validation loops, stop and report the exact failing command and error.

Calibration Examples

Example 1 — simple high-confidence pattern

User:

Add a pattern saying we should use a consistent random seed across stages.

Assistant:

I’ll confirm whether this is global or limited to a few steps, then I’ll create src/nemotron/steps/patterns/consistent-random-seed.md with the required frontmatter and the four body sections.

I’ll mark it high confidence only if the guidance is already established team practice, regenerate PATTERNS.md with uv run python src/nemotron/steps/index.py, and run uv run pytest tests/steps -q before I finish.

Example 2 — experimental step-scoped pattern

User:

Add a pattern for code-generation SFT that uses a higher learning rate.

Assistant:

I’ll confirm the exact step ids and keep the scope narrow, for example sft/automodel and sft/megatron_bridge if that is what you intend.

Because this is a newer idea rather than settled guidance, I’ll label it experimental, encode the trigger conditions in frontmatter, create the new pattern markdown file, regenerate PATTERNS.md, and run uv run pytest tests/steps -q.

Frequently asked questions

What does the Nemotron Add Pattern AI skill do?

Add a cross-cutting decision pattern under src/nemotron/steps/patterns/. Use when a recurring ML decision (tokenizer lock, eval bookends, LoRA-on-small-data, etc.) must be encoded so other skills can fire it during planning.

Why use Nemotron Add Pattern on TypingMind?

Because you install it once and use it with any model. Nemotron Add Pattern is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Nemotron Add Pattern in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/NVIDIA-NeMo/Nemotron/tree/main/skills/nemotron-add-pattern. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Nemotron Add Pattern?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Nemotron Add Pattern?

As many as you like. As long as a model supports skills, you can use Nemotron Add Pattern with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Nemotron Add Pattern AI skill free?

Yes. It is published on GitHub by NVIDIA-NeMo under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇