CaRaFagio began life as CRF (Claude Reference Format) - a simple plug-in to help Claude troubleshoot ComfyUI workflows. What started as a technical reference for node connections and model parameters evolved into something more ambitious: a comprehensive knowledge compression system covering both the technical and artistic aspects of generative AI.
The name evolved from CRF to CaRaFagio (Compression and Reference Format for Automated Generative Imagery Oracle) as the scope expanded from pure technical documentation to include art history, composition theory, and creative techniques.
CaRaFagio is a highly compressed knowledge base that enables Claude to function as a comprehensive generative art assistant. It uses a custom symbol system to encode:
- Technical specifications for all major AI models (SD1.5, SDXL, FLUX, etc.)
- ComfyUI node architectures and workflow patterns
- Art history spanning 15 master artists and 12 movements
- Composition principles, color theory, and lighting techniques
- Hardware optimization strategies
- Common troubleshooting solutions
Current version: v108.4 (28.4KB compressed from ~2MB of knowledge)
- Single Unicode characters represent complex concepts
- Positional grammar:
[TYPE][SUBTYPE][VALUE][CONSTRAINTS] - Relationship operators show connections between concepts
- ~98% compression ratio with ~50x faster parsing
- Models: SD1.5, SDXL, SD3.5, FLUX, HiDream, Pony, IllustriousXL, OmniGen, Cosmos
- Platforms: ComfyUI (primary), A1111, Forge, StabilityMatrix
- Technical: LoRA systems, ControlNet, IPA, regional prompting, samplers, schedulers
- Artistic: Composition (Ω), Lighting (Λ), Color (Θ), Perspective (ϴ), Emotion (Ε)
- Load
CaRaFagio_v108.4.mdinto a conversation with Claude - Claude will parse the compressed format automatically
- Ask technical or artistic questions naturally
- "My FLUX generations are slow on a 3090"
- "How do I achieve Caravaggio-style lighting in SDXL?"
- "Convert this A1111 workflow to ComfyUI nodes"
- "Why am I getting black images with SD3.5?"
CaRaFagio uses a symbol-based compression where:
α1= SD1.5 architecture specsΩ1= Rule of thirds compositionλ1= LCM speed optimizationℱ1= Memory error fixes
Claude interprets these symbols to provide context-aware assistance that combines technical accuracy with artistic knowledge.
/
├── CaRaFagio_v108.4.md # Current version - use this
├── legacy/ # Previous versions for reference
│ ├── carafagio_v2_ultra.md
│ ├── carafagio_v2_ultra_plus.md
│ └── crf_p2_legend.md
├── examples.md # Usage examples
├── USER_GUIDE.md # For non-technical users
└── README_TECHNICAL.md # Implementation details
CaRaFagio is designed to be extended. When adding new content:
- Never redefine existing symbols
- Maintain backward compatibility
- Document additions in both the guide and legend
- Keep compression philosophy: maximum information density
See LICENSE.md - essentially: use freely, credit appreciated, don't claim you made it.
- Claude's knowledge cutoff applies to base information
- New models/techniques need manual updates
- Some artistic interpretations are subjective
- Not a replacement for actual art education
Because switching between "explain like I'm five" and "give me the technical details" is exhausting. CaRaFagio lets Claude operate at whatever level you need, from debugging CUDA errors to discussing the finer points of chiaroscuro.
"Art's for slackers!" - Sir Terry Pratchett (GNU)
The best compression is the one that preserves everything that matters.