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.
npx skills add dkackman/diffusers-workflow --skill choosing-a-modelgit clone --depth 1 https://github.com/dkackman/diffusers-workflowWrote 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.
[](https://agentmods.dev/skills/dkackman/diffusers-workflow/choosing-a-model)<a href="https://agentmods.dev/skills/dkackman/diffusers-workflow/choosing-a-model"><img src="https://agentmods.dev/badge/skills/dkackman/diffusers-workflow/choosing-a-model/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dkackman/diffusers-workflow/choosing-a-model"><img src="https://agentmods.dev/badge/skills/dkackman/diffusers-workflow/choosing-a-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00101 | $0.01283 |
| Opus 5.5 | $0.00040 | $0.00513 |
| Sonnet 5.5 | $0.00020 | $0.00257 |
| Haiku 4.5 | $0.00010 | $0.00128 |
Grade A, and why
choosing-a-model 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Choosing a model on a dw server
A request that names no model still has to run on one. This skill picks it
from the server's preference ladder, not from memory: the server keeps
an ordered list of workflows per task and tier (draft, standard,
best), and resolves a preference:<key> path to the first one in the
tier that fits this host. The family skills (flux3-klein,
minimax-h3-image, kandinsky-6, ...) own their models' rules, and win
once a family is named.
Before anything
This skill is written for dw 0.23.1; get_server_info's plugin says whether that is current.
get_server_info: the device. A ladder target can be CUDA-only, so the same tier can resolve to a different workflow on a Mac than on a CUDA box.- Decide what the user named, in this order; the first that applies wins.
- Before choosing a tier,
get_preferences(key="text_to_image")shows the ladder and this host's pick per tier, with each skip and its reason. It is free. Use it to say what each tier would run here; the validate line below stays the check before spending.
Who decides the model
- A named family, workflow or model wins over the preference. "Use
FLUX 3 Klein", "run
models/z-image", "on Qwen-Image": run that, through its family skill if it has one. Don't route a named model through the ladder, and don't swap it for the preferred one. - A "does it work" ask is the smoke test. "Check the server works",
"a quick test image", a first run after install: run
templates/text-to-image, the SD 1.5 baseline. It is the smallest, fastest, ungated template, there to prove the engine generates. It is not the default picture, so don't offer it for a real request. - Anything else uses the preference. A picture request that names no
model runs
templates/preferred/text-to-image, which composespreference:text_to_image. Use the matchingpreference:key for the task;text_to_imageis the one the catalog holds today, so a request of another shape (video, an edit, audio) goes tolist_workflows(shape=...)instead.
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.
- yesterday First seen · 96 lines · 101 tokens per session scan A b2bf8ed5ad26
choosing-a-model is a skill published in the GitHub repository dkackman/diffusers-workflow (19 stars, last pushed today), licensed Apache-2.0. It adds 101 tokens to every session and 1,283 once invoked, about $0.0004 per session on Opus 5.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-11-29.
choosing-a-model compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| choosing-a-modeldkackman/diffusers-workflow | Skill | 19 | today | Apache-2.0 | A | 101 | Claude Code |
| multimodal-stable-diffusiondavila7/claude-code-templates | Skill | 34k | today | MIT | A | 52 | Claude Code, Codex |
| genai-visionj4flmao/agent-skills | Skill | 46 | 13d ago | MIT | A | 91 | Claude Code, Codex |
| workflows-guidecyanheads/workflows-mcp-server | Skill | 31 | 8d ago | Apache-2.0 | A | 79 | Claude Code |
| stable-diffusion-image-generationsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 50 | Claude Code, Codex |
| stable-diffusion-image-generationOrchestra-Research/AI-Research-SKILLs | Skill | 15k | 1mo ago | MIT | A | 50 | Claude Code |
| test-workflowanatolykoptev/n8n-mcp-agent | Skill | 0 | yesterday | MIT | A | 17 | Claude Code, Codex |