Skip to content
Back to skills

Tokenizers

ASecurity

"Router for VQ, VQGAN, Stable Diffusion VAE, and Consistency

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
tools

Works with

  • cli

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill tokenizers --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tokenizers?

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

Security grade badge for Tokenizers
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-tokenizers/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-tokenizers)

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: tokenizers
description: "Router for VQ, VQGAN, Stable Diffusion VAE, and Consistency
  Decoder tokenizer training, finetuning, reconstruction, and round-trip
  checks."
metadata:
  disco-role: operating
disable-model-invocation: true
license: MIT
---

# Tokenizers

Use this sub-skill for image-tokenizer work that stays inside tokenizer and reconstruction behavior.

## Owns
- VQ tokenizer training and finetuning.
- Reconstruction through VQ, VQGAN, Stable Diffusion VAE, and Consistency Decoder checkpoints.
- Image/code round-trip sanity checks for saved tokenizer codes.
- Legacy checkpoint migration notes for VQGAN `.ckpt` to `.pth` conversion.

## Routes out
- Code extraction, dataset cache prep, and other preprocessing -> `data-preparation`.
- Class-conditional generation, sampling, serving, and evaluation -> `class-conditional`.
- Text-conditional generation and evaluation -> `text-conditional`.
- Checkpoint publishing and remote mutation -> excluded.

## Best entry points
- Training: `scripts/train_vq.sh`, `scripts/train_vq_finetune.sh`, `scripts/train_vq_finetune_continue.sh`
- VQ reconstruction: `scripts/reconstruct_vq.sh`
- VQ validation / input sanity: `scripts/validate_vq.sh`
- VQGAN reconstruction: `scripts/reconstruct_vqgan.sh`
- Stable Diffusion VAE reconstruction: `scripts/reconstruct_vae.sh`
- Consistency Decoder reconstruction: `scripts/reconstruct_consistency_decoder.sh`
- Code/image round trip: `scripts/check_image_codes.py`

## Read before answering
- `references/workflows.md`
- `references/cli-reference.md`
- `references/checkpoints.md`
- `references/troubleshooting.md`

## Fast routing rules
- If the request mentions code extraction, T5 extraction, or dataset cache layout, send it to `data-preparation`.
- If it asks for c2i or t2i generation, send it to the generation sub-skill instead of this one.
- If a checkpoint decode fails, first check the model family, codebook size, image size, and `pretrained_models` or diffusers layout.

Files in this skill

  • SKILL.md1.9 KB
  • references/checkpoints.md2.1 KB
  • references/cli-reference.md3.4 KB
  • references/troubleshooting.md3.2 KB
  • references/workflows.md1.8 KB
  • scripts/check_image_codes.py4.5 KB
  • scripts/reconstruct_consistency_decoder.sh349 B
  • scripts/reconstruct_vae.sh335 B
  • scripts/reconstruct_vq.sh346 B
  • scripts/reconstruct_vqgan.sh339 B
  • scripts/train_vq.sh493 B
  • scripts/train_vq_finetune.sh728 B
  • scripts/train_vq_finetune_continue.sh718 B
  • scripts/validate_vq.sh327 B

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.