Worktrunk Release Workflow
max-sixty/worktrunk
Walks a maintainer through cutting a Worktrunk release: sync the release branch, pass two test gates, review the changes, then publish.
Domain knowledge for the nightly workflow that merges Megatron-LM's main branch into dev, covering conflict handling, CI iteration, failure investigation and known issues.
$ npx skills add NVIDIA/Megatron-LM --skill nightly-sync -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install NVIDIA/Megatron-LM nightly-sync --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/NVIDIA/Megatron-LM.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/nightly-sync .claude/skills/nightly-sync && 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 "nightly-sync" agent skill from https://github.com/NVIDIA/Megatron-LM/tree/main/skills/nightly-sync into .claude/skills/nightly-sync/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nightly-sync", 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/NVIDIA/Megatron-LM/tree/main/skills/nightly-syncType 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 NVIDIA/Megatron-LM --skill nightly-sync -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install NVIDIA/Megatron-LM nightly-sync --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NVIDIA/Megatron-LM.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/nightly-sync .agents/skills/nightly-sync && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "nightly-sync" agent skill from https://github.com/NVIDIA/Megatron-LM/tree/main/skills/nightly-sync into .agents/skills/nightly-sync/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nightly-sync", 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 NVIDIA/Megatron-LM --skill nightly-sync -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install NVIDIA/Megatron-LM nightly-sync --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NVIDIA/Megatron-LM.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/nightly-sync .cursor/skills/nightly-sync && 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 "nightly-sync" agent skill from https://github.com/NVIDIA/Megatron-LM/tree/main/skills/nightly-sync into .cursor/skills/nightly-sync/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nightly-sync", 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/NVIDIA/Megatron-LM.git --path skills/nightly-sync--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 NVIDIA/Megatron-LM --skill nightly-sync -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install NVIDIA/Megatron-LM nightly-sync --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NVIDIA/Megatron-LM.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/nightly-sync .gemini/skills/nightly-sync && 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 "nightly-sync" agent skill from https://github.com/NVIDIA/Megatron-LM/tree/main/skills/nightly-sync into .gemini/skills/nightly-sync/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nightly-sync", 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 NVIDIA/Megatron-LM nightly-syncInstalls 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 NVIDIA/Megatron-LM --skill nightly-sync -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/NVIDIA/Megatron-LM.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/nightly-sync .github/skills/nightly-sync && 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 "nightly-sync" agent skill from https://github.com/NVIDIA/Megatron-LM/tree/main/skills/nightly-sync into .github/skills/nightly-sync/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nightly-sync", 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 NVIDIA/Megatron-LM --skill nightly-sync -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install NVIDIA/Megatron-LM nightly-sync --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NVIDIA/Megatron-LM.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/nightly-sync .opencode/skills/nightly-sync && 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 "nightly-sync" agent skill from https://github.com/NVIDIA/Megatron-LM/tree/main/skills/nightly-sync into .opencode/skills/nightly-sync/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nightly-sync", 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.
nightly-syncDomain knowledge for the nightly workflow that merges Megatron-LM's main branch into dev, covering conflict handling, CI iteration, failure investigation and known issues.
This skill is read by the automated bot that runs the nightly main-to-dev sync for Megatron-LM, and it holds the knowledge needed to merge, resolve conflicts, iterate on CI and ship the PR. Phase 1 creates a sync branch from origin/dev and merges origin/main without editing the message, then resolves conflicts surgically: no global theirs strategy and no blanket checkout of main's files. Main's version is taken wholesale only for a listed set of override files or for a specific commit that deliberately removes dev-only code.
A section on squash-merge chain detection explains why chained dev PRs can conflict with a squashed commit on main. For each conflicted file the bot checks git log on dev for follow-up commits, favors dev's version where they exist, and uses git diff against origin/dev to spot removed or reverted code. Worked examples come from an earlier sync PR and involve the emerging optimizers and distributed optimizer files. The description also covers CI architecture, failure investigation and known issues.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 486a126. 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.
Shell commands in SKILL.md call:
gitghuvdockerbashpythonblackFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, gh, uv and docker, which can reach the network depending on how they are called.
From 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 Nightly Main-to-Dev Sync loads about 8.5k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 3,583 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); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 3,583 words (~8,497 tokens).
“This skill is read by the automated sync bot during the nightly-sync-main-to-dev workflow. It contains all domain knowledge for merging main into dev, resolving conflicts, iterating on CI, and shipping the PR.”
Just SKILL.md in skills/nightly-sync of NVIDIA/Megatron-LM.
Open the folder on GitHubat commit 486a126
Megatron Nightly Main-to-Dev Sync 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 Nightly Main-to-Dev Sync this skillNVIDIA/Megatron-LM | 18k | — | ~8.5k | Automated safety check: Pass | Custom licence | |
| Worktrunk Release Workflowmax-sixty/worktrunk | 8.9k | — | ~6.9k | Automated safety check: Pass | Custom licence | |
| Git Conventionswerf/werf | 4.7k | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Git Changes ReporterNo-Trade-No-Life/Yuan | 352 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Pypi ReleasealchemiststudiosDOTai/tunacode | 125 | — | ~2.2k | Automated safety check: Pass | MIT | |
| npm Package Publisherklaudworks/universal-skills | 181 | — | ~923 | Automated safety check: Pass | MIT |
max-sixty/worktrunk
Walks a maintainer through cutting a Worktrunk release: sync the release branch, pass two test gates, review the changes, then publish.
werf/werf
werf conventions for branch names and commit messages. An agent skill from werf/werf.
No-Trade-No-Life/Yuan
生成结构化 git 变更报告(JSON + Markdown)。使用此技能当用户提到"git 变更"、"commit 摘要"、"代码审查"、"release note"、"近期改动"、"每日摘要",或需要分析指定 commit 区间的代码变更。包含三元组结构(设计意图、核心代码、影响范围)的语义化报告,适用于代码审查、发布说明、团队同步、CI/CD 等场景。
alchemiststudiosDOTai/tunacode
This skill should be used when releasing tunacode-cli to PyPI.
klaudworks/universal-skills
Releases an npm package by committing changes, bumping the version with npm version, pushing the tag and checking the GitHub Actions publish.
mahmoud/lithoxyl
Walks through releasing the lithoxyl Python package to PyPI: CalVer version bump, tagging, pushing and checking the published release.
NVIDIA/Megatron-LM
Refreshes stored golden values from a GitHub Actions run, reports signed percentage changes per model, and writes a summary ready for a pull request description.
NVIDIA/Megatron-LM
Walks an agent through working inside the Megatron-LM CI container and changing dependencies with uv, so lock files resolve the same locally and in CI.
NVIDIA/Megatron-LM
Moves Megatron-LM CI to a newer NVIDIA PyTorch base image, updating both the GitHub and GitLab pins together and handling the CI follow-up.
NVIDIA/Megatron-LM
Explains Megatron-LM's CI pipeline, PR scope labels, triggering the internal GitLab CI with a dry run first, and investigating CI failures.
NVIDIA/Megatron-LM
Investigates a failing GitHub Actions run or job for Megatron-LM, finds the root cause plus the PR and test author involved, and files a structured bug issue.
NVIDIA/Megatron-LM
Guides moving Megatron Core GPTModel checkpoints, configs, training commands and launch scripts to HybridModel, following the repository's migration document.
Works with
Categories
Domain knowledge for the nightly workflow that merges Megatron-LM's main branch into dev, covering conflict handling, CI iteration, failure investigation and known issues. This skill is read by the automated bot that runs the nightly main-to-dev sync for Megatron-LM, and it holds the knowledge needed to merge, resolve conflicts, iterate on CI and ship the PR. Phase 1 creates a sync branch from origin/dev and merges origin/main without editing the message, then resolves conflicts surgically: no global theirs strategy and no blanket checkout of main's files.
Megatron Nightly Main-to-Dev Sync fits situations like: running or reviewing the nightly main-to-dev merge in Megatron-LM; resolving merge conflicts without discarding dev-only additions; checking a squash-merged PR chain for lost dev follow-up commits.
Run `npx skills add NVIDIA/Megatron-LM --skill nightly-sync -a claude-code`. Or copy the skill folder (skills/nightly-sync in NVIDIA/Megatron-LM) into .claude/skills/nightly-sync in your project. Claude Code loads it when a task matches its description.
Run `npx skills add NVIDIA/Megatron-LM --skill nightly-sync -a codex`. Or copy the skill folder (skills/nightly-sync in NVIDIA/Megatron-LM) into .agents/skills/nightly-sync 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 NVIDIA/Megatron-LM --skill nightly-sync -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nightly-sync, .gemini/skills/nightly-sync, .github/skills/nightly-sync and .opencode/skills/nightly-sync in your project.
Going by SKILL.md and its folder, Megatron Nightly Main-to-Dev Sync needs the command-line tools its instructions call (git, gh, uv, docker, bash and python). Our summary lists: A Megatron-LM checkout with origin/main and origin/dev branches.
SKILL.md contains no URLs. Its commands use git, gh, uv and docker, which can reach the network depending on how they are called. 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. Review the folder before installing.
Megatron Nightly Main-to-Dev Sync has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 8.5k tokens (SKILL.md is roughly 34k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Megatron Nightly Main-to-Dev Sync: Worktrunk Release Workflow (max-sixty/worktrunk, 8.9k stars), Git Conventions (werf/werf, 4.7k stars), Git Changes Reporter (No-Trade-No-Life/Yuan, 352 stars) and Pypi Release (alchemiststudiosDOTai/tunacode, 125 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
NVIDIA (a GitHub organization, an official publisher) maintains it in NVIDIA/Megatron-LM, which has 18,078 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 7, 2026.
Source: NVIDIA/Megatron-LM on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.