Agent skill

Veomni New Model

by ByteDance-Seed in ByteDance-Seed/VeOmni

A skill your agent uses when adding support for a new model to VeOmni.

Apache-2.0Auto-check passedAI & LLM Engineering

Install Veomni New Model

skills CLI
$ npx skills add ByteDance-Seed/VeOmni --skill veomni-new-model -a claude-code

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

GitHub CLI
$ gh skill install ByteDance-Seed/VeOmni veomni-new-model --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/ByteDance-Seed/VeOmni.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/veomni-new-model .claude/skills/veomni-new-model && 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
veomni-new-model
GitHub stars
2.2k
Token cost
~2k tokens
SKILL.md length
876 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when adding support for a new model to VeOmni.

  • Works in 5 steps: Analyze HuggingFace Model → Modeling — hand off to… → Write Training Config → …
  • Adding support for a new model to VeOmni
  • SKILL.md covers Before You Start: Create a Plan, Phase 1: Analyze HuggingFace…, Phase 2: Modeling — hand off… and Phase 3: Write Training Config, plus 3 more sections
  • Calls make and pytest

What it does

Veomni New Model is an agent skill from ByteDance-Seed/VeOmni. Use this skill when adding support for a new model to VeOmni. Owns the lifecycle around the modeling itself: analyzing the HuggingFace model, choosing the category, the training config, trainer and data-pipeline integration, tests and docs. The modeling patch itself is delegated to /veomni-patchgen-model. Trigger: 'add model', 'support new model', 'integrate a model', 'new model support'.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Model hubs and datasets, Integration testing and Data pipelines and ETL. It works with Hugging Face and Qwen. The repository describes itself as: VeOmni: Scaling Any Modality Model Training with Model-Centric Distributed Recipe Zoo. The licence is Apache-2.0.

When your agent uses it

  • Adding support for a new model to VeOmni
  • Tasks that involve Model hubs and datasets
  • Tasks that involve Integration testing

Example prompts

  • “add model”
  • “support new model”
  • “integrate a model”
  • “/veomni-new-model”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Analyze HuggingFace Model
  2. Modeling — hand off to /veomni-patchgen-model
  3. Write Training Config
  4. Integrate with Trainer
  5. Test and Document

What it can do on your machine

Read from SKILL.md and the folder at commit 8791a71. 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

    Shell commands in SKILL.md call:

    • make
    • pytest

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

  • Network

    No URLs in SKILL.md.

    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

Veomni New Model loads about 2k tokens when it runs. Until then it costs about 102 tokens; SKILL.md has 876 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from ByteDance-Seed/VeOmni at commit 8791a71, republished under its Apache-2.0 licence (© ByteDance-Seed). 876 words, ~1,987 tokens.

Download SKILL.mdSave it as .claude/skills/veomni-new-model/SKILL.md (or your agent's skills folder).
name
veomni-new-model
description
Use this skill when adding support for a new model to VeOmni. Owns the lifecycle around the modeling itself: analyzing the HuggingFace model, choosing the category, the training config, trainer and data-pipeline integration, tests and docs. The modeling patch itself is delegated to /veomni-patchgen-model. Trigger: 'add model', 'support new model', 'integrate a model', 'new model support'.

The hard part of a new transformers-family model — the patchgen config, parallel plan, MoE weight conversion, __init__.py registration, codegen — lives in /veomni-patchgen-model. This skill is the wrapper around it: it decides what you are adding, then hands off, then does the config, trainer and data work that patchgen does not cover.

Before You Start: Create a Plan

Track the phases with whatever todo/plan tool the running agent provides:

Phase 1: Analyze HF model             -> in_progress
Phase 2: Modeling (/veomni-patchgen-model)  -> pending
Phase 3: Write training config         -> pending
Phase 4: Integrate with trainer        -> pending
Phase 5: Test and document             -> pending

Phase 1: Analyze HuggingFace Model

  1. Identify the model on HuggingFace. Read its config.json, modeling_*.py, and any processor configs.

  2. Determine model category:

    • Text-only LLM -> veomni/models/transformers/<model_name>/
    • Vision-Language -> veomni/models/transformers/<model_name>/ + veomni/data/multimodal/
    • MoE model -> additional veomni/distributed/moe/ integration
    • Diffusion model -> veomni/models/diffusers/<model_name>/
  3. Check existing similar models: Find the closest existing model in veomni/models/transformers/ and use it as a reference. E.g., if adding a new Qwen variant, reference qwen3/ or qwen3_vl/.

  4. Identify required patches: VeOmni uses a patchgen system (veomni/patchgen/) to generate model patches from the HuggingFace modeling. Check whether a sibling model already has a config you can extend via name_map — that is usually the difference between a 60-line config and a 1000-line one.

  5. Compare checkpoint keys against the supported upstream version and any existing VeOmni model. Apply the decision rule below before resolving a mismatch.

Checkpoint key conflicts require a user decision

When upstream model, VeOmni model, or checkpoint parameter keys disagree, show the concrete old/new keys and explain the impact on weight loading, export, and optimizer/DCP resume. Ask the user how to resolve the conflict before implementing a rename, alias, or compatibility mapping. Do not silently retain an obsolete model hierarchy just to preserve checkpoint keys.

If the user has already chosen a resolution in the current task, apply it without asking again. When that choice is to follow current upstream keys, keep those keys in the model and handle approved legacy-key conversion in the checkpoint layer. Verify the chosen direction with strict loading and checkpoint round-trip tests; do not hide mismatches with strict=False.

Phase 2: Modeling — hand off to /veomni-patchgen-model

  1. Create the model directory: veomni/models/transformers/<model_name>/.

  2. Switch to /veomni-patchgen-model. It owns the whole modeling surface — the <model_name>_{gpu,npu}_patch_gen_config.py files, ExtraParallel parallel_plan.py, any required MoE checkpoint_tensor_converter.py, __init__.py registration, make patchgen, and the model-level test cases — with the working examples and the pitfalls that cost the most time. Do not re-derive it from this file.

    Note that parallel_plan.py is not an FSDP wrapping policy: FSDP2 wraps generically in build_parallelize_model(), and ParallelPlan (veomni/distributed/parallel_plan.py) only describes ExtraParallel sharding, such as expert parallelism or embedding sharding. Add a plan whenever the model uses ExtraParallel, including dense models that shard embeddings; a model without ExtraParallel does not need one.

  3. Exception — non-transformers architectures. Diffusion models under veomni/models/diffusers/<model_name>/, and the flux / movqgan / wan directories, have no generated/ output and no patchgen config: they patch through device_patch.py or direct modeling. Copy the closest existing one and skip to Phase 3.

Come back here once the model loads and its registry / patch tests pass.

Phase 3: Write Training Config

  1. Model config: Create configs/model_configs/<model_family>/<ModelName>.json matching HuggingFace format.

  2. Training config: Create YAML in the appropriate directory:

    • Text: configs/text/<model_name>.yaml
    • Multimodal: configs/multimodal/<model_name>/<model_name>.yaml
    • DiT: configs/dit/<model_name>.yaml
  3. Config must include: model path, data config, optimizer settings, parallelism config, checkpoint settings.

  4. Verify against existing configs — match the structure of similar model configs.

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

Phase 4: Integrate with Trainer

  1. Verify the model works with the appropriate trainer:

    • Text -> TextTrainer (veomni/trainer/text_trainer.py)
    • VLM -> VLMTrainer (veomni/trainer/vlm_trainer.py)
    • DiT -> DitTrainer (veomni/trainer/dit_trainer.py)
  2. If the model needs custom data preprocessing:

    • Add transform in veomni/data/data_transform.py or veomni/data/multimodal/
    • Register the transform for the model
  3. If the model needs custom collator logic:

    • Extend veomni/data/data_collator.py
  4. VLM only — multimodal metadata precompute: to keep the ViT forward free of host-device CUDA syncs, derive ViT cu_seqlens / max_seqlen in the collator rather than the forward. Follow the checklist in .agents/knowledge/multimodal_metadata.md ("Adding the hook to a new model"): a collate_multimodal_metadata patchgen helper + a get_metadata_collate_func override, the per-modality vit_metadata sub-dict threaded through Model.forward → ViT.forward (with a runtime fallback), and the model added to _MM_METADATA_WIRED_CASES in the sync gate test.

Phase 5: Test and Document

  1. Create toy config: Add tests/toy_config/<model_name>_toy/config.json with minimal parameters for fast testing.

  2. Unit tests: add cases to the existing enumerated tables rather than new files — tests/models/test_model_registry.py and tests/models/test_models_patch.py (TEST_CASES) already cover loading via veomni.models.auto, forward output shape, and patch application. See .agents/knowledge/testing.md for the full landing-spot table and for why a new file outside tests/ops/ / tests/data/ will not run in CI unless it is wired into the unit-test workflows.

  3. E2e tests (if feasible): add a pytest.param to tests/e2e/test_e2e_parallel.py using the toy config, rather than a new e2e file.

  4. Run make quality and pytest tests/models/.

  5. Update documentation:

    • Add usage example to docs/ (training command, config reference).
    • Update .agents/knowledge/architecture.md if the model adds a new module or trainer path.
    • Update supported models table in project README.md if applicable.

Common Pitfalls

  • Model registry: Registration must happen at import time in __init__.py. If the model's AutoConfig type is not registered, build_foundation_model() will fail.
  • Tokenizer compatibility: Some models require specific tokenizer versions or custom chat templates — verify in veomni/data/chat_template.py.
  • Skipping the handoff: the modeling pitfalls — never editing generated/, MoE expert layout, name_map reuse, Omni subtree exclusion — are in /veomni-patchgen-model, not here. This file deliberately does not restate them, so a summary read of Phase 2 is not enough to write a config.

© ByteDance-Seed, 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

Just SKILL.md in .agents/skills/veomni-new-model of ByteDance-Seed/VeOmni.

Open the folder on GitHubat commit 8791a71

Compare with similar skills

Veomni New Model 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.

Veomni New Model compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Veomni New Model this skillByteDance-Seed/VeOmni2.2k—~2kAutomated safety check: PassApache-2.0
Qwen Mtp GgufR6410418/Jackrong-llm-finetuning-guide1.7k—~1.7kAutomated safety check: PassMIT
LoRA Space Builderhuggingface/skills11k2 repos~8.4kAutomated safety check: PassApache-2.0
Setup Benchmark Inputsmlc-ai/pith-train355—~399Automated safety check: PassApache-2.0
Add Modelguoqingbao/xinfer334—~4.2kAutomated safety check: NotesMIT
Resolvealexziskind1/model-shelf130—~792Automated safety check: PassMIT

Similar skills

  • Qwen Mtp Gguf

    R6410418/Jackrong-llm-finetuning-guide

    Complete agent-ready workflow for Qwen-family MTP or nextn GGUF conversion and release.

    1.7k GitHub stars~1.7k tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed
  • LoRA Space Builder

    huggingface/skills

    Official

    Builds and publishes a Gradio demo on Hugging Face Spaces for a LoRA, with the pipeline, UI and settings chosen to match that LoRA's task and model card.

    11k GitHub starsUsed in 2 repos~8.4k tokens
    AI & LLM EngineeringAuto-check passed
  • Setup Benchmark Inputs

    mlc-ai/pith-train

    Set up the minimal set of artifacts (tokenized DCLM corpus shard + released HuggingFace checkpoint converted to DCP) required to benchmark, profile, or regression-test a MoE model in PithTrain.

    355 GitHub stars~399 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Add Model

    guoqingbao/xinfer

    Adapt and port new LLM model architectures to this xinfer project.

    334 GitHub stars~4.2k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check: notes
  • Resolve

    alexziskind1/model-shelf

    Always resolve Hugging Face models via model-shelf before any download.

    130 GitHub stars~792 tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Check Model

    guoqingbao/xinfer

    Check model compatibility with xinfer before loading. An agent skill from guoqingbao/xinfer.

    334 GitHub stars~3.8k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed

More from ByteDance-Seed/VeOmni

All 10 skills in this repo
  • Create PR

    ByteDance-Seed/VeOmni

    Create a pull request for the current branch. An agent skill from ByteDance-Seed/VeOmni.

    2.2k GitHub stars~1.6k tokensUpdated yesterday
    Auto-check: notes
  • Veomni Debug

    ByteDance-Seed/VeOmni

    A skill your agent uses for ANY bug, error, crash, wrong output, loss divergence, gradient explosion, test failure, CUDA error, distributed training hang, checkpoint load failure, or unexpected…

    2.2k GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed
  • Veomni New Op

    ByteDance-Seed/VeOmni

    A skill your agent uses when adding a new optimized kernel or operator to veomni/ops/.

    2.2k GitHub stars~3.1k tokensUpdated yesterday
    Auto-check passed
  • Veomni Patchgen Model

    ByteDance-Seed/VeOmni

    Author or refresh a VeOmni model's patchgen-generated modeling under generated/ — GPU and/or NPU config, dense or MoE, text / VLM / Omni.

    2.2k GitHub stars~9.6k tokensUpdated yesterday
    Auto-check passed
  • Veomni Profile

    ByteDance-Seed/VeOmni

    A skill your agent uses for performance profiling and optimization.

    2.2k GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Veomni Review

    ByteDance-Seed/VeOmni

    Pre-PR code review gate. An agent skill from ByteDance-Seed/VeOmni.

    2.2k GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed

Questions about Veomni New Model

What does Veomni New Model do?

A skill your agent uses when adding support for a new model to VeOmni. Veomni New Model is an agent skill from ByteDance-Seed/VeOmni. Use this skill when adding support for a new model to VeOmni.

When should I use Veomni New Model?

Veomni New Model fits situations like: adding support for a new model to VeOmni; tasks that involve Model hubs and datasets; tasks that involve Integration testing.

How do I install Veomni New Model in Claude Code?

Run `npx skills add ByteDance-Seed/VeOmni --skill veomni-new-model -a claude-code`. Or copy the skill folder (.agents/skills/veomni-new-model in ByteDance-Seed/VeOmni) into .claude/skills/veomni-new-model in your project. Claude Code loads it when a task matches its description.

How do I install Veomni New Model in Codex?

Run `npx skills add ByteDance-Seed/VeOmni --skill veomni-new-model -a codex`. Or copy the skill folder (.agents/skills/veomni-new-model in ByteDance-Seed/VeOmni) into .agents/skills/veomni-new-model in your project. Codex loads it when a task matches its description.

Can I use Veomni New Model 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 ByteDance-Seed/VeOmni --skill veomni-new-model -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/veomni-new-model, .gemini/skills/veomni-new-model, .github/skills/veomni-new-model and .opencode/skills/veomni-new-model in your project.

What does Veomni New Model need to run?

Going by SKILL.md and its folder, Veomni New Model needs the command-line tools its instructions call (make and pytest).

Does Veomni New Model access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Veomni New Model 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. Review the folder before installing.

What licence does Veomni New Model use?

Veomni New Model 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 Veomni New Model use?

About 2k tokens (SKILL.md is roughly 7.9k 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 Veomni New Model?

Skills that share tags, products or a category with Veomni New Model: Qwen Mtp Gguf (R6410418/Jackrong-llm-finetuning-guide, 1.7k stars), LoRA Space Builder (huggingface/skills, 11k stars), Setup Benchmark Inputs (mlc-ai/pith-train, 355 stars) and Add Model (guoqingbao/xinfer, 334 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Veomni New Model?

ByteDance-Seed (a GitHub organization) maintains it in ByteDance-Seed/VeOmni, which has 2,235 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 10, 2026.

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