ControlNet Repo Skill
SkillProductivity"Route ControlNet 1.0 source-checkout tasks for annotators, Gradio
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the ControlNet Repo Skill skill
What this skill tells your AI
The instructions your AI receives, as published by vectorspacelab/arex-skill in skills/repositories/repo-skills/control-net/SKILL.md and read by ahel’s review.
Use this skill for tasks involving the ControlNet 1.0 repository: preparing control maps, running or adapting Gradio demos, validating Fill50K-style training data, creating ControlNet initialization checkpoints, inspecting configs, or debugging source-checkout setup.
This repo is a source checkout, not an installable Python distribution. Do not assume pip install control-net exists. A working runtime usually needs the documented environment dependencies, external Stable Diffusion/ControlNet checkpoints, detector weights, and compatible GPU/Torch setup.
Start Here
- Read references/repo-provenance.md before deciding whether this skill matches a checkout or needs refresh.
- Read references/evidence-map.md for the source evidence and script-bundling decisions behind this skill.
- Read references/troubleshooting.md for cross-cutting install/import, checkpoint, CUDA, model-download, and non-packaged-checkout failures.
- Run scripts/check_controlnet_checkout.py for a safe checkout/config/import diagnostic; it does not launch Gradio, load checkpoints, download models, train, or generate images.
Route By Task
| User task | Read |
|---|---|
| Prepare or debug Canny, HED, MLSD, MiDaS depth/normal, OpenPose, or Uniformer conditioning maps | sub-skills/annotators-and-preprocessing/SKILL.md |
| Choose, inspect, run, or adapt a ControlNet Gradio image-generation app | sub-skills/gradio-inference-apps/SKILL.md |
| Validate Fill50K-style data, write a custom dataset, or adapt tutorial training | sub-skills/training-and-datasets/SKILL.md |
| Inspect configs/APIs, create init checkpoints, dry-run key mappings, or transfer ControlNet weights | sub-skills/model-and-weight-utilities/SKILL.md |
Safe Setup Expectations
- Create an environment compatible with the repository's
environment.yamlfamily: Python 3.8-era ML stack, PyTorch/TorchVision, OpenCV, Gradio, PyTorch Lightning, OmegaConf, Transformers, OpenCLIP, and optional detector dependencies. - Treat model files as external assets. Stable Diffusion checkpoints belong with the model/config workflow, ControlNet demo checkpoints belong with Gradio app operation, and detector checkpoints belong with annotator preprocessing.
- Use safe diagnostics first: parse configs and signatures, validate data layouts, and dry-run state-dict key mapping before launching servers, loading checkpoints, using CUDA, downloading weights, or training.
- Prefer CPU/location-safe inspection for checkpoint metadata; only run CUDA, Gradio servers, or long training when the user explicitly wants execution and has provided assets/hardware.
Minimal Safe Checks
python path/to/control-net/scripts/check_controlnet_checkout.py --repo-root path/to/ControlNet --json
Then route to the nearest sub-skill for workflow-specific checks:
annotators-and-preprocessing/scripts/inspect_annotator_inputs.py --self-checkgradio-inference-apps/scripts/extract_gradio_signatures.py --repo-root path/to/ControlNet --jsontraining-and-datasets/scripts/validate_fill50k_dataset.py --write-example-fixture path/to/tmp-fill50k --validate-written-fixturemodel-and-weight-utilities/scripts/inspect_weight_mapping.py --self-test
Common Boundaries
- Do not import
gradio_*2image.pymerely to inspect it; the source scripts build models, load checkpoints, move models to CUDA, and launch Gradio at top level. - Do not instantiate learned annotators unless detector checkpoints, optional dependencies, CUDA/Torch compatibility, and network policy are clear.
- Do not run tutorial training as a smoke test; it requires Fill50K data, initialized checkpoints, GPU memory, and may trigger model/tokenizer downloads.
- Do not run checkpoint conversion scripts without explicit input/output paths and overwrite safeguards; use the bundled dry-run inspector first.
Refresh Signals
Run refresh-repo-skill if the current checkout changes public Gradio scripts, cldm/, ldm/, annotator/, models/*.yaml, tutorial scripts, docs, environment dependencies, or source script behavior relative to references/repo-provenance.md.
Signals
- GitHub stars
- 266
- Forks
- 21
- Last commit
- Sep 2026
ahel review
K1binfo
installs-packagesK6low
bundled executables the agent is told to runK1binfo
installs-packages (in references/troubleshooting.md)
Automated review, not a security audit. Ruleset v1+k2.
Advanced
- Catalog kind
- skill
- Gateway key
control-net- Source
- github.com/vectorspacelab/arex-skill