diffusers-ascend-weight-prep

diffusers-ascend-weight-prep is a skill for Claude Code from ascend-ai-coding/awesome-ascend-skills. It costs 76 tokens per session (1,879 once invoked), scanned A, original, no licence file.

A model-weight preparation tool for Diffusers, a library for running image and other generative models, on Huawei Ascend NPU hardware. It downloads weights from Hugging Face or ModelScope and can create placeholder weights from configuration files for business testing.

In plain words
What is it for?
Use it to download Diffusers model weights and create test weights from a model index and component configuration files.
Why use it?
It avoids manually finding and preparing model files for Ascend devices. Placeholder weights let you validate a setup without using the real model weights.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the diffusers-ascend-skills plugin — 3 skills shipped together , and of ascend-inference

Good fit Use it to download Diffusers model weights and create test weights from a model index and component configuration files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ascend-ai-coding/awesome-ascend-skills/diffusers-ascend-weight-prep
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ascend-ai-coding/awesome-ascend-skills --skill diffusers-ascend-weight-prep
Clone the repo
git clone --depth 1 https://github.com/ascend-ai-coding/awesome-ascend-skills

Made for: Claude Code.

Or install diffusers-ascend-skills, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for diffusers-ascend-weight-prep

README.md
[![agentmods](https://agentmods.dev/badge/skills/ascend-ai-coding/awesome-ascend-skills/diffusers-ascend-weight-prep.svg)](https://agentmods.dev/skills/ascend-ai-coding/awesome-ascend-skills/diffusers-ascend-weight-prep)
Your own site
<a href="https://agentmods.dev/skills/ascend-ai-coding/awesome-ascend-skills/diffusers-ascend-weight-prep"><img src="https://agentmods.dev/badge/skills/ascend-ai-coding/awesome-ascend-skills/diffusers-ascend-weight-prep.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,879 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.01879
Opus 5 $0.00038 $0.00940
Sonnet 5 $0.00015 $0.00376
Haiku 4.5 $0.00008 $0.00188

Measured 3d ago against content hash 8a698ecb3236, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

diffusers-ascend-weight-prep scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/download_weights.py, scripts/generate_fake_weights.py, scripts/validate_on_npu.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/inference/diffusers-ascend/diffusers-ascend-weight-prep/SKILL.md · 188 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 188 lines · 76 tokens per session scan A 8a698ecb3236

Subscribe to this mod's changes

diffusers-ascend-weight-prep is a skill published in the GitHub repository ascend-ai-coding/awesome-ascend-skills (168 stars, last pushed yesterday), with no licence file. It adds 76 tokens to every session and 1,879 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

spark-environment-setup

Set up a working ML training/inference environment on NVIDIA DGX Spark (GB10, aarch64, CUDA 13). Use when installing PyTorch/Unsloth/TRL/vLLM on DGX Spark, hitting libcudart or wheel-ABI errors on aarch64, or choosing between NGC containers and bare pip installs.

wshobson/agents · 76 tokens

spark-training-gotchas

Preflight and diagnose the ten known failure modes for ML training on NVIDIA DGX Spark. Use when a training run on DGX Spark fails to start, OOMs below the 128GB limit, slows down mid-run, or before any multi-hour training job on GB10.

wshobson/agents · 63 tokens

llama-cpp

Runs LLM inference on CPU, Apple Silicon, and consumer GPUs without NVIDIA hardware. Use for edge deployment, M1/M2/M3 Macs, AMD/Intel GPUs, or when CUDA is unavailable. Supports GGUF quantization (1.5-8 bit) for reduced memory and 4-10× speedup vs PyTorch on CPU.

davila7/claude-code-templates · 76 tokens

llama-factory

Expert guidance for fine-tuning LLMs with LLaMA-Factory - WebUI no-code, 100+ models, 2/3/4/5/6/8-bit QLoRA, multimodal support.

davila7/claude-code-templates · 51 tokens

amc-run-rtsp-calibration

Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or asks to calibrate live cameras; VIOS records clips, AMC ingests them, then runs calibration.

NVIDIA/skills · 59 tokens

deepstream-import-vision-model

Use this skill to bring a supported object-detection vision model from HuggingFace or NVIDIA NGC into an NVIDIA DeepStream pipeline with end-to-end automation: ONNX download, SafeTensors export, TRT engine build, custom nvinfer bbox parser, multi-stream benchmark, and PDF report. Object detection models only.

NVIDIA/skills · 72 tokens