Skip to content
Back to skills

Stable Diffusion Webui

ASecurity

"Use and maintain AUTOMATIC1111 Stable Diffusion WebUI workflows,

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 9, 2026
toolspythonrustbashnodeapibackendsecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill stable-diffusion-webui --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stable Diffusion Webui?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Stable Diffusion Webui
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-stable-diffusion-webui/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-stable-diffusion-webui)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: stable-diffusion-webui
description: "Use and maintain AUTOMATIC1111 Stable Diffusion WebUI workflows,
  including launch/configuration, REST API automation, extensions, model assets,
  LoRA, textual inversion, training, extras, and postprocessing."
disable-model-invocation: true
metadata:
  disco-role: operating
license: AGPL 3.0
---

# Stable Diffusion WebUI

Use this repo skill when the task names Stable Diffusion WebUI, AUTOMATIC1111, `launch.py`, `/sdapi/v1/*`, Gradio WebUI launch flags, WebUI extensions/scripts, checkpoints/VAEs/Lora/embeddings/upscalers, textual inversion, hypernetworks, Extras, or WebUI postprocessing workflows.

This skill is self-contained guidance distilled from the Stable Diffusion WebUI repository. It does not require the original checkout unless the user is explicitly auditing or modifying a checkout; bundled helper scripts are safe stdlib tools for source inspection, payload construction, extension scaffolding, and layout validation.

## Route By Task

| User task | Read |
| --- | --- |
| Start WebUI/API mode, choose launch flags, configure auth/CORS/TLS/subpath, avoid downloads, diagnose startup | [launch-and-config](sub-skills/launch-and-config/SKILL.md) |
| Build `/sdapi/v1/*` calls, create txt2img/img2img payloads, encode images, inspect script metadata, troubleshoot API 400/401/422 | [api-automation](sub-skills/api-automation/SKILL.md) |
| Write or debug WebUI scripts/extensions, callbacks, postprocessing scripts, preload hooks, extension metadata, Gradio component hooks | [extension-scripting](sub-skills/extension-scripting/SKILL.md) |
| Place or refresh checkpoints, VAEs, embeddings, hypernetworks, Lora/extra networks, upscalers, hashes, model directories | [assets-and-models](sub-skills/assets-and-models/SKILL.md) |
| Plan textual inversion or hypernetwork training, preprocessing-for-training, Extras upscaling, face restoration, postprocessing | [training-and-postprocessing](sub-skills/training-and-postprocessing/SKILL.md) |

## Common Entry Points

- `python launch.py --api --api-auth user:pass --ckpt <checkpoint.safetensors>` starts UI plus authenticated API; use `--nowebui` for API-only mode.
- `GET /sdapi/v1/samplers`, `/schedulers`, `/sd-models`, `/upscalers`, `/scripts`, and `/script-info` should precede generation payload construction.
- Checkpoint and VAE placement should be solved before API generation or training; model-list endpoints only show assets discovered by the running server.
- Custom scripts and extensions should keep WebUI imports inside generated extension files, not inside scaffolding tools.
- Textual inversion, hypernetwork training, face restoration, and upscaling are long-running/model-backed workflows; validate inputs before running them.

## Root References And Tools

- [repo-provenance.md](references/repo-provenance.md): source snapshot, evidence paths, dirty-state baseline, and refresh cues.
- [repo-routing-metadata.json](references/repo-routing-metadata.json): structured scenario metadata for DisCo managed routing.
- [overview.md](references/overview.md): capability map, repository shape, safety model, and cross-sub-skill workflow patterns.
- [troubleshooting.md](references/troubleshooting.md): cross-cutting install/import, optional dependency, backend, server, security, and workflow triage.
- [inspect_webui_source.py](scripts/inspect_webui_source.py): optional stdlib helper that summarizes CLI flags and API routes from a WebUI checkout without importing WebUI or loading models.

Example source-audit helper usage when the user is already working in a WebUI checkout:

```bash
python scripts/inspect_webui_source.py --repo . --json
```

## Safety Defaults

- Do not expose `--listen`, `--share`, `--ngrok`, broad CORS, server-stop endpoints, or insecure extension access without explicit auth and trust boundaries.
- Do not enable `--allow-code` or `--disable-safe-unpickle` unless the user accepts arbitrary-code or pickle risk.
- Do not run launcher modes that install packages, clone repositories, download models, start servers, load checkpoints, or initialize GPU state unless the user explicitly wants that action.
- Prefer `.safetensors` assets, explicit model paths, small API smoke payloads, and read-only metadata endpoints while diagnosing.

## Boundaries

- Use this skill for practical WebUI operation, automation, extension work, and asset/training workflow guidance.
- Use general Diffusers or ComfyUI skills instead when the task is about Python diffusion pipeline APIs or node-graph execution outside Stable Diffusion WebUI.
- Use a repository-maintenance skill in addition to this one when the user asks to edit WebUI source code, run native tests, or prepare pull-request changes.

Files in this skill

  • SKILL.md4.6 KB
  • references/overview.md3.2 KB
  • references/repo-provenance.md2 KB
  • references/repo-routing-metadata.json536 B
  • references/troubleshooting.md4.6 KB
  • scripts/inspect_webui_source.py4.5 KB
  • sub-skills/api-automation/SKILL.md3.4 KB
  • sub-skills/api-automation/references/api-reference.md9.5 KB
  • sub-skills/api-automation/references/payload-recipes.md9.4 KB
  • sub-skills/api-automation/references/troubleshooting.md7.6 KB
  • sub-skills/api-automation/scripts/build_api_payload.py8.1 KB
  • sub-skills/api-automation/scripts/extract_api_routes.py4.8 KB
  • sub-skills/assets-and-models/SKILL.md3 KB
  • sub-skills/assets-and-models/references/extra-networks-and-lora.md5.2 KB
  • sub-skills/assets-and-models/references/model-and-asset-layout.md7 KB
  • sub-skills/assets-and-models/references/troubleshooting.md8.3 KB
  • sub-skills/assets-and-models/scripts/validate_asset_layout.py11.6 KB
  • sub-skills/extension-scripting/SKILL.md3.4 KB
  • sub-skills/extension-scripting/references/callbacks-and-lifecycle.md8 KB
  • sub-skills/extension-scripting/references/script-api-reference.md11.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…