[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77RTT3YCFVSWAVGEH26K97B":3,"skill-same:01M77RTT3YCFVSWAVGEH26K97B":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M77RTT3YCFVSWAVGEH26K97B","doany-flux-2-klein",null,"Generate images with Flux 2 Klein (Black Forest Labs' distilled fast variant of Flux 2) on RunComfy — bundled with the model's documented prompting patterns so the skill gets sharper output than naive prompting against the same model. Documents Flux 2 Klein's strengths (sub-second latency, multi-reference brand styling, declarative subject-first prompts), the step-count strategy (4–8 for fast iteration, ~25 for polish), the 9B vs 4B variant trade-off, and when to route to Flux 2 Pro \u002F Seedream 5 \u002F GPT Image 2 instead. Calls `runcomfy run blackforestlabs\u002Fflux-2-klein\u002F9b\u002Ftext-to-image` (or `\u002F4b\u002F`) through the local RunComfy CLI. Triggers on \"flux 2 klein\", \"flux-2-klein\", \"flux klein\", \"BFL flux 2\", or any explicit ask to generate with this model.","janpereira-dev\u002FskillsCurate","janpereira-dev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6440548?v=4","01M6KKKXBFFK7QF5Y2JFXN35FF","Jan Pereira","01M77ND31QCT5KM25E1SW71M8F",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjanpereira-dev\u002FskillsCurate\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdoany-flux-2-klein\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: doany-flux-2-klein\ndisplayName: \"Flux 2 Klein — Pro Pack on RunComfy\"\ndescription: >\n  Generate images with Flux 2 Klein (Black Forest Labs' distilled fast\n  variant of Flux 2) on RunComfy — bundled with the model's documented\n  prompting patterns so the skill gets sharper output than naive\n  prompting against the same model. Documents Flux 2 Klein's strengths\n  (sub-second latency, multi-reference brand styling, declarative\n  subject-first prompts), the step-count strategy (4–8 for fast\n  iteration, ~25 for polish), the 9B vs 4B variant trade-off, and when\n  to route to Flux 2 Pro \u002F Seedream 5 \u002F GPT Image 2 instead. Calls\n  `runcomfy run blackforestlabs\u002Fflux-2-klein\u002F9b\u002Ftext-to-image` (or\n  `\u002F4b\u002F`) through the local RunComfy CLI. Triggers on \"flux 2 klein\",\n  \"flux-2-klein\", \"flux klein\", \"BFL flux 2\", or any explicit ask to\n  generate with this model.\nhomepage: https:\u002F\u002Fwww.runcomfy.com\nlicense: MIT\n---\n\n# Flux 2 Klein — Pro Pack on RunComfy\n\n[runcomfy.com](https:\u002F\u002Fwww.runcomfy.com\u002F?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-2-klein) · [9B model](https:\u002F\u002Fwww.runcomfy.com\u002Fmodels\u002Fblackforestlabs\u002Fflux-2-klein\u002F9b\u002Ftext-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-2-klein) · [4B model](https:\u002F\u002Fwww.runcomfy.com\u002Fmodels\u002Fblackforestlabs\u002Fflux-2-klein\u002F4b\u002Ftext-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-2-klein) · [GitHub](https:\u002F\u002Fgithub.com\u002Fagentspace-so\u002Fruncomfy-skills\u002Ftree\u002Fmain\u002Fflux-2-klein)\n\nBlack Forest Labs' **Flux 2 Klein** (the distilled, low-latency variant of Flux 2) hosted on the **RunComfy Model API** — no API key, async REST.\n\n```bash\nnpx skills add agentspace-so\u002Fruncomfy-skills --skill flux-2-klein -g\n```\n\n## When to pick this model (vs siblings)\n\nFlux 2 Klein's distinct strength is **latency-first creative iteration**: sub-second feedback enables live art-direction sessions and rapid product visualization that batch-style models can't sustain. Pick it when **iteration speed matters more than ceiling resolution**.\n\n| You want | Use |\n|---|---|\n| Real-time \u002F live art-direction sessions | **Flux 2 Klein 4B** |\n| Fast iteration with strong detail at the end | **Flux 2 Klein 9B** |\n| Multi-reference brand styling with consistent looks | **Flux 2 Klein** |\n| 2K–4K hero images, max resolution | Seedream 5 |\n| Maximum prompt adherence + extreme detail | Flux 2 Pro |\n| Embedded text, logos, multilingual signage | GPT Image 2 |\n| Hyperrealistic portrait | Nano Banana Pro |\n\nIf the user said \"Flux 2 Klein\" \u002F \"BFL Klein\" \u002F \"flux klein\" explicitly, route here regardless. If they said \"Flux 2\" generically, ask whether they want **Klein** (fast) or **Pro** (max quality) before defaulting.\n\n## Prerequisites\n\n1. **RunComfy CLI** — `npm i -g @runcomfy\u002Fcli`\n2. **RunComfy account** — `runcomfy login` opens a browser device-code flow.\n3. **CI \u002F containers** — set `RUNCOMFY_TOKEN=\u003Ctoken>` instead of `runcomfy login`.\n\n## Endpoints + input schema\n\nTwo variants, same endpoint shape, same prompt grammar.\n\n### `blackforestlabs\u002Fflux-2-klein\u002F9b\u002Ftext-to-image`\n\nThe fidelity-first variant. Use for polish \u002F final output.\n\n| Field | Type | Required | Default | Notes |\n|---|---|---|---|---|\n| `prompt` | string | yes | — | Up to ~512 tokens. Longer degrades. |\n| `steps` | int | no | 25 | 4–50. **Step-distilled architecture** — 4–8 enough for concepting; ~25 for polish; >25 buys little. |\n| `width` | int | no | 1024 | 512–1536 typical. **Aspect ratio capped at 16:9**, max ~2K total. |\n| `height` | int | no | 1024 | Match `width`'s aspect intent. |\n\n### `blackforestlabs\u002Fflux-2-klein\u002F4b\u002Ftext-to-image`\n\nThe latency-first variant. Sub-second 4-step inference. Use for live iteration \u002F concepting.\n\nSame field set as 9B. Default `steps` is effectively 4 — the variant is built for that step count.\n\n### Reference images (both variants)\n\nUp to **4 simultaneous reference images** are supported on the same endpoint for style transfer \u002F guided composition. The exact field name in the JSON body is documented on the [model's API tab](https:\u002F\u002Fwww.runcomfy.com\u002Fmodels\u002Fblackforestlabs\u002Fflux-2-klein\u002F9b\u002Ftext-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-2-klein) — pass it through the CLI verbatim. Reference-image use enables editing-style workflows without a separate `\u002Fedit` endpoint.\n\n## How to invoke\n\n**Fast concepting (4B, sub-second):**\n\n```bash\nruncomfy run blackforestlabs\u002Fflux-2-klein\u002F4b\u002Ftext-to-image \\\n  --input '{\"prompt\": \"\u003Cuser prompt>\"}' \\\n  --output-dir \u003Cabsolute\u002Fpath>\n```\n\n**Polish \u002F final (9B, ~25 steps):**\n\n```bash\nruncomfy run blackforestlabs\u002Fflux-2-klein\u002F9b\u002Ftext-to-image \\\n  --input '{\n    \"prompt\": \"\u003Cuser prompt>\",\n    \"steps\": 25,\n    \"width\": 1024,\n    \"height\": 1024\n  }' \\\n  --output-dir \u003Cabsolute\u002Fpath>\n```\n\n**Wide-format poster:**\n\n```bash\nruncomfy run blackforestlabs\u002Fflux-2-klein\u002F9b\u002Ftext-to-image \\\n  --input '{\"prompt\": \"\u003Cuser prompt>\", \"width\": 1536, \"height\": 864}' \\\n  --output-dir \u003Cabsolute\u002Fpath>\n```\n\nThe CLI submits, polls every 2s until terminal, then downloads any `*.runcomfy.net` \u002F `*.runcomfy.com` URL from the result into `--output-dir`. Stdout is the result JSON. Stderr is progress.\n\nFor pipe-friendly usage:\n\n```bash\nruncomfy --output json run blackforestlabs\u002Fflux-2-klein\u002F4b\u002Ftext-to-image \\\n  --input '{\"prompt\":\"...\"}' --no-wait | jq -r .request_id\n```\n\n## Prompting — what actually works\n\nThese are model-specific patterns that empirically improve output quality.\n\n**Subject-first declarative grammar.** The structure Flux 2 Klein was trained on is *\"Subject + action + scene + style + lighting + camera + quality\"*. Front-load the subject; trail with directives. Example: `\"A vibrant hummingbird mid-flight sipping nectar from a bright pink hibiscus, iridescent feathers in morning sun, soft bokeh tropical garden, macro photography, razor-sharp detail, cinematic lighting\"`.\n\n**Specificity wins over flowery language.** \"4k product photo, softbox lighting, reflective table, 35mm, f\u002F2.8\" guides predictably. \"A really pretty product image\" doesn't.\n\n**Step-count by phase.**\n- **Concepting**: 4–8 steps on the 4B variant — sub-second feedback for live exploration.\n- **Refinement**: 8–15 steps still on 4B, locking in subject + framing.\n- **Polish**: ~25 steps on the 9B variant — texture, microdetail, fine typography.\n\n**Multi-reference alignment.** When passing reference images, **keep their aesthetics aligned**. Mixing a watercolor + a photoreal + a 3D render in the same call confuses the editor. Pick one consistent visual register across all refs.\n\n**Conditional edits**: state what stays, then what changes. *\"Same composition and lighting as reference, but change the background from beach to mountain studio.\"* This pattern holds composition stable.\n\n**For text rendering** (Klein has the 8B Qwen3 embedder, decent but not GPT Image 2 territory): add `\"crisp typography, high-contrast label\"` and bump steps to ~25 if the text comes out soft. For heavy in-image text or multilingual rendering, route to GPT Image 2 instead.\n\n**Anti-patterns**:\n\n- Don't conflict adjectives. \"minimalist + ornate\" cancels.\n- Don't exceed ~512 tokens. The model degrades, doesn't truncate gracefully.\n- Don't ask for 4K — the model's resolution ceiling is ~2K.\n- Don't ask for ultra-wide (>16:9) — the model crops.\n\n## Where it shines\n\n| Use case | Why Flux 2 Klein |\n|---|---|\n| **Live art-direction sessions** | Sub-second feedback (4B) enables real-time iteration |\n| **Interactive product visualization** | Fast UI previews and product comps without batch waits |\n| **Multi-reference brand styling** | Strong style consistency across references for unified asset packs |\n| **Rapid concepting → polish workflow** | 4B for exploration, 9B for the final pass — same prompt grammar throughout |\n| **Consumer-GPU-friendly inference** | 4B variant runs on modest hardware; relevant for self-host comparisons but RunComfy-hosted is fine |\n\n## Sample prompts (verified to produce strong results)\n\n**From the model page (BFL example):**\n\n```\nA vibrant hummingbird mid-flight sipping nectar from a bright pink hibiscus\nflower, iridescent emerald and sapphire feathers catching the morning sun,\nsoft bokeh tropical garden background, macro photography, razor-sharp\ndetail, cinematic lighting\n```\n\n**Product-photo pattern:**\n\n```\nA matte ceramic mug on a reclaimed-wood table, soft northern window light\nfrom the left, shallow depth of field, 50mm prime, f\u002F2.0, neutral\nbackground, e-commerce ready, 4K product photography\n```\n\n**Brand-consistent pair (multi-ref):**\n\n```\nSame composition and lighting as the reference image, but the bottle\nlabel is now blue with white sans-serif typography reading \"AURA\";\nkeep the bottle silhouette, table, and shadow exactly as in the reference\n```\n\n## Limitations\n\n- **Resolution ceiling ~2K** — for higher native res, route to Seedream 5.\n- **Aspect ratio cap 16:9** — extreme wide\u002Ftall ratios get cropped.\n- **Prompt cap ~512 tokens** — longer degrades quality; doesn't truncate gracefully.\n- **Reference image cap 4** — more than 4 increases latency and dilutes guidance.\n- **Text rendering** — the 8B Qwen3 embedder helps but GPT Image 2 still wins for embedded text precision.\n\n## Exit codes\n\nThe `runcomfy` CLI uses sysexits-style codes:\n\n| code | meaning |\n|---|---|\n| 0  | success |\n| 64 | bad CLI args |\n| 65 | bad input JSON \u002F schema mismatch (e.g. `width: 4096` would 422) |\n| 69 | upstream 5xx |\n| 75 | retryable: timeout \u002F 429 |\n| 77 | not signed in or token rejected |\n\nFull reference: [docs.runcomfy.com\u002Fcli\u002Ftroubleshooting](https:\u002F\u002Fdocs.runcomfy.com\u002Fcli\u002Ftroubleshooting?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-2-klein).\n\n## How it works\n\n1. The skill invokes `runcomfy run blackforestlabs\u002Fflux-2-klein\u002F\u003Cvariant>\u002Ftext-to-image` with a JSON body matching the schema.\n2. The CLI POSTs to `https:\u002F\u002Fmodel-api.runcomfy.net\u002Fv1\u002Fmodels\u002Fblackforestlabs\u002Fflux-2-klein\u002F\u003Cvariant>\u002Ftext-to-image` with the user's bearer token.\n3. The Model API returns a `request_id`; the CLI polls `GET ...\u002Frequests\u002F\u003Cid>\u002Fstatus` every 2 seconds.\n4. On terminal status, the CLI fetches `GET ...\u002Frequests\u002F\u003Cid>\u002Fresult` and downloads any URL whose host ends with `.runcomfy.net` or `.runcomfy.com` into `--output-dir`. Other URLs are listed but not fetched.\n5. `Ctrl-C` while polling sends `POST ...\u002Frequests\u002F\u003Cid>\u002Fcancel` so you don't get billed for GPU you stopped.\n\n\n## What this skill is not\n\nNot a self-hosted Flux runner. Not a capability grant — depends on a working RunComfy account. Not multi-tenant.\n\n## Security & Privacy\n\n- **Token storage**: `runcomfy login` writes the API token to `~\u002F.config\u002Fruncomfy\u002Ftoken.json` with mode 0600 (owner-only read\u002Fwrite). Set `RUNCOMFY_TOKEN` env var to bypass the file entirely in CI \u002F containers.\n- **Input boundary**: the user prompt is passed as a JSON string to the CLI via `--input`. The CLI does NOT shell-expand the prompt; it transmits the JSON body directly to the Model API over HTTPS. No shell injection surface from prompt content.\n- **Third-party content**: image \u002F mask \u002F video URLs you pass are fetched by the RunComfy model server, not by the CLI on your machine. Treat external URLs as untrusted; image-based prompt injection is a known risk for any image-edit \u002F video-edit model.\n- **Outbound endpoints**: only `model-api.runcomfy.net` (request submission) and `*.runcomfy.net` \u002F `*.runcomfy.com` (download whitelist for generated outputs). No telemetry, no callbacks.\n- **Generated-file size cap**: the CLI aborts any single download > 2 GiB to prevent disk-fill from a malicious or runaway model output.","# Flux 2 Klein — Pro Pack on RunComfy\n\n[runcomfy.com](https:\u002F\u002Fwww.runcomfy.com\u002F?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-2-klein) · [9B model](https:\u002F\u002Fwww.runcomfy.com\u002Fmodels\u002Fblackforestlabs\u002Fflux-2-klein\u002F9b\u002Ftext-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-2-klein) · [4B model](https:\u002F\u002Fwww.runcomfy.com\u002Fmodels\u002Fblackforestlabs\u002Fflux-2-klein\u002F4b\u002Ftext-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-2-klein) · [GitHub](https:\u002F\u002Fgithub.com\u002Fagentspace-so\u002Fruncomfy-skills\u002Ftree\u002Fmain\u002Fflux-2-klein)\n\nBlack Forest Labs' **Flux 2 Klein** (the distilled, low-latency variant of Flux 2) hosted on the **RunComfy Model API** — no API key, async REST.\n\n```bash\nnpx skills add agentspace-so\u002Fruncomfy-skills --skill flux-2-klein -g\n```\n\n## When to pick this model (vs siblings)\n\nFlux 2 Klein's distinct strength is **latency-first creative iteration**: sub-second feedback enables live art-direction sessions and rapid product visualization that batch-style models can't sustain. Pick it when **iteration speed matters more than ceiling resolution**.\n\n| You want | Use |\n|---|---|\n| Real-time \u002F live art-direction sessions | **Flux 2 Klein 4B** |\n| Fast iteration with strong detail at the end | **Flux 2 Klein 9B** |\n| Multi-reference brand styling with consistent looks | **Flux 2 Klein** |\n| 2K–4K hero images, max resolution | Seedream 5 |\n| Maximum prompt adherence + extreme detail | Flux 2 Pro |\n| Embedded text, logos, multilingual signage | GPT Image 2 |\n| Hyperrealistic portrait | Nano Banana Pro |\n\nIf the user said \"Flux 2 Klein\" \u002F \"BFL Klein\" \u002F \"flux klein\" explicitly, route here regardless. If they said \"Flux 2\" generically, ask whether they want **Klein** (fast) or **Pro** (max quality) before defaulting.\n\n## Prerequisites\n\n1. **RunComfy CLI** — `npm i -g @runcomfy\u002Fcli`\n2. **RunComfy account** — `runcomfy login` opens a browser device-code flow.\n3. **CI \u002F containers** — set `RUNCOMFY_TOKEN=\u003Ctoken>` instead of `runcomfy login`.\n\n## Endpoints + input schema\n\nTwo variants, same endpoint shape, same prompt grammar.\n\n### `blackforestlabs\u002Fflux-2-klein\u002F9b\u002Ftext-to-image`\n\nThe fidelity-first variant. Use for polish \u002F final output.\n\n| Field | Type | Required | Default | Notes |\n|---|---|---|---|---|\n| `prompt` | string | yes | — | Up to ~512 tokens. Longer degrades. |\n| `steps` | int | no | 25 | 4–50. **Step-distilled architecture** — 4–8 enough for concepting; ~25 for polish; >25 buys little. |\n| `width` | int | no | 1024 | 512–1536 typical. **Aspect ratio capped at 16:9**, max ~2K total. |\n| `height` | int | no | 1024 | Match `width`'s aspect intent. |\n\n### `blackforestlabs\u002Fflux-2-klein\u002F4b\u002Ftext-to-image`\n\nThe latency-first variant. Sub-second 4-step inference. Use for live iteration \u002F concepting.\n\nSame field set as 9B. Default `steps` is effectively 4 — the variant is built for that step count.\n\n### Reference images (both variants)\n\nUp to **4 simultaneous reference images** are supported on the same endpoint for style transfer \u002F guided composition. The exact field name in the JSON body is documented on the [model's API tab](https:\u002F\u002Fwww.runcomfy.com\u002Fmodels\u002Fblackforestlabs\u002Fflux-2-klein\u002F9b\u002Ftext-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-2-klein) — pass it through the CLI verbatim. Reference-image use enables editing-style workflows without a separate `\u002Fedit` endpoint.\n\n## How to invoke\n\n**Fast concepting (4B, sub-second):**\n\n```bash\nruncomfy run blackforestlabs\u002Fflux-2-klein\u002F4b\u002Ftext-to-image \\\n  --input '{\"prompt\": \"\u003Cuser prompt>\"}' \\\n  --output-dir \u003Cabsolute\u002Fpath>\n```\n\n**Polish \u002F final (9B, ~25 steps):**\n\n```bash\nruncomfy run blackforestlabs\u002Fflux-2-klein\u002F9b\u002Ftext-to-image \\\n  --input '{\n    \"prompt\": \"\u003Cuser prompt>\",\n    \"steps\": 25,\n    \"width\": 1024,\n    \"height\": 1024\n  }' \\\n  --output-dir \u003Cabsolute\u002Fpath>\n```\n\n**Wide-format poster:**\n\n```bash\nruncomfy run blackforestlabs\u002Fflux-2-klein\u002F9b\u002Ftext-to-image \\\n  --input '{\"prompt\": \"\u003Cuser prompt>\", \"width\": 1536, \"height\": 864}' \\\n  --output-dir \u003Cabsolute\u002Fpath>\n```\n\nThe CLI submits, polls every 2s until terminal, then downloads any `*.runcomfy.net` \u002F `*.runcomfy.com` URL from the result into `--output-dir`. Stdout is the result JSON. Stderr is progress.\n\nFor pipe-friendly usage:\n\n```bash\nruncomfy --output json run blackforestlabs\u002Fflux-2-klein\u002F4b\u002Ftext-to-image \\\n  --input '{\"prompt\":\"...\"}' --no-wait | jq -r .request_id\n```\n\n## Prompting — what actually works\n\nThese are model-specific patterns that empirically improve output quality.\n\n**Subject-first declarative grammar.** The structure Flux 2 Klein was trained on is *\"Subject + action + scene + style + lighting + camera + quality\"*. Front-load the subject; trail with directives. Example: `\"A vibrant hummingbird mid-flight sipping nectar from a bright pink hibiscus, iridescent feathers in morning sun, soft bokeh tropical garden, macro photography, razor-sharp detail, cinematic lighting\"`.\n\n**Specificity wins over flowery language.** \"4k product photo, softbox lighting, reflective table, 35mm, f\u002F2.8\" guides predictably. \"A really pretty product image\" doesn't.\n\n**Step-count by phase.**\n- **Concepting**: 4–8 steps on the 4B variant — sub-second feedback for live exploration.\n- **Refinement**: 8–15 steps still on 4B, locking in subject + framing.\n- **Polish**: ~25 steps on the 9B variant — texture, microdetail, fine typography.\n\n**Multi-reference alignment.** When passing reference images, **keep their aesthetics aligned**. Mixing a watercolor + a photoreal + a 3D render in the same call confuses the editor. Pick one consistent visual register across all refs.\n\n**Conditional edits**: state what stays, then what changes. *\"Same composition and lighting as reference, but change the background from beach to mountain studio.\"* This pattern holds composition stable.\n\n**For text rendering** (Klein has the 8B Qwen3 embedder, decent but not GPT Image 2 territory): add `\"crisp typography, high-contrast label\"` and bump steps to ~25 if the text comes out soft. For heavy in-image text or multilingual rendering, route to GPT Image 2 instead.\n\n**Anti-patterns**:\n\n- Don't conflict adjectives. \"minimalist + ornate\" cancels.\n- Don't exceed ~512 tokens. The model degrades, doesn't truncate gracefully.\n- Don't ask for 4K — the model's resolution ceiling is ~2K.\n- Don't ask for ultra-wide (>16:9) — the model crops.\n\n## Where it shines\n\n| Use case | Why Flux 2 Klein |\n|---|---|\n| **Live art-direction sessions** | Sub-second feedback (4B) enables real-time iteration |\n| **Interactive product visualization** | Fast UI previews and product comps without batch waits |\n| **Multi-reference brand styling** | Strong style consistency across references for unified asset packs |\n| **Rapid concepting → polish workflow** | 4B for exploration, 9B for the final pass — same prompt grammar throughout |\n| **Consumer-GPU-friendly inference** | 4B variant runs on modest hardware; relevant for self-host comparisons but RunComfy-hosted is fine |\n\n## Sample prompts (verified to produce strong results)\n\n**From the model page (BFL example):**\n\n```\nA vibrant hummingbird mid-flight sipping nectar from a bright pink hibiscus\nflower, iridescent emerald and sapphire feathers catching the morning sun,\nsoft bokeh tropical garden background, macro photography, razor-sharp\ndetail, cinematic lighting\n```\n\n**Product-photo pattern:**\n\n```\nA matte ceramic mug on a reclaimed-wood table, soft northern window light\nfrom the left, shallow depth of field, 50mm prime, f\u002F2.0, neutral\nbackground, e-commerce ready, 4K product photography\n```\n\n**Brand-consistent pair (multi-ref):**\n\n```\nSame composition and lighting as the reference image, but the bottle\nlabel is now blue with white sans-serif typography reading \"AURA\";\nkeep the bottle silhouette, table, and shadow exactly as in the reference\n```\n\n## Limitations\n\n- **Resolution ceiling ~2K** — for higher native res, route to Seedream 5.\n- **Aspect ratio cap 16:9** — extreme wide\u002Ftall ratios get cropped.\n- **Prompt cap ~512 tokens** — longer degrades quality; doesn't truncate gracefully.\n- **Reference image cap 4** — more than 4 increases latency and dilutes guidance.\n- **Text rendering** — the 8B Qwen3 embedder helps but GPT Image 2 still wins for embedded text precision.\n\n## Exit codes\n\nThe `runcomfy` CLI uses sysexits-style codes:\n\n| code | meaning |\n|---|---|\n| 0  | success |\n| 64 | bad CLI args |\n| 65 | bad input JSON \u002F schema mismatch (e.g. `width: 4096` would 422) |\n| 69 | upstream 5xx |\n| 75 | retryable: timeout \u002F 429 |\n| 77 | not signed in or token rejected |\n\nFull reference: [docs.runcomfy.com\u002Fcli\u002Ftroubleshooting](https:\u002F\u002Fdocs.runcomfy.com\u002Fcli\u002Ftroubleshooting?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-2-klein).\n\n## How it works\n\n1. The skill invokes `runcomfy run blackforestlabs\u002Fflux-2-klein\u002F\u003Cvariant>\u002Ftext-to-image` with a JSON body matching the schema.\n2. The CLI POSTs to `https:\u002F\u002Fmodel-api.runcomfy.net\u002Fv1\u002Fmodels\u002Fblackforestlabs\u002Fflux-2-klein\u002F\u003Cvariant>\u002Ftext-to-image` with the user's bearer token.\n3. The Model API returns a `request_id`; the CLI polls `GET ...\u002Frequests\u002F\u003Cid>\u002Fstatus` every 2 seconds.\n4. On terminal status, the CLI fetches `GET ...\u002Frequests\u002F\u003Cid>\u002Fresult` and downloads any URL whose host ends with `.runcomfy.net` or `.runcomfy.com` into `--output-dir`. Other URLs are listed but not fetched.\n5. `Ctrl-C` while polling sends `POST ...\u002Frequests\u002F\u003Cid>\u002Fcancel` so you don't get billed for GPU you stopped.\n\n\n## What this skill is not\n\nNot a self-hosted Flux runner. Not a capability grant — depends on a working RunComfy account. Not multi-tenant.\n\n## Security & Privacy\n\n- **Token storage**: `runcomfy login` writes the API token to `~\u002F.config\u002Fruncomfy\u002Ftoken.json` with mode 0600 (owner-only read\u002Fwrite). Set `RUNCOMFY_TOKEN` env var to bypass the file entirely in CI \u002F containers.\n- **Input boundary**: the user prompt is passed as a JSON string to the CLI via `--input`. The CLI does NOT shell-expand the prompt; it transmits the JSON body directly to the Model API over HTTPS. No shell injection surface from prompt content.\n- **Third-party content**: image \u002F mask \u002F video URLs you pass are fetched by the RunComfy model server, not by the CLI on your machine. Treat external URLs as untrusted; image-based prompt injection is a known risk for any image-edit \u002F video-edit model.\n- **Outbound endpoints**: only `model-api.runcomfy.net` (request submission) and `*.runcomfy.net` \u002F `*.runcomfy.com` (download whitelist for generated outputs). No telemetry, no callbacks.\n- **Generated-file size cap**: the CLI aborts any single download > 2 GiB to prevent disk-fill from a malicious or runaway model output.",{"name":5,"license":15,"homepage":24,"description":25,"displayName":26},"https:\u002F\u002Fwww.runcomfy.com","Generate images with Flux 2 Klein (Black Forest Labs' distilled fast variant of Flux 2) on RunComfy — bundled with the model's documented prompting patterns so the skill gets sharper output than naive prompting against the same model. Documents Flux 2 Klein's strengths (sub-second latency, multi-reference brand styling, declarative subject-first prompts), the step-count strategy (4–8 for fast iteration, ~25 for polish), the 9B vs 4B variant trade-off, and when to route to Flux 2 Pro \u002F Seedream 5 \u002F GPT Image 2 instead. Calls `runcomfy run blackforestlabs\u002Fflux-2-klein\u002F9b\u002Ftext-to-image` (or `\u002F4b\u002F`) through the local RunComfy CLI. Triggers on \"flux 2 klein\", \"flux-2-klein\", \"flux klein\", \"BFL flux 2\", or any explicit ask to generate with this model.\n","Flux 2 Klein — Pro Pack on RunComfy","main","ba43a4e7e8b0fd6b150b14bcb48978ec40879a28",".agents\u002Fskills\u002Fdoany-flux-2-klein","https:\u002F\u002Fgithub.com\u002Fjanpereira-dev\u002FskillsCurate","https:\u002F\u002Fgithub.com\u002Fjanpereira-dev","IT Leader, Scrum Master, FullStack Developer, SEO\u002FSEM Master #Angular #React\r\n","2026-07-13 03:04:32",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add janpereira-dev\u002FskillsCurate --skill doany-flux-2-klein",{"tool":40,"command":41},"bunx","bunx skills add janpereira-dev\u002FskillsCurate --skill doany-flux-2-klein",{"tool":43,"command":44},"pnpm","pnpm dlx skills add janpereira-dev\u002FskillsCurate --skill doany-flux-2-klein","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjanpereira-dev\u002FskillsCurate\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdoany-flux-2-klein\u002FSKILL.md",true,[],[49,57,64,71,78,86],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M77T9KN6TEJMPPTQZDEB4K61","zustand-5","Zustand 5 state management patterns. Trigger: When managing React state with Zustand.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjanpereira-dev\u002FskillsCurate\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzustand-5\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M77T9GN2GABPPWDGDCXJ6QWK","zod-4","Zod 4 schema validation patterns. Trigger: When using Zod for validation - breaking changes from v3.","https:\u002F\u002Fgithub.com\u002Fjanpereira-dev\u002FskillsCurate\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzod-4\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M77T98A9R6PK155P71VX9MND","work-unit-commits","Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.","https:\u002F\u002Fgithub.com\u002Fjanpereira-dev\u002FskillsCurate\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwork-unit-commits\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M77T9505TGQGWHGAYVXGE2KS","web-quality-audit","Comprehensive web quality audit covering performance, accessibility, SEO, and best practices. Use when asked to \"audit my site\", \"review web quality\", \"run lighthouse audit\", \"check page quality\", or \"optimize my website\".","https:\u002F\u002Fgithub.com\u002Fjanpereira-dev\u002FskillsCurate\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fweb-quality-audit\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M77T8YRVRNK8W4MG63XM80NK","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fjanpereira-dev\u002FskillsCurate\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fjanpereira-dev\u002FskillsCurate\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M77T8CEPQFZRRNGBYZX46P4Y","vercel-react-view-transitions","Guide for implementing smooth, native-feeling animations using React's View Transition API (`\u003CViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter\u002Fexit of components, animate list reorder, implement directional (forward\u002Fback) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.","https:\u002F\u002Fgithub.com\u002Fjanpereira-dev\u002FskillsCurate\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-react-view-transitions\u002FSKILL.md",[],[]]