agentleFS
mxslrmxslr/mlcraft/skills/domain-generative/SKILL.md

domain-generative

Skill8 starsChanged 4 months agoMITView on GitHub

Use for generative modeling of images and audio: text-to-image, image editing or image-to-image, unconditional image generation, inpainting, super-resolution, style transfer, and audio or music generation, including fine-tuning or personalizing a base model. Picks diffusion vs GAN, the right adaptation method, and generation-specific evaluation. For text generation use domain-nlp-llm instead. Triggers on 'generate images', 'text to image', 'diffusion', 'stable diffusion', 'GAN', 'image editing', 'inpainting', 'super resolution', 'synthesize', 'DreamBooth', 'LoRA image'.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Prefer fine-tuning a strong pretrained base over training from scratch.

    line 8

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Generative Models - Method Selection

Prefer fine-tuning a strong pretrained base over training from scratch. Use classifier-free guidance for text alignment.

Decision table

Sub-taskRecommendedNotes
Text-to-image or general image generationlatent diffusion (Stable Diffusion family, SDXL)diffusion now beats GANs on quality and diversity.
Personalize or customize on a few imagesLoRA, DreamBooth, or textual inversion on a diffusion baseparameter-efficient, small data.
Fast or real-time, or paired image-to-imageGAN (pix2pix, StyleGAN) or a distilled diffusion modelGANs are faster at inference.
Inpainting or super-resolutiondiffusion inpainting, Real-ESRGAN
Audio or music generationdiffusion, or a transformer LM over audio tokens

Cross-cutting practice

  • Metrics: FID and KID (fidelity and diversity versus real data), CLIP score (text-image alignment), IS. For personalization, measure subject fidelity and prompt fidelity separately. Automatic metrics are weak proxies, so human evaluation remains essential. Do not judge on a single number.
  • Caveats: generated data can carry artifacts, so training a downstream model on synthetic data can hurt. Watch for training-data memorization, plus licensing and safety.
  • Explainability: cross-attention maps (which words drove which region) and guidance-scale sweeps.
  • Recent bases (2024): SD3 and FLUX text-to-image, plus consistency and distilled models for fast few-step sampling.
  • Improve results: use accuracy-improvement-loop; evaluate with rigorous-evaluation (generation metrics plus human review).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.