Logotipo de Perlmutter Nemo Generate

Perlmutter Nemo Generate

Organización
AI-ModCon
perlmutter-nemo-generate

Use when the user wants to run API-backed NeMo-Skills generation on NERSC Perlmutter with sshproxy MFA, podman-hpc image bootstrap, remote preflight checks, job submission, polling, and result retrieval. Require an absolute env file, an absolute local input.jsonl path, an absolute local prompt.yaml path, and a supported model.

Descripción general

EditorAI-ModCon
Repositoriogenesis-skills
Nombre de la habilidadperlmutter-nemo-generate
Estrellas
37
Forks
16
Archivos incluidos
16
LicenciaBSD-2-Clause
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • 16 archivos incluidos

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por AI-ModCon en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Perlmutter Nemo Generate en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/AI-ModCon/genesis-skills/tree/main/skills/baseeval-skills/perlmutter-ns-skills/perlmutter-nemo-generate
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AI-ModCon/genesis-skills.git /tmp/genesis-skills
mkdir -p .claude/skills
cp -r /tmp/genesis-skills/skills/baseeval-skills/perlmutter-ns-skills/perlmutter-nemo-generate .claude/skills/perlmutter-nemo-generate
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Perlmutter Nemo Generate en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Perlmutter Nemo Generate automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Perlmutter Nemo Generate no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Perlmutter NeMo Generate

Use this skill for one job shape only:

  • ns generate
  • server_type=openai
  • Perlmutter executor: slurm
  • Perlmutter runtime: podman-hpc
  • external OpenAI-compatible endpoint

Do not use this skill for ns eval, sidecars, self-hosted vLLM, or multi-component jobs.

Inputs

The user must provide:

  • an absolute local env file path
  • an absolute local input.jsonl path
  • an absolute local prompt.yaml path
  • a supported model

Supported models live in config/supported_models.txt.

Env var contract

Require these variables from the env file:

  • OPENAI_BASE_URL
  • NERSC_USER
  • SSH_LOGIN_IDENTITY
  • NERSC_ACCOUNT
  • NERSC_QOS
  • NERSC_CONSTRAINT
  • NERSC_JOB_DIR
  • REMOTE_WORKSPACE_ROOT
  • PERLMUTTER_IMAGE_NAME
  • NEMO_SKILLS_REPO_DIR

Require at least one API key variable:

  • OPENAI_API_KEY
  • NVIDIA_API_KEY

Optional vars:

  • NERSC_HOST default perlmutter.nersc.gov
  • SSH_IDENTITY defaults to <SSH_LOGIN_IDENTITY>-cert.pub
  • NODES default 1
  • NTASKS_PER_NODE default 1
  • DEFAULT_TIMEOUT default 00:20:00
  • HF_HOME_IN_WORKSPACE default /workspace/hf-cache
  • REMOTE_IMAGE_BUILD_DIR default $HOME/ns-image-build
  • STATUS_POLL_INTERVAL default 30
  • PERLMUTTER_BASE_IMAGE default docker.io/library/python:3.11
  • PERLMUTTER_AGENT_RUNS_DIR to override where local run artifacts are stored
  • PERLMUTTER_AGENT_STATE_DIR to override where the managed local virtualenv is stored

The explicit repo path in NEMO_SKILLS_REPO_DIR must point to the Perlmutter-enabled NeMo-Skills checkout. The scripts validate the repo shape and reject checkouts that do not contain the required Perlmutter files.

The local CLI contract is:

  • the skill never trusts ns from PATH
  • the skill creates or reuses a managed virtualenv under ~/.cache/perlmutter-nemo-generate by default
  • the modified repo is installed into that managed virtualenv with pip install -e
  • the rendered submission script uses that managed ns binary explicitly

The image contract is simple:

  • PERLMUTTER_IMAGE_NAME is the tag the skill will look for on Perlmutter.
  • If that tag already exists, the skill reuses it.
  • If that tag is missing, the skill builds the minimal podman-hpc image defined by templates/Containerfile.minimal.tmpl and migrates it.
  • The user does not need to know a separate image "type"; the skill manages one image shape for this workflow.

Workflow

  1. Validate inputs.

    • Require absolute local paths for the env file, input.jsonl, and prompt.yaml.
    • Reject unsupported models with the allowlist file.
  2. Validate the explicit repo path from the env file.

    • Load NEMO_SKILLS_REPO_DIR from the env file.
    • Reject the run if the repo path is missing, not absolute, or does not contain the required Perlmutter-enabled files.
    • Never assume a sibling Skills/ checkout.
    • Never clone or install the repo automatically.
  3. Ensure MFA-backed SSH access is live.

  4. Run preflight checks before every submission.

  5. If the image is missing, build it.

  6. Prepare the run bundle.

  7. Stage user files.

    • Run scripts/stage_inputs.sh.
    • Always copy the user files into the remote mounted workspace first.
    • Never rely on untracked local files being packaged by NeMo-Run.
  8. Submit the job.

  9. Poll until completion.

  10. Fetch outputs.

Behavior constraints

  • Never print the contents of the env file.
  • Never echo secret values from API keys or SSH settings.
  • Always keep perlmutter.yaml run-specific; do not edit shared checked-in templates in place.
  • Always mount the run-specific remote directory to /workspace.
  • Always submit from the repo pointed to by NEMO_SKILLS_REPO_DIR so NeMo-Run packages the correct code.
  • The run.sh template uses cd /tmp before invoking ns generate. Do not change this to cd "$SCRIPT_DIR". NeMo-Skills' get_packager() checks the process CWD for a git repo; if the CWD is inside any git repo (including this skill's own repo), GitArchivePackager fires and fails on uncommitted run artifacts. Running from /tmp forces the safe PatternPackager path.
  • Preflight checks are mandatory on every run. Do not treat them as optional health checks.

Final response

The final user-facing reply must include:

  • whether the job succeeded or failed
  • the local fetched output.jsonl path
  • the local fetched log directory or submission log path
  • the image tag used
  • a short failure summary if any step failed

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Se ofrecen como archivos de lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Perlmutter Nemo Generate?

Use when the user wants to run API-backed NeMo-Skills generation on NERSC Perlmutter with sshproxy MFA, podman-hpc image bootstrap, remote preflight checks, job submission, polling, and result retrieval. Require an absolute env file, an absolute local input.jsonl path, an absolute local prompt.yaml path, and a supported model.

¿Por qué usar Perlmutter Nemo Generate en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Perlmutter Nemo Generate está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Perlmutter Nemo Generate en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/AI-ModCon/genesis-skills/tree/main/skills/baseeval-skills/perlmutter-ns-skills/perlmutter-nemo-generate. TypingMind lee su archivo SKILL.md, empaqueta sus archivos y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Perlmutter Nemo Generate?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Perlmutter Nemo Generate?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Perlmutter Nemo Generate con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Perlmutter Nemo Generate?

Sí. AI-ModCon la ha publicado en GitHub bajo la licencia BSD-2-Clause. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇