Add Model
guoqingbao/xinfer
Adapt and port new LLM model architectures to this xinfer project.
Estimate GPU memory usage for Megatron-based MoE (Mixture of Experts) and dense models.
$ npx skills add yzlnew/infra-skills --skill megatron-memory-estimator -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install yzlnew/infra-skills megatron-memory-estimator --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/yzlnew/infra-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/megatron-memory-estimator .claude/skills/megatron-memory-estimator && rm -rf skills-srcUse ~/.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/
Install the "megatron-memory-estimator" agent skill from https://github.com/yzlnew/infra-skills/tree/main/megatron-memory-estimator into .claude/skills/megatron-memory-estimator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "megatron-memory-estimator", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/yzlnew/infra-skills/tree/main/megatron-memory-estimatorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add yzlnew/infra-skills --skill megatron-memory-estimator -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install yzlnew/infra-skills megatron-memory-estimator --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yzlnew/infra-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/megatron-memory-estimator .agents/skills/megatron-memory-estimator && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "megatron-memory-estimator" agent skill from https://github.com/yzlnew/infra-skills/tree/main/megatron-memory-estimator into .agents/skills/megatron-memory-estimator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "megatron-memory-estimator", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yzlnew/infra-skills --skill megatron-memory-estimator -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install yzlnew/infra-skills megatron-memory-estimator --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yzlnew/infra-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/megatron-memory-estimator .cursor/skills/megatron-memory-estimator && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "megatron-memory-estimator" agent skill from https://github.com/yzlnew/infra-skills/tree/main/megatron-memory-estimator into .cursor/skills/megatron-memory-estimator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "megatron-memory-estimator", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/yzlnew/infra-skills.git --path megatron-memory-estimator--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add yzlnew/infra-skills --skill megatron-memory-estimator -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install yzlnew/infra-skills megatron-memory-estimator --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yzlnew/infra-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/megatron-memory-estimator .gemini/skills/megatron-memory-estimator && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "megatron-memory-estimator" agent skill from https://github.com/yzlnew/infra-skills/tree/main/megatron-memory-estimator into .gemini/skills/megatron-memory-estimator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "megatron-memory-estimator", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install yzlnew/infra-skills megatron-memory-estimatorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add yzlnew/infra-skills --skill megatron-memory-estimator -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/yzlnew/infra-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/megatron-memory-estimator .github/skills/megatron-memory-estimator && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "megatron-memory-estimator" agent skill from https://github.com/yzlnew/infra-skills/tree/main/megatron-memory-estimator into .github/skills/megatron-memory-estimator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "megatron-memory-estimator", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yzlnew/infra-skills --skill megatron-memory-estimator -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install yzlnew/infra-skills megatron-memory-estimator --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yzlnew/infra-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/megatron-memory-estimator .opencode/skills/megatron-memory-estimator && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "megatron-memory-estimator" agent skill from https://github.com/yzlnew/infra-skills/tree/main/megatron-memory-estimator into .opencode/skills/megatron-memory-estimator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "megatron-memory-estimator", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
megatron-memory-estimatorEstimate GPU memory usage for Megatron-based MoE (Mixture of Experts) and dense models.
Megatron Memory Estimator is an agent skill from yzlnew/infra-skills. Estimate GPU memory usage for Megatron-based MoE (Mixture of Experts) and dense models. Use when users need to (1) estimate memory from HuggingFace model configs (DeepSeek-V3, Qwen, etc.), (2) plan GPU resource allocation for training, (3) compare different parallelism strategies (TP/PP/EP/CP), (4) determine if a model fits in available GPU memory, or (5) optimize training configurations for memory efficiency.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 16 other files, including scripts and reference files (for example `megatron_memory_estimator/__init__.py`, `megatron_memory_estimator/estimate_013.py` and `megatron_memory_estimator/moe_mem_estimator/__init__.py`).
It sits in AI & LLM Engineering, covering Model hubs and datasets. It works with NVIDIA AI Platform, Hugging Face, DeepSeek and Qwen. The repository describes itself as: A collection of specialized agent skills for AI infrastructure development, enabling Claude Code to write, optimize, and debug high-performance systems.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit f3a8d7d. It shows what the files ask for, not the result of running them.
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.
Ships 2 files in scripts/ (Python and Shell), which the agent can run.
Shell commands in SKILL.md call:
pythonpipFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Megatron Memory Estimator loads about 2.2k tokens when it runs, and up to ~5.9k if it reads all its reference files. Until then it costs about 110 tokens; SKILL.md has 492 words of instructions outside code blocks.
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.
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.
Without a licence we can't republish the file, so here is its outline and opening line. It has 492 words (~2,224 tokens).
“Estimate GPU memory usage for Megatron-based models directly from HuggingFace configs or custom specifications.”
SKILL.md and 12 other files (scripts, references) in megatron-memory-estimator of yzlnew/infra-skills.
Open the folder on GitHubat commit f3a8d7d
Megatron Memory Estimator 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Megatron Memory Estimator this skillyzlnew/infra-skills | 149 | — | ~2.2k | Automated safety check: Pass | None | |
| Add Modelguoqingbao/xinfer | 334 | — | ~4.2k | Automated safety check: Notes | MIT | |
| Setup Benchmark Inputsmlc-ai/pith-train | 355 | — | ~399 | Automated safety check: Pass | Apache-2.0 | |
| Qwen Mtp GgufR6410418/Jackrong-llm-finetuning-guide | 1.7k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Veomni New ModelByteDance-Seed/VeOmni | 2.2k | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Resolvealexziskind1/model-shelf | 130 | — | ~792 | Automated safety check: Pass | MIT |
guoqingbao/xinfer
Adapt and port new LLM model architectures to this xinfer project.
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.
R6410418/Jackrong-llm-finetuning-guide
Complete agent-ready workflow for Qwen-family MTP or nextn GGUF conversion and release.
ByteDance-Seed/VeOmni
A skill your agent uses when adding support for a new model to VeOmni.
alexziskind1/model-shelf
Always resolve Hugging Face models via model-shelf before any download.
guoqingbao/xinfer
Check model compatibility with xinfer before loading. An agent skill from guoqingbao/xinfer.
yzlnew/infra-skills
Draw Sebastian-Raschka-gallery-style TikZ architecture diagrams for any HuggingFace decoder-only LLM, with per-block parameter formulas and concrete numbers.
yzlnew/infra-skills
Create and revise pure HTML/CSS flowcharts using an Anthropic-inspired design language.
yzlnew/infra-skills
Build figures in OpenAI's blog / research / system-card "dotcom" visual style — both (a) bar charts (monochrome bars with a darker same-hue stroke, rounded corners, a black y-axis with outward ticks…
yzlnew/infra-skills
Guide for using SLIME (LLM post-training framework for RL Scaling).
yzlnew/infra-skills
Write, optimize, and debug high-performance AI compute kernels using TileLang (a Python DSL for GPU programming).
yzlnew/infra-skills
Create presentation slides using Material You (Material Design 3) style.
Categories
Estimate GPU memory usage for Megatron-based MoE (Mixture of Experts) and dense models. Megatron Memory Estimator is an agent skill from yzlnew/infra-skills. Estimate GPU memory usage for Megatron-based MoE (Mixture of Experts) and dense models.
Megatron Memory Estimator fits situations like: estimate memory from HuggingFace model configs (DeepSeek-V3; plan GPU resource allocation for training; compare different parallelism strategies (TP/PP/EP/CP); determine if a model fits in available GPU memory.
Run `npx skills add yzlnew/infra-skills --skill megatron-memory-estimator -a claude-code`. Or copy the skill folder (megatron-memory-estimator in yzlnew/infra-skills) into .claude/skills/megatron-memory-estimator in your project. Claude Code loads it when a task matches its description.
Run `npx skills add yzlnew/infra-skills --skill megatron-memory-estimator -a codex`. Or copy the skill folder (megatron-memory-estimator in yzlnew/infra-skills) into .agents/skills/megatron-memory-estimator in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yzlnew/infra-skills --skill megatron-memory-estimator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/megatron-memory-estimator, .gemini/skills/megatron-memory-estimator, .github/skills/megatron-memory-estimator and .opencode/skills/megatron-memory-estimator in your project.
Going by SKILL.md and its folder, Megatron Memory Estimator needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (python and pip). Our summary lists: Python 3; A Bash shell.
SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
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.
No licence was found for Megatron Memory Estimator or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Megatron Memory Estimator: Add Model (guoqingbao/xinfer, 334 stars), Setup Benchmark Inputs (mlc-ai/pith-train, 355 stars), Qwen Mtp Gguf (R6410418/Jackrong-llm-finetuning-guide, 1.7k stars) and Veomni New Model (ByteDance-Seed/VeOmni, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
yzlnew (a GitHub user) maintains it in yzlnew/infra-skills, which has 149 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on July 9, 2026.
Source: yzlnew/infra-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.