
flux-best-practices
Comprehensive guide for BFL FLUX image generation models. Covers prompting, T2I, I2I, structured JSON, hex colors, typography, multi-reference editing, and model-specific best practices for FLUX.2 and FLUX.1 families.
- Installs
- 1.1K
- Last 24h
- +12
- Trending rank
- #7993
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/calesthio/openmontage --skill flux-best-practices- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads flux-best-practices automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
FLUX Best Practices
Use this skill when generating prompts for any BFL FLUX model to ensure optimal image quality and accurate prompt interpretation.
Extended reference:
AGENTS.mdin this directory is the long-form upstream FLUX guide (vendored from Black Forest Labs). It is supplementary reference material scoped to this skill only —SKILL.mdis the loadable entry point and the authority. It does not override or extend the repository-rootAGENTS.md/AGENT_GUIDE.md.
When to Use
- Creating prompts for FLUX.2 or FLUX.1 models
- Text-to-image (T2I) generation
- Image-to-image (I2I) editing with FLUX.2 models
- Structured scene generation with JSON
- Typography and text rendering
- Multi-reference style transfer
- Color-accurate brand generations
Quick Reference
Prompt Structure Formula
[Subject] + [Action/Pose] + [Style/Medium] + [Context/Setting] + [Lighting] + [Camera/Technical]
Model Selection
| Use Case | Recommended Model | Notes |
|---|---|---|
| Fastest generation | FLUX.2 [klein] | 4B or 9B, sub-second |
| Highest quality | FLUX.2 [max] | Best detail, grounding search |
| Production balanced | FLUX.2 [pro] | Quality + speed |
| Typography/text | FLUX.2 [flex] | Best text rendering |
| Local/development | FLUX.2 [dev] | Open weights |
| Image editing | FLUX.2 [pro/max] | Pass image URL directly to input_image |
| Inpainting | FLUX.1 Fill | Object removal/completion |
| Context editing | FLUX.1 Kontext | Older model, prefer FLUX.2 |
Critical Rules
- NO negative prompts - FLUX does not support negative prompts; describe what you want
- Be specific - Vague prompts produce mediocre results
- Use natural language - Prose/narrative style works best
- Specify lighting - Lighting has the biggest impact on quality
- Quote text - Use "quoted text" for typography rendering
- Hex colors - Use #RRGGBB format with color description
Related
For API integration (endpoints, polling, webhooks), see the bfl-api skill.
Rules Reference
Read individual rule files for detailed guidance:
- rules/core-principles.md - Universal FLUX prompting principles
- rules/flux2-models.md - FLUX.2 family: klein, max, pro, flex, dev
- rules/flux1-models.md - FLUX.1 family: older generation of FLUX.2 models - pro, Kontext, Fill
- rules/t2i-prompting.md - Text-to-image prompting patterns
- rules/i2i-prompting.md - Image-to-image editing with FLUX.2
- rules/json-structured-prompting.md - Complex scene composition
- rules/hex-color-prompting.md - Precise color specification
- rules/typography-text.md - Text rendering and typography
- rules/multi-reference-editing.md - Multi-image references
- rules/negative-prompt-alternatives.md - Positive alternatives
- rules/model-selection-guide.md - Choosing the right model
Example Prompt
A weathered fisherman in his 70s with deep wrinkles and a salt-and-pepper beard,
wearing a navy cable-knit sweater, standing at the helm of his wooden boat.
Golden hour sunlight from the left creates dramatic rim lighting on his profile.
Shot on Hasselblad with 85mm lens at f/2.8, shallow depth of field with harbor
lights creating soft bokeh in the background. Kodak Portra 400 color science.
FAQ
What does the flux-best-practices skill do?
Comprehensive guide for BFL FLUX image generation models. Covers prompting, T2I, I2I, structured JSON, hex colors, typography, multi-reference editing, and model-specific best practices for FLUX.2 and FLUX.1 families.
How do I install flux-best-practices?
Run npx skills add https://github.com/calesthio/openmontage --skill flux-best-practices in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/flux-best-practices/ (personal) or .claude/skills/flux-best-practices/ (project).
Which AI agents can use flux-best-practices?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is flux-best-practices safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains flux-best-practices?
It is published by calesthio in calesthio/openmontage. It has 1,064 recorded installs.
More from calesthio/openmontage
video-edit
calesthio/openmontage
Edit videos locally using ffmpeg. Trim, concat, resize, speed, overlay, extract audio, compress, and convert. Use when: (1) Trimming or cutting video segments, (2) Concatenating multiple clips, (3) Resizing video for social platforms, (4) Extracting or replacing audio, (5) Compressing video, (6) Converting video formats, (7) Getting video info.
video-understand
calesthio/openmontage
Understand video content locally using ffmpeg frame extraction and Whisper transcription. No API keys needed. Use when: (1) Understanding what a video contains, (2) Transcribing video audio locally, (3) Extracting key frames for visual analysis, (4) Getting video content without API keys.
svg-character-animation
calesthio/openmontage
Animate SVG character rigs with GSAP, CSS transforms, Remotion frame control, and HyperFrames-compatible browser previews.
ai-video-gen
calesthio/openmontage
Generate AI videos from text prompts using multiple provider gateways. Use when: (1) Generating videos from text descriptions, (2) Creating AI-generated video clips for content production, (3) Image-to-video generation with a reference image, (4) Choosing between video generation providers (VEO, Kling, Sora, Runway, Seedance, MiniMax, Gemini Omni). Supports gateways: HeyGen API, fal.ai API, Kling official direct API, and the Gemini API (Gemini Omni Flash).
video-download
calesthio/openmontage
Download video and audio from YouTube and 1000+ sites using yt-dlp. No API keys needed. Use when: (1) Downloading a video from YouTube or other sites, (2) Extracting audio from a video URL, (3) Downloading subtitles/captions from a video, (4) Getting video metadata without downloading.
remotion
calesthio/openmontage
Toolkit-specific Remotion patterns — custom transitions, shared components, and project conventions. For core Remotion framework knowledge (hooks, animations, rendering, etc.), see the remotion-official skill.
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.