CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

huggingface-accelerate

Simplest distributed training API. 4 lines to add distributed support to any PyTorch script. Unified API for DeepSpeed/FSDP/Megatron/DDP. Automatic device placement, mixed precision (FP16/BF16/FP8). Interactive config, single launch command. HuggingFace ecosystem standard.

59

Quality

74%

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 ./cli-tool/components/skills/ai-research/distributed-training-accelerate/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

72%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.

A well-structured, highly actionable skill body with exemplary progressive disclosure — lean inline workflows, real verified reference files, one level deep. The main weakness is the absence of explicit validation checkpoints in the convert → config → launch pipeline, plus minor duplication and version-pin bloat.

Suggestions

Add a validation step between config and launch, e.g. run `accelerate test` or a tiny `accelerator.print(f"{accelerator.num_processes} processes, device: {accelerator.device}")` probe before starting the real training job.

Deduplicate the 4-line conversion (Quick start and Workflow 1 repeat the same diff) and move version pins ("1.11.0+", "PyTorch 1.12+") into a single requirements or compatibility line to cut redundancy and time-sensitivity.

Make the training-loop examples runnable by defining `dataset` (e.g. a one-line `torch.utils.data.TensorDataset` or a comment placeholder convention) and verify the dict-based deepspeed_plugin usage matches the actual Accelerator API or route it through the config file path only.

DimensionReasoningScore

Conciseness

The body is code-first with almost no explanation of concepts Claude already knows — no "what is distributed training" padding, tight diff-style examples, terse bullet lists. Not a 5: the 4-line conversion pattern is shown twice (Quick start and Workflow 1 duplicate the same diff), and time-sensitive version pins ("Version: 1.11.0+", "PyTorch 1.12+") sit outside any old-patterns/deprecated section, which the guidelines penalize.

4 / 5

Actionability

Nearly everything is copy-paste ready: pip install, full Python snippets for all five workflows, concrete launch commands with real flags (--multi_gpu, --num_processes, --num_machines, --machine_rank), a complete deepspeed_config.json, and WRONG/CORRECT issue patterns. Not a 5 due to minor gaps: `dataset` is never defined in the training-loop examples, and the dict-based `deepspeed_plugin={...}` constructor argument is a simplified API sketch that may not run verbatim.

4 / 5

Workflow Clarity

The convert → prepare → config → launch sequence is clear and consistently applied across all five workflows, but validation checkpoints are missing or implicit: there is no verify step (no `accelerate test`, no sanity check that num_processes/device placement is as expected) and no run → check → fix feedback loop before committing to a long training job. This matches anchor 3 (steps listed, checkpoints missing/implicit); the "Common issues" section is reactive troubleshooting, not in-workflow validation.

3 / 5

Progressive Disclosure

Clear overview body with three well-signaled, one-level-deep references — each link states what the file covers ("See [references/megatron-integration.md] ... for tensor parallelism, pipeline parallelism, and sequence parallelism setup") — and all three files exist with substantial content (~450-525 lines each). Verified the reference files contain no nested references, so navigation is one hop. Advanced material (Megatron, custom plugins, performance tuning) is appropriately split out while the core workflows stay inline.

5 / 5

Total

16

/

20

Passed

Description

66%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.

A dense, capability-rich description with strong framework keywords and concrete feature coverage, weakened only by minor fluff claims. Its main defect is the complete absence of a "Use when..." trigger clause, which caps completeness and leaves activation guidance implicit.

Suggestions

Append an explicit trigger clause, e.g. "Use when the user wants to distribute PyTorch training across multiple GPUs/nodes, or mentions DeepSpeed, FSDP, DDP, mixed precision, or accelerate launch."

Drop the unverifiable superlative "Simplest" and the empty claim "HuggingFace ecosystem standard" in favor of a concrete capability (e.g. gradient accumulation or checkpoint handling) to remove fluff and close the specificity gap.

Add one or two common synonyms users naturally say — "multi-GPU", "multi-node", "data parallel" — to round out trigger term coverage.

DimensionReasoningScore

Specificity

Lists several concrete capabilities — "add distributed support to any PyTorch script", "Automatic device placement, mixed precision (FP16/BF16/FP8)", "Interactive config, single launch command" — plus named frameworks (DeepSpeed/FSDP/Megatron/DDP). Not a 5: "Simplest distributed training API" and "HuggingFace ecosystem standard" are unverifiable positioning claims/fluff rather than capabilities, and coverage has minor gaps (no mention of gradient accumulation or checkpointing). Well above 3, which requires only 1-2 concrete actions.

4 / 5

Completeness

The "what" is clearly and concretely answered (unified distributed training API, device placement, mixed precision, config, launch), but there is no "Use when..." clause or any equivalent explicit trigger guidance — the "when" is only weakly implied by domain terms, which caps completeness at 3 per the judging guidelines. Not a 2 because the "what" is specific, not vague.

3 / 5

Trigger Term Quality

Good natural keyword coverage: "distributed training", "PyTorch", "DeepSpeed", "FSDP", "Megatron", "DDP", "mixed precision", "FP16/BF16/FP8", "HuggingFace" — terms users actually say. Not a 5: common synonyms like "multi-GPU", "multi-node", "data parallel", or "sharding" are absent, leaving a few natural trigger phrases missing.

4 / 5

Distinctiveness Conflict Risk

The Accelerate niche (unified distributed training for PyTorch/HuggingFace) is mostly distinct from generic skills. Not a 5: directly naming "DeepSpeed/FSDP/Megatron/DDP" creates minor overlap risk — a user asking about DeepSpeed or raw DDP specifically could trigger this skill when a dedicated tool would serve better.

4 / 5

Total

15

/

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

frontmatter_unknown_keys

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

Warning

Total

15

/

16

Passed

Repository

davila7/claude-code-templates

Path

cli-tool/components/skills/ai-research/distributed-training-accelerate/SKILL.md

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.