Official agent skill

Codonfm Finetune

by NVIDIA in NVIDIA/skills

Fine-tune public CodonFM Encodon checkpoints on labeled coding-sequence or coding-variant data using LoRA, head-only, or full fine-tuning.

OfficialApache-2.0Auto-check passedAI & LLM Engineering

Install Codonfm Finetune

skills CLI
$ npx skills add NVIDIA/skills --skill codonfm-finetune -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install NVIDIA/skills codonfm-finetune --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/NVIDIA/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/bionemo-codonfm-finetune .claude/skills/codonfm-finetune && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codonfm-finetune
GitHub stars
3.6k
Used in
1 other repo
Token cost
~2.4k tokens
SKILL.md length
1,055 words
Files
13 (incl. scripts)
Skills in repo
390
Repo updated
First seen
Licence
Apache-2.0

At a glance

Fine-tune public CodonFM Encodon checkpoints on labeled coding-sequence or coding-variant data using LoRA, head-only, or full fine-tuning.

  • A user explicitly asks to fine-tune CodonFM
  • SKILL.md covers Instructions, Examples, Supported strategies and Sequence-level regression or…, plus 3 more sections
  • Runs Python scripts from its folder; calls python
  • Encodon for regression

What it does

Codonfm Finetune is an agent skill from NVIDIA/skills, published by the product's own GitHub organization. Fine-tune public CodonFM Encodon checkpoints on labeled coding-sequence or coding-variant data using LoRA, head-only, or full fine-tuning. Use when a user explicitly asks to fine-tune CodonFM or Encodon for regression or classification. Support generic public-v1 Encodon workflows only; reject Decodon, MissenseDataset, missensesynomagg, and generation workflows.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 16 other files, including scripts (for example `BENCHMARK.md`, `agents/openai.yaml` and `evals/evals.json`).

It sits in AI & LLM Engineering, covering Fine-tuning. It works with NVIDIA AI Platform. The repository describes itself as: Agent Skills for NVIDIA products — install into Claude Code, Codex, and other coding agents to run Physical AI, robotics, simulation, CUDA, and RAG workflows end to end. The licence is Apache-2.0.

When your agent uses it

  • A user explicitly asks to fine-tune CodonFM
  • Encodon for regression

Example prompts

  • “/codonfm-finetune”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 14a98ae. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • huggingface.co
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codonfm Finetune loads about 2.4k tokens when it runs. Until then it costs about 96 tokens; SKILL.md has 1,055 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~96
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from NVIDIA/skills at commit 14a98ae, republished under its Apache-2.0 licence (© NVIDIA). 1,055 words, ~2,416 tokens.

Download SKILL.mdSave it as .claude/skills/codonfm-finetune/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.
name
codonfm-finetune
description
Fine-tune public CodonFM Encodon checkpoints on labeled coding-sequence or coding-variant data using LoRA, head-only, or full fine-tuning. Use when a user explicitly asks to fine-tune CodonFM or Encodon for regression or classification. Support generic public-v1 Encodon workflows only; reject Decodon, MissenseDataset, missense_synom_agg, and generation workflows.
metadata.author
NVIDIA BioNeMo <bionemofeedback@nvidia.com>

Fine-tune public Encodon

Use --pretrained_ckpt_path for public v1. Do not substitute --checkpoint_path: the public runner does not forward that argument to the fine-tuning task.

Instructions

Resolve the target label, dataset, checkpoint, and output directory from the request and available files. Reuse existing data and weights. For training, check the project's ML dependencies and a compatible NVIDIA GPU before launch. If a required resource is unavailable, complete the available data preparation and return the command with the missing prerequisite clearly identified. When training is requested and the prerequisites are met, execute it and check the resulting checkpoints and metrics. A request for preparation ends with the validated inputs and command.

Use the user's labeled dataset when provided. For a demonstration of sequence regression without a dataset, use the public human RiboNN translation-efficiency data below and state that choice. This is not a substitute for a user's intended assay or for labeled coding variants. If variant labels are missing, return the required schema and a command template promptly; do not search for labels or invent measured effects.

Default demonstration checkpoint: nvidia/NV-CodonFM-Encodon-80M-v1, revision 399ca9fe17b57941a7bebc6788033919b417413c, file NV-CodonFM-Encodon-80M-v1.safetensors with sibling config.json. The public weights are about 307 MB. Download them when needed for the requested work; input preparation can record an intended checkpoint path. These are the original Encodon weights; the -TE- checkpoints use the separate TransformerEngine implementation.

For an unsupported Decodon or missense-aggregation request, inspect the public parser/model configuration, explain the missing feature, and finish. Do not implement the missing model or search private repositories.

Examples

Prepare a small public-data example with the standard-library helper prepare_ribonn.py, running from the repository root. Set CODONFM_DATA_PATH to the CSV you want to create:

bash
python skills/codonfm-finetune/scripts/prepare_ribonn.py \
    --output "$CODONFM_DATA_PATH"

With an existing raw file, add --input "$RIBONN_DATA_PATH". The default reads at most eight accepted rows per split; --max-rows-per-split 0 processes the full input. Remote streaming has a time budget and no automatic retries; use a local file if it fails. The helper follows the CDS slicing in the RiboNN notebook:

  • Read the upstream .csv with a tab delimiter.
  • Set ref_seq = tx_sequence[utr5_size:utr5_size + cds_size], id = transcript_id, and value = mean_te unchanged. Do not take another logarithm.
  • Preserve source fold groups: 0–7 become train, 8 becomes val, 9 becomes test. This is a demonstration holdout, not the notebook's cross-validation.
  • Exclude invalid/non-finite rows and CDSs exceeding 2046 codons instead of silently truncating labeled examples. Record counts and source in the adjacent .metadata.json. A small subset does not establish predictive performance.

The pinned dataset URL is in the helper; its source is CenikLab/TE_classic_ML. The notebook extracts frozen Encodon embeddings and trains a random-forest regressor with fold-based cross-validation. This skill reuses its data source, CDS extraction, and target for a separate fine-tuning example; it does not reproduce the notebook's training procedure or results.

Supported strategies

  • lora: adapter fine-tuning; default choice for smaller datasets.
  • head_only_random: freeze the backbone and train a new head.
  • head_only_pretrained: train an existing compatible pretrained head.
  • full: update the complete model.

Accept only encodon_80m, encodon_600m, or encodon_1b.

Sequence-level regression or classification

Require id, ref_seq, value, and split columns. Extra columns are allowed. Map the user's columns to this loader schema; the RiboNN helper is only for RiboNN source data. Training needs train rows and, when validation is enabled, val rows. A test split is needed only for later evaluation. Labels in unused splits need not be populated. Regression targets must be finite numbers; classification targets must be integer class indices from zero through num_classes - 1. Use a downstream head for scalar targets.

Check sequence preparation with the user’s assay in mind. The loader converts uppercase RNA U to T, and the tokenizer uppercases bases. Ambiguous bases and incomplete codons can produce unknown tokens; overlength sequences are truncated. Review these cases rather than silently dropping user records. Choose batches and a training budget appropriate to the dataset; small training sets may be resampled by the loader.

Set CODONFM_CHECKPOINT_PATH to the checkpoint file and CODONFM_RUN_DIR to your chosen output directory. This example runs ten steps to check the workflow; choose the training budget for the actual dataset and task:

bash
python -m src.runner finetune \
    --exp_name property_finetune \
    --model_name encodon_80m \
    --pretrained_ckpt_path "$CODONFM_CHECKPOINT_PATH" \
    --data_path "$CODONFM_DATA_PATH" \
    --process_item codon_sequence \
    --dataset_name CodonBertDataset \
    --finetune_strategy lora \
    --lora_alpha 32 \
    --lora_r 16 \
    --lora_dropout 0.1 \
    --loss_type regression \
    --use_downstream_head \
    --lr 2e-5 \
    --max_steps 10 \
    --warmup_iterations 1 \
    --check_val_every_n_epoch 1 \
    --train_batch_size 4 \
    --val_batch_size 4 \
    --num_workers 0 \
    --num_nodes 1 \
    --num_gpus 1 \
    --out_dir "$CODONFM_RUN_DIR" \
    --checkpoints_dir "$CODONFM_RUN_DIR/checkpoints"

For classification, replace --loss_type regression with --loss_type classification and pass the correct --num_classes.

Show full SKILL.md (372 more words)Show less

Generic coding-variant classification

Use MutationDataset only for an ordinary labeled variant head, not the newer synonymous-codon aggregation loss. Require id, the reference-sequence column (ref_seq by default), ref_codon, alt_codon, codon_position, and the chosen label column. Select existing sequence/label columns with --ref_seq_col and --label_col; these overrides apply to MutationDataset only. Starting from the sequence-level command, change/add:

text
--process_item mutation_pred_mlm
--dataset_name MutationDataset
--label_col label
--loss_type classification
--num_classes 2
--use_downstream_head
--extract-seq
--mask_mutation
--train_val_test_ratio 0.8 0.1 0.1

Always keep --mask_mutation for masked-codon variant inputs. Use --extract-seq to construct the context around a variant in a full CDS; already prepared contexts can omit it. Choose split ratios for the dataset; a held-out test split is optional for training. Public v1 reuses existing train_idx.npy, val_idx.npy, and test_idx.npy files without checking that they belong to the current CSV. Verify their provenance before reusing them.

Execute and outputs

Check prepared data directly against the selected loader's schema above using ordinary CSV inspection. Verify required columns, finite labels in the splits used for training, class indices when applicable, sequence preparation, and variant reference positions. The RiboNN helper checks its output during preparation. These checks do not require installing CodonFM's ML dependencies. For preparation requests, report what was checked and provide the training command. For execution requests, run it once data, weights, and compute are ready.

The existing runner has an optional --dryrun flag that builds runtime configuration and skips execution. It requires the ML dependencies and does not read the dataset or load weights. It is not a data-validation step or a prerequisite for preparing inputs and commands.

Set validation frequency for the planned training length: for a small example, --check_val_every_n_epoch 1 or a smaller --val_check_interval avoids public v1's default interval of 1,000 batches exceeding an epoch.

  • Checkpoints are written under the explicitly supplied --checkpoints_dir, including last.ckpt and configured best checkpoints.
  • CSV metrics are written below --out_dir/<exp_name>/version_* unless W&B is enabled.
  • W&B requires --enable_wandb, --project_name, and --entity together.
  • Fine-tuning does not produce prediction arrays; run an evaluation task separately against the resulting checkpoint.

Boundaries

  • Do not use MissenseDataset, missense_seq, missense_inference, missense_synom_agg, or any --missense_* flag. They are absent publicly.
  • Do not use Decodon model names, CLM preprocessing, organism tokens, or generation datasets.
  • Require an explicit learning rate. Public v1 passes lr=None otherwise.
  • Treat scientific and clinical validity as a separate validation problem; successful training does not certify the resulting model.

© NVIDIA, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 12 other files (scripts) in skills/bionemo-codonfm-finetune of NVIDIA/skills.

  • SKILL.md
  • BENCHMARK.md
  • agents/openai.yaml
  • evals/evals.json
  • evals/files/codonfm_source.zip
  • evals/files/encodon_checkpoint.json
  • evals/files/ribonn_smoke.provenance.json
  • evals/files/ribonn_smoke.tsv
  • evals/files/variants_labeled.csv
  • evals/files/variants_labeled.provenance.json
  • scripts/prepare_ribonn.py
  • skill-card.md
  • skill.oms.sig

Open the folder on GitHubat commit 14a98ae

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in NVIDIA/skills, which our catalogue first saw on October 10, 2026.

Compare with similar skills

Codonfm Finetune next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codonfm Finetune compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codonfm Finetune this skillNVIDIA/skills3.6k1 repos~2.4kAutomated safety check: PassApache-2.0
Nemotron Add StepNVIDIA-NeMo/Nemotron2.1k—~1.7kAutomated safety check: PassApache-2.0
Setup Workshop Nemoclawbrevdev/workshop-build-an-agent146—~5.2kAutomated safety check: PassApache-2.0
Nemotron Super3NVIDIA-NeMo/Nemotron2.1k—~2.4kAutomated safety check: PassApache-2.0
Nemotron 3 Ultra Text2sql LoraNVIDIA-NeMo/Nemotron2.1k—~1.9kAutomated safety check: PassApache-2.0
Nemotron UltraNVIDIA-NeMo/Nemotron2.1k—~1.8kAutomated safety check: PassApache-2.0

Similar skills

  • Nemotron Add Step

    NVIDIA-NeMo/Nemotron

    Add a new step under src/nemotron/steps/<category/<stepid/ — manifest (step.toml), runner glue, configs, and per-step README.md.

    2.1k GitHub stars~1.7k tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed
  • Setup Workshop Nemoclaw

    brevdev/workshop-build-an-agent

    Set up the NVIDIA "Build an Agent" DevX workshop as a working JupyterLab environment from INSIDE a locked-down OpenShell/NemoClaw sandbox, and hand the user the token URL + access commands.

    146 GitHub stars~5.2k tokensUpdated 3 days ago
    AI & LLM EngineeringAuto-check passed
  • Nemotron Super3

    NVIDIA-NeMo/Nemotron

    Reference desk for NVIDIA Nemotron 3 Super — architecture, training data, recipes (pretrain/SFT/RL/eval/quantization), and deployment notes.

    2.1k GitHub stars~2.4k tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed
  • Nemotron 3 Ultra Text2sql Lora

    NVIDIA-NeMo/Nemotron

    Run the Nemotron-3 Ultra Text2SQL LoRA fine-tuning tutorial (NeMo Megatron-Bridge) end-to-end for the user on their SLURM cluster: data prep, distributed checkpoint conversion, and packed LoRA…

    2.1k GitHub stars~1.9k tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed
  • Nemotron Ultra

    NVIDIA-NeMo/Nemotron

    Reference desk for NVIDIA Nemotron 3 Ultra (550B-A55B) — architecture, NVFP4 pretraining, SFT, MOPD (multi-teacher on-policy distillation), MTP boosting, quantization, inference.

    2.1k GitHub stars~1.8k tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed
  • OpenVLA-OFT Fine-Tuning

    Orchestra-Research/AI-Research-SKILLs

    Fine-tunes and evaluates OpenVLA-OFT and OFT+ robot policies with LoRA and continuous action heads on LIBERO simulation and ALOHA real-robot setups.

    13k GitHub stars~3.7k tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed

More from NVIDIA/skills

All 390 skills in this repo
  • Official

    A skill your agent uses when the user wants to deploy, run, debug, tear down, or call the REST API of the RTVI-CV 2D detection / tracking microservice.

    3.6k GitHub starsUsed in 1 repo~4.5k tokens
    Auto-check passed
  • Official

    Generates, validates, compares and explains HOLOLINK_def.svh macro files for the HSB IP, using bundled Python scripts and asking before it writes anything.

    3.6k GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Official

    Runs and validates an end-to-end Mission Control demo in a locally installed Isaac Sim, with a Nova Carter robot driven through a Python server.

    3.6k GitHub stars~4.8k tokensUpdated yesterday
    Auto-check passed
  • Orchestrates defect image generation for PCBA, metal surface and glass inspection with NVIDIA Cosmos AnomalyGen on OSMO, from cold-start Day 0 to real-photo Day 1 labeling.

    3.6k GitHub stars~5k tokensUpdated yesterday
    Auto-check: notes
  • Orchestrates video data augmentation and auto-labeling workflows on OSMO, from flow selection and preflight checks to submission, monitoring and output download.

    3.6k GitHub stars~4.7k tokensUpdated yesterday
    Auto-check: notes
  • Official

    Runs NVIDIA TAO Data Services KPI analysis on object detection results, comparing predictions to ground truth and writing per-class precision, recall and AP to a CSV.

    3.6k GitHub stars~2.7k tokensUpdated yesterday
    Auto-check: notes

Questions about Codonfm Finetune

What does Codonfm Finetune do?

Fine-tune public CodonFM Encodon checkpoints on labeled coding-sequence or coding-variant data using LoRA, head-only, or full fine-tuning. Codonfm Finetune is an agent skill from NVIDIA/skills, published by the product's own GitHub organization. Fine-tune public CodonFM Encodon checkpoints on labeled coding-sequence or coding-variant data using LoRA, head-only, or full fine-tuning.

When should I use Codonfm Finetune?

Codonfm Finetune fits situations like: A user explicitly asks to fine-tune CodonFM; encodon for regression.

How do I install Codonfm Finetune in Claude Code?

Run `npx skills add NVIDIA/skills --skill codonfm-finetune -a claude-code`. Or copy the skill folder (skills/bionemo-codonfm-finetune in NVIDIA/skills) into .claude/skills/codonfm-finetune in your project. Claude Code loads it when a task matches its description.

How do I install Codonfm Finetune in Codex?

Run `npx skills add NVIDIA/skills --skill codonfm-finetune -a codex`. Or copy the skill folder (skills/bionemo-codonfm-finetune in NVIDIA/skills) into .agents/skills/codonfm-finetune in your project. Codex loads it when a task matches its description.

Can I use Codonfm Finetune in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NVIDIA/skills --skill codonfm-finetune -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codonfm-finetune, .gemini/skills/codonfm-finetune, .github/skills/codonfm-finetune and .opencode/skills/codonfm-finetune in your project.

What does Codonfm Finetune need to run?

Going by SKILL.md and its folder, Codonfm Finetune needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Codonfm Finetune access the network?

SKILL.md names 2 domains. As links in the text: huggingface.co and github.com. This is read from the text; nothing was executed.

Is Codonfm Finetune safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Codonfm Finetune use?

Codonfm Finetune is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Codonfm Finetune use?

About 2.4k tokens (SKILL.md is roughly 9.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Codonfm Finetune?

Skills that share tags, products or a category with Codonfm Finetune: Nemotron Add Step (NVIDIA-NeMo/Nemotron, 2.1k stars), Setup Workshop Nemoclaw (brevdev/workshop-build-an-agent, 146 stars), Nemotron Super3 (NVIDIA-NeMo/Nemotron, 2.1k stars) and Nemotron 3 Ultra Text2sql Lora (NVIDIA-NeMo/Nemotron, 2.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codonfm Finetune?

NVIDIA (a GitHub organization, an official publisher) maintains it in NVIDIA/skills, which has 3,555 GitHub stars. The repository holds 390 skills in this directory. The repository was last updated on October 9, 2026.

Source: NVIDIA/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.