Perlmutter Nemo Generate logo

Perlmutter Nemo Generate

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

Overview

PublisherAI-ModCon
Repositorygenesis-skills
Skill nameperlmutter-nemo-generate
Stars
37
Forks
16
Bundled files
16
LicenseBSD-2-Clause
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.

  • 16 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by AI-ModCon on GitHub. Read the source before you install it.

Installation

Install the Perlmutter Nemo Generate 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.
    https://github.com/AI-ModCon/genesis-skills/tree/main/skills/baseeval-skills/perlmutter-ns-skills/perlmutter-nemo-generate
  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/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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Perlmutter Nemo Generate 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 Perlmutter Nemo Generate 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 Perlmutter Nemo Generate 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.

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Perlmutter Nemo Generate AI skill do?

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.

Why use Perlmutter Nemo Generate on TypingMind?

Because you install it once and use it with any model. Perlmutter Nemo Generate 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 Perlmutter Nemo Generate in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AI-ModCon/genesis-skills/tree/main/skills/baseeval-skills/perlmutter-ns-skills/perlmutter-nemo-generate. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Perlmutter Nemo Generate?

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 Perlmutter Nemo Generate?

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

Is the Perlmutter Nemo Generate AI skill free?

Yes. It is published on GitHub by AI-ModCon under the BSD-2-Clause 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 👇