Hugging Face LLM Trainer
huggingface/skills
Trains or fine-tunes language and vision models with TRL or Unsloth on Hugging Face Jobs cloud GPUs, then converts the results to GGUF.
Optimizes the performance of existing Liger Kernel Triton kernels.
$ npx skills add linkedin/Liger-Kernel --skill liger-kernel-perf -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install linkedin/Liger-Kernel liger-kernel-perf --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/linkedin/Liger-Kernel.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/liger-kernel-perf .claude/skills/liger-kernel-perf && 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 "liger-kernel-perf" agent skill from https://github.com/linkedin/Liger-Kernel/tree/main/.agents/skills/liger-kernel-perf into .claude/skills/liger-kernel-perf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "liger-kernel-perf", 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/linkedin/Liger-Kernel/tree/main/.agents/skills/liger-kernel-perfType 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 linkedin/Liger-Kernel --skill liger-kernel-perf -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install linkedin/Liger-Kernel liger-kernel-perf --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linkedin/Liger-Kernel.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/liger-kernel-perf .agents/skills/liger-kernel-perf && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "liger-kernel-perf" agent skill from https://github.com/linkedin/Liger-Kernel/tree/main/.agents/skills/liger-kernel-perf into .agents/skills/liger-kernel-perf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "liger-kernel-perf", 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 linkedin/Liger-Kernel --skill liger-kernel-perf -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install linkedin/Liger-Kernel liger-kernel-perf --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linkedin/Liger-Kernel.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/liger-kernel-perf .cursor/skills/liger-kernel-perf && 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 "liger-kernel-perf" agent skill from https://github.com/linkedin/Liger-Kernel/tree/main/.agents/skills/liger-kernel-perf into .cursor/skills/liger-kernel-perf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "liger-kernel-perf", 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/linkedin/Liger-Kernel.git --path .agents/skills/liger-kernel-perf--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 linkedin/Liger-Kernel --skill liger-kernel-perf -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install linkedin/Liger-Kernel liger-kernel-perf --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linkedin/Liger-Kernel.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/liger-kernel-perf .gemini/skills/liger-kernel-perf && 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 "liger-kernel-perf" agent skill from https://github.com/linkedin/Liger-Kernel/tree/main/.agents/skills/liger-kernel-perf into .gemini/skills/liger-kernel-perf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "liger-kernel-perf", 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 linkedin/Liger-Kernel liger-kernel-perfInstalls 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 linkedin/Liger-Kernel --skill liger-kernel-perf -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/linkedin/Liger-Kernel.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/liger-kernel-perf .github/skills/liger-kernel-perf && 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 "liger-kernel-perf" agent skill from https://github.com/linkedin/Liger-Kernel/tree/main/.agents/skills/liger-kernel-perf into .github/skills/liger-kernel-perf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "liger-kernel-perf", 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 linkedin/Liger-Kernel --skill liger-kernel-perf -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install linkedin/Liger-Kernel liger-kernel-perf --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linkedin/Liger-Kernel.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/liger-kernel-perf .opencode/skills/liger-kernel-perf && 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 "liger-kernel-perf" agent skill from https://github.com/linkedin/Liger-Kernel/tree/main/.agents/skills/liger-kernel-perf into .opencode/skills/liger-kernel-perf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "liger-kernel-perf", 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.
liger-kernel-perfOptimizes the performance of existing Liger Kernel Triton kernels.
Liger Kernel Perf is an agent skill from linkedin/Liger-Kernel. Optimizes the performance of existing Liger Kernel Triton kernels. Profiles kernels, diagnoses bottlenecks (memory-bound vs compute-bound), generates multiple optimization variants with benchmarking, and applies the best variant while maintaining correctness. Supports GPU architecture-specific optimization (Ampere, Hopper, Blackwell). Use when a user asks to optimize, speed up, tune, profile, or reduce memory of an existing Liger kernel.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files (for example `finalizer.md`, `optimization-strategies.md` and `optimizer.md`).
It sits in AI & LLM Engineering, covering GPU and accelerator computing. It works with Mistral AI. The repository describes itself as: Efficient Triton Kernels for LLM Training. The licence is BSD-2-Clause.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit d5f2817. 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:
ruffpippythonmakeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, 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.
Liger Kernel Perf loads about 1.5k tokens when it runs. Until then it costs about 115 tokens; SKILL.md has 639 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.
The full file from linkedin/Liger-Kernel at commit d5f2817, republished under its BSD-2-Clause licence (© linkedin). 639 words, ~1,536 tokens.
.claude/skills/liger-kernel-perf/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.Optimizes existing Liger Kernel Triton kernels through a 3-stage pipeline: Profile, Optimize, Finalize. Supports interactive mode (human checkpoints between stages) and autonomous mode (runs end-to-end). NVIDIA GPUs only.
Extract from the user's request:
| Field | Description | Default |
|---|---|---|
target_kernel | Which kernel to optimize (e.g., "rms_norm", "cross_entropy") | Required |
optimization_goal | speed / memory / balanced | balanced |
scope | Specific pass (forward/backward), input regime, or general | general |
target_gpu | Ampere / Hopper / Blackwell / auto-detect | auto-detect |
autonomy | interactive / autonomous | interactive |
max_variants | Max optimization variants to try | 8 |
target_metric | Optional concrete target (e.g., "forward under 0.3ms at hidden_size=4096") | none |
Before starting the pipeline, validate:
src/liger_kernel/ops/{kernel}.pybenchmark/scripts/benchmark_{kernel}.pytest/transformers/test_{kernel}.pypip install -e ".[dev]")If any validation fails, report clearly and stop.
Follow the Profiler workflow in profiler.md. If the host runtime supports parallel subagents, this stage may be delegated to one; otherwise execute the workflow directly.
This stage:
optimization/{kernel}/ncu is available)optimization/{kernel}/profile.mdHuman checkpoint (interactive mode): Present the optimization profile with bottleneck diagnosis and proposed strategy order. Confirm before proceeding.
Follow the Optimizer workflow in optimizer.md.
This stage runs an autonomous optimization loop:
optimization/{kernel}/{kernel}_vN.py
b. Write the variant lab notebook → optimization/{kernel}/{kernel}_vN_notes.md
c. Run quick smoke test (single shape, float32, forward+backward) → discard on failure
d. Run the full existing benchmark script → optimization/{kernel}/benchmarks/vN_results.csv
e. Check guardrails (no catastrophic regressions)
f. Update the variant notes with actual resultsHuman checkpoint (interactive mode): Present the comparison table across all variants. User approves the winner (or skill picks best if autonomous).
Follow the Finalizer workflow in finalizer.md.
This stage:
src/liger_kernel/ops/{kernel}.pypython -m pytest test/transformers/test_{kernel}.py -xvs (hard gate)make checkstyle (auto-fix with ruff check . --fix && ruff format .)benchmarks_visualizer.pyoptimization/{kernel}/report.mdHuman checkpoint (interactive mode): Present the final report with before/after numbers, comparison plots, and test results.
These apply to EVERY variant, regardless of mode:
| Guardrail | Threshold | Action |
|---|---|---|
| Non-target metric regression | >5% worse | Reject variant |
| Cross-pass regression | >10% on one pass to marginally improve other | Reject variant |
| Smoke test failure | Any correctness failure | Discard variant immediately |
| Full test suite failure | Any | Do NOT apply winner, report failure, stop |
| Checkstyle failure | Any | Auto-fix with ruff, retry once |
© linkedin, BSD-2-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files in .agents/skills/liger-kernel-perf of linkedin/Liger-Kernel.
Open the folder on GitHubat commit d5f2817
Liger Kernel Perf 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 |
|---|---|---|---|---|---|---|
| Liger Kernel Perf this skilllinkedin/Liger-Kernel | 6.6k | — | ~1.5k | Automated safety check: Pass | BSD-2-Clause | |
| Hugging Face LLM Trainerhuggingface/skills | 11k | 3 repos | ~7.2k | Automated safety check: Pass | Apache-2.0 | |
| Hugging Face Local Model Evalshuggingface/skills | 11k | 2 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Fla Triton To Gluonfla-org/flash-linear-attention | 5.8k | — | ~4.2k | Automated safety check: Pass | MIT | |
| DGX Spark Memory and Thermal Opswshobson/agents | 40k | 1 repos | ~2k | Automated safety check: Pass | MIT | |
| MUSA GPU Training Optimizeropen-infra-skills/infra-skills | 141 | — | ~1.7k | Automated safety check: Pass | Apache-2.0 |
huggingface/skills
Trains or fine-tunes language and vision models with TRL or Unsloth on Hugging Face Jobs cloud GPUs, then converts the results to GGUF.
huggingface/skills
Runs evaluations of Hugging Face Hub models on local hardware with inspect-ai or lighteval, and helps choose between vLLM, Transformers and accelerate backends.
fla-org/flash-linear-attention
Workflow for porting an existing Triton kernel in fla/ops/ to Gluon (triton.experimental.gluon) to gain explicit control over tensor layouts, shared memory, async data movement (cp.async / TMA), MMA…
wshobson/agents
Plans memory headroom, works through out-of-memory failures and watches temperature and power during long ML training jobs on NVIDIA DGX Spark.
open-infra-skills/infra-skills
Profiles, benchmarks and tunes AI training workloads on Moore Threads MUSA GPUs with a measurement-first process that keeps model behavior unchanged.
KernelFlow-ops/cuda-optimized-skill
Iteratively optimize a CUDA/CUTLASS/Triton kernel only when strict on-device compilation, correctness, timing, and NCU evidence gates pass.
linkedin/Liger-Kernel
Adds Liger Kernel support for a new HuggingFace Transformers model, or modifies existing monkey-patching.
linkedin/Liger-Kernel
Develops production-ready Triton kernels for Liger Kernel. An agent skill from linkedin/Liger-Kernel.
Works with
Categories
Optimizes the performance of existing Liger Kernel Triton kernels. Liger Kernel Perf is an agent skill from linkedin/Liger-Kernel. Optimizes the performance of existing Liger Kernel Triton kernels.
Liger Kernel Perf fits situations like: A user asks to optimize; reduce memory of an existing Liger kernel.
Run `npx skills add linkedin/Liger-Kernel --skill liger-kernel-perf -a claude-code`. Or copy the skill folder (.agents/skills/liger-kernel-perf in linkedin/Liger-Kernel) into .claude/skills/liger-kernel-perf in your project. Claude Code loads it when a task matches its description.
Run `npx skills add linkedin/Liger-Kernel --skill liger-kernel-perf -a codex`. Or copy the skill folder (.agents/skills/liger-kernel-perf in linkedin/Liger-Kernel) into .agents/skills/liger-kernel-perf 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 linkedin/Liger-Kernel --skill liger-kernel-perf -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/liger-kernel-perf, .gemini/skills/liger-kernel-perf, .github/skills/liger-kernel-perf and .opencode/skills/liger-kernel-perf in your project.
Going by SKILL.md and its folder, Liger Kernel Perf needs the command-line tools its instructions call (ruff, pip, python and make). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use pip, 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.
Liger Kernel Perf is published under the BSD-2-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6.1k 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 Liger Kernel Perf: Hugging Face LLM Trainer (huggingface/skills, 11k stars), Hugging Face Local Model Evals (huggingface/skills, 11k stars), Fla Triton To Gluon (fla-org/flash-linear-attention, 5.8k stars) and DGX Spark Memory and Thermal Ops (wshobson/agents, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
linkedin (a GitHub organization) maintains it in linkedin/Liger-Kernel, which has 6,649 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 7, 2026.
Source: linkedin/Liger-Kernel on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.