Logo di Nemotron Add Pattern

Nemotron Add Pattern

OrganizzazionePopolare
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.

Add to TypingMind

Panoramica

Pubblicato daNVIDIA-NeMo
RepositoryNemotron
Nome della skillnemotron-add-pattern
Stelle
2.1K
Fork
419
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da NVIDIA-NeMo su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Nemotron Add Pattern in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/NVIDIA-NeMo/Nemotron/tree/main/skills/nemotron-add-pattern
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Nemotron Add Pattern in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Nemotron Add Pattern non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Nemotron Add Pattern non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Nemotron Add Pattern su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Nemotron Add Pattern è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Nemotron Add Pattern in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/NVIDIA-NeMo/Nemotron/tree/main/skills/nemotron-add-pattern. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Nemotron Add Pattern?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Nemotron Add Pattern?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Nemotron Add Pattern: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Nemotron Add Pattern è gratuita?

Sì. È pubblicata su GitHub da NVIDIA-NeMo con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇