CtrlK
BlogDocsLog inGet started
Tessl Logo

model-pruning

Reduce LLM size and accelerate inference using pruning techniques like Wanda and SparseGPT. Use when compressing models without retraining, achieving 50% sparsity with minimal accuracy loss, or enabling faster inference on hardware accelerators. Covers unstructured pruning, structured pruning, N:M sparsity, magnitude pruning, and one-shot methods.

63

Quality

75%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./backend/cli/skills/ml-training/model-pruning/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

50%

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

The body is information-rich and largely actionable but suffers from repetition, mixed executable/pseudocode blocks, no validation checkpoints in the destructive pruning workflow, and a monolithic structure that ignores its own references/wanda.md bundle. Tightening duplication, completing stub code, adding a prune→evaluate→save feedback loop, and linking the Wanda reference would lift all four dimensions.

Suggestions

Link and defer to references/wanda.md from the Wanda section instead of duplicating the full implementation inline, reducing repetition and improving progressive disclosure.

Replace pseudocode/stubs (weight^2 / diag(Hessian), prune_model, fine_tune, train_step, load_calibration_data, finetune_dataset) with executable, self-contained code or clearly mark them as conceptual.

Add an explicit validation checkpoint in the production pipeline — e.g., evaluate perplexity/accuracy on a held-out set after pruning and only save if degradation is within tolerance — to satisfy the destructive/batch feedback-loop requirement.

DimensionReasoningScore

Conciseness

Mostly code-dense and actionable, but repeats material: Wanda and SparseGPT criteria are shown in full Quick Start implementations then re-explained in 'Core Concepts', and magnitude pruning appears across several blocks, with tutorial-style comments like '# Better than magnitude alone (considers usage)'. Not 3 because the re-explanation and repetition could be tightened; not 1 because it is not padded with concepts Claude doesn't need at length.

2 / 3

Actionability

Provides substantial executable code (wanda_prune, nm_prune, production_pruning_pipeline), but also pseudocode and undefined stubs: 'importance = weight^2 / diag(Hessian)' (invalid Python), and bare calls to load_calibration_data(), prune_model, fine_tune, train_step, prune_layer, finetune_dataset. Not 3 because several blocks are not copy-paste ready; not 1 because much of the guidance is genuinely concrete and runnable.

2 / 3

Workflow Clarity

The 'Complete Pruning Pipeline' lists a numbered sequence (load, calibrate, prune, fine-tune, save) but lacks validation checkpoints for a destructive batch operation, and the separate Evaluation block is not integrated as a checkpoint and contains broken code ('(original_results - pruned_results)' on dicts). Per the rubric, missing verification steps in destructive/batch workflows caps this at 2; not 1 because a clear sequence is present.

2 / 3

Progressive Disclosure

The body is a monolithic ~480-line file with all implementations, concepts, strategies, and comparisons inline, and the provided references/wanda.md bundle is never linked or signaled from the body (no 'references/' or 'wanda.md' references appear). Not 1 because sections are organized with clear headings rather than deeply nested references; not 3 because content that should be split is inline and the one reference is orphaned.

2 / 3

Total

8

/

12

Passed

Description

100%

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

A strong, third-person description that names concrete techniques, provides an explicit 'Use when' trigger with natural user terms, and occupies a distinct niche with low conflict risk. Voice is third person, so no specificity penalty applies.

DimensionReasoningScore

Specificity

Lists multiple concrete actions and named techniques — 'Reduce LLM size and accelerate inference using pruning techniques like Wanda and SparseGPT' plus 'Covers unstructured pruning, structured pruning, N:M sparsity, magnitude pruning, and one-shot methods'. Not 2 because it goes well beyond naming a domain and a couple actions; it enumerates specific capabilities.

3 / 3

Completeness

Explicitly states what it does ('Reduce LLM size and accelerate inference...') and when to use it via a clear 'Use when compressing models without retraining...' clause, matching the both-what-and-when anchor. Not 2 because the 'when' is explicit, not merely implied.

3 / 3

Trigger Term Quality

The 'Use when' clause surfaces natural user phrasing — 'compressing models without retraining', 'achieving 50% sparsity with minimal accuracy loss', 'enabling faster inference on hardware accelerators' — alongside named methods users would cite. Not 2 because coverage of common natural variations is strong rather than partial.

3 / 3

Distinctiveness Conflict Risk

Targets a clear niche (LLM pruning/compression) with named, distinctive triggers (Wanda, SparseGPT, N:M sparsity) unlikely to fire for unrelated skills. Not 2 because it is far more specific than 'Works with document files'-style overlap-prone phrasing.

3 / 3

Total

12

/

12

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.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository
synthetic-sciences/openscience
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.