CtrlK
BlogDocsLog inGet started
Tessl Logo

liger-kernel-perf

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.

76

Quality

96%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is an excellent orchestration overview: token-efficient, concrete to the point of copy-paste readiness, with a clearly sequenced pipeline, hard validation gates, and feedback loops throughout. Its one material defect is that progressive disclosure is broken in practice — every detailed workflow is delegated to reference files (and benchmarks_visualizer.py) that are absent from the bundle, leaving the skill un-executable as shipped.

Suggestions

Ship the referenced bundle files (profiler.md, optimizer.md, finalizer.md, optimization-strategies.md, templates/optimization-profile.md, templates/variant-notes.md) — currently none exist, so all stage workflows and the cross-stage profile/notes contracts are unverifiable and the skill cannot actually be executed as bundled.

Add benchmarks_visualizer.py (referenced in Stage 3 for 3-way comparison plots) to the bundle or to the Reference Files section with its path — it is currently an undocumented dangling reference.

Fold the Guardrails table's duplicate content (e.g., smoke-test and checkstyle rules already stated in Stage 2/Stage 3) into single mentions, or trim the Reference Files section that repeats links already made inline, to reclaim a few tokens.

DimensionReasoningScore

Conciseness

The body is lean and table-driven — input parsing defaults, guardrail thresholds, and stop conditions ('2 consecutive variants with <1% improvement') are compressed into dense, high-value lines, and it assumes Claude's competence (e.g., 'manual sweep -- NOT @triton.autotune' states the non-obvious constraint without explaining Triton). Nothing explains concepts Claude already knows, so neither the anchor-4 'minor over-explanation' nor anchor-3 case applies.

5 / 5

Actionability

Guidance is fully executable for an orchestration skill: exact paths ('src/liger_kernel/ops/{kernel}.py', 'optimization/{kernel}/benchmarks/vN_results.csv'), concrete commands ('python -m pytest test/transformers/test_{kernel}.py -xvs', 'ruff check . --fix && ruff format .', 'pip install -e ".[dev]"'), specific tunable parameters (BLOCK_SIZE, num_warps, num_stages), and numeric thresholds for every guardrail. Per the rubric's scoring note, the absence of code blocks in an instruction-only skill is not penalized when guidance is this actionable.

5 / 5

Workflow Clarity

The 3-stage pipeline (Profile → Optimize → Finalize) is explicitly sequenced with numbered steps, human checkpoints per stage, and pervasive validation with feedback loops: pre-flight validation, per-variant smoke tests with immediate discard, a hard-gate full test suite, guardrail rejection rules with numeric thresholds, and auto-fix-then-retry for checkstyle. This matches the anchor-5 pattern (explicit validation steps, error-recovery loops, a checklist-style guardrails table); the destructive/batch cap at 3 does not apply because validation is present throughout.

5 / 5

Progressive Disclosure

The body itself is well structured with clearly signaled one-level-deep links ('Follow the **Profiler** workflow in [profiler.md](profiler.md)' plus a Reference Files section with per-file descriptions), but none of the six referenced files — profiler.md, optimizer.md, finalizer.md, optimization-strategies.md, templates/optimization-profile.md, templates/variant-notes.md — exist in the bundle (no references/, scripts/, or assets/ directories are present), and benchmarks_visualizer.py is likewise absent. All executable detail is delegated to files that cannot be loaded, so the navigation chain is broken; this falls between anchor 3 (structure present but disclosure compromised) and anchor 2 (references effectively unusable), leaning to 3.

3 / 5

Total

18

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is a strong exemplar: concrete third-person verbs covering the full capability set, an explicit 'Use when' trigger clause with natural synonyms, and a tightly scoped niche (existing Liger Kernel Triton kernels on Ampere/Hopper/Blackwell) that minimizes conflict with other skills. No changes are needed.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — 'Profiles kernels, diagnoses bottlenecks (memory-bound vs compute-bound), generates multiple optimization variants with benchmarking, and applies the best variant while maintaining correctness' — with comprehensive coverage of the skill's capabilities, plus concrete architecture names (Ampere, Hopper, Blackwell). It is written in third person ('Optimizes', 'Profiles') with no first/second-person voice to penalize.

5 / 5

Completeness

Both 'what' (profile, diagnose, generate variants, benchmark, apply best variant) and 'when' ('Use when a user asks to optimize, speed up, tune, profile, or reduce memory of an existing Liger kernel') are explicitly and concretely stated, matching the anchor-5 example pattern exactly. It does not rely on implication, ruling out a score of 4.

5 / 5

Trigger Term Quality

'Use when a user asks to optimize, speed up, tune, profile, or reduce memory of an existing Liger kernel' provides comprehensive natural-term coverage with multiple synonyms (optimize, speed up, tune) plus domain nouns (Liger kernel, Triton, memory). No anchor-4 gap applies; nothing natural is obviously missing for this niche.

5 / 5

Distinctiveness Conflict Risk

The niche is sharply bounded to 'existing Liger Kernel Triton kernels' with NVIDIA GPU architectures, so it is clearly distinguishable from generic Triton, PyTorch profiling, or general optimization skills. Trigger phrases all include or naturally co-occur with 'Liger kernel', keeping conflict risk minimal.

5 / 5

Total

20

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 10 missing

Warning

Total

15

/

16

Passed

Repository
linkedin/Liger-Kernel
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.