Perlmutter Nemo Eval logo

Perlmutter Nemo Eval

Organization
AI-ModCon
perlmutter-nemo-eval

Use when the user wants to run API-backed NeMo-Skills benchmark evaluation (ns eval or ns robust_eval) on NERSC Perlmutter. Requires an absolute env file, a benchmark name, a model, and for robust_eval an absolute local prompt_set_config.yaml path.

Overview

PublisherAI-ModCon
Repositorygenesis-skills
Skill nameperlmutter-nemo-eval
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 Eval 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-eval
  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-eval .claude/skills/perlmutter-nemo-eval
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Perlmutter Nemo Eval 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 Eval 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 Eval 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 Eval

Use this skill for benchmark evaluation jobs only:

  • ns eval (standard benchmark, single prompt config)
  • ns robust_eval (prompt-robustness evaluation across multiple prompt configs)
  • server_type=openai
  • Perlmutter executor: slurm
  • Perlmutter runtime: podman-hpc
  • external OpenAI-compatible endpoint

Do not use this skill for ns generate, sidecars, self-hosted vLLM, or multi-component jobs. For raw generation use the sibling perlmutter-nemo-generate skill.

Inputs

The user must provide:

  • an absolute local env file path
  • a benchmark name (e.g. gsm8k, gpqa, human-eval)
  • a supported model
  • for robust_eval only: an absolute local prompt_set_config.yaml path

Supported models live in config/supported_models.txt.

Env var contract

Require the same core variables as the generate skill, plus:

  • BENCHMARK — benchmark name passed to ns eval (e.g. gsm8k); also used to locate the pre-bundled data at $NEMO_SKILLS_REPO_DIR/nemo_skills/dataset/$BENCHMARK/

Optional vars (with defaults):

  • JOB_TYPE default eval — eval or robust_eval
  • NUM_SAMPLES default 0 — number of random seeds; 0 = full dataset; use e.g. 8 for robust_eval
  • MAX_CONCURRENT_REQUESTS default 32 — parallel API requests during eval; consider 16 for robust_eval
  • NEMO_SKILLS_DATA_DIR default /workspace/ns-data — container-side path where ns prepare_data downloads benchmark data; maps to $REMOTE_RUN_DIR/ns-data
  • 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

Source of truth

Same as the generate skill — resolve from NEMO_SKILLS_REPO_DIR:

  • <repo_dir>/docs/basics/perlmutter.md
  • <repo_dir>/nemo_skills/pipeline/eval.py
  • <repo_dir>/nemo_skills/pipeline/robust_eval.py
  • <repo_dir>/ns-tests/quick_bench.sh
  • <repo_dir>/ns-tests/quick_robust.sh

Workflow

  1. Validate inputs.

    • Require absolute local paths for the env file.
    • Require BENCHMARK and MODEL.
    • If JOB_TYPE=robust_eval, also require an absolute local path for prompt_set_config.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.

    • Run scripts/prepare_run.sh with --benchmark, --model, and optionally --job-type, --num-samples, --max-concurrent-requests, --prompt-set-config.
    • This renders:
      • perlmutter.yaml
      • run.sh (calls ns eval or ns robust_eval)
      • manifest.json
  7. Stage config files.

    • Run scripts/stage_inputs.sh.
    • Creates remote eval output directories.
    • For robust_eval only: uploads prompt_set_config.yaml to the remote workspace.
  8. Submit the job.

  9. Poll until completion.

    • Run scripts/check_status.sh with --wait.
    • Primary success signal: metrics.json written by the summarize_results Slurm job (second of two jobs submitted by ns eval).
    • Fallback: if that exact path is absent but metrics.json is found anywhere under remote_output_dir (maxdepth 4), treat as complete and warn.
  10. Fetch outputs.

    • Run scripts/fetch_results.sh.
    • Downloads the full eval output directory recursively (includes metrics.json, output*.jsonl, and for robust_eval the summarize_robustness/ aggregation).

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.
  • The run.sh template uses cd /tmp before invoking ns eval/ns robust_eval. Do not change this — same CWD constraint as the generate skill applies.
  • Preflight checks are mandatory on every run. Do not treat them as optional.
  • NEMO_SKILLS_DATA_DIR defaults to /workspace/ns-data, which maps to $REMOTE_RUN_DIR/ns-data inside the container. Benchmark data (pre-bundled *.jsonl files from the local NEMO_SKILLS_REPO_DIR/nemo_skills/dataset/ tree) is staged to the remote workspace via SCP during stage_inputs.sh, before job submission.

Final response

The final user-facing reply must include:

  • whether the job succeeded or failed
  • the local results/eval-output/ directory path
  • the path to metrics.json (or the summarize_robustness/ directory for robust_eval)
  • the local 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 Eval AI skill do?

Use when the user wants to run API-backed NeMo-Skills benchmark evaluation (ns eval or ns robust_eval) on NERSC Perlmutter. Requires an absolute env file, a benchmark name, a model, and for robust_eval an absolute local prompt_set_config.yaml path.

Why use Perlmutter Nemo Eval on TypingMind?

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

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 Eval?

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

Is the Perlmutter Nemo Eval 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 👇