본문으로 건너뛰기
cccskills
무료GitHub에 공개

image-provider-routing

Pick the image provider from job shape — text-in-image to Ideogram, photoreal to Flux, illustrative vector to Recraft, general to Gemini/GPT.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Gemini
설치 방법 보기

포함된 파일(2)

  • SKILL.md6.0 KB
  • evals/triggers.json3.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

image-provider-routing

Route an image generation job to the right provider based on job shape. Adapters are scaffold-tier (dry-run only) — selection produces a plan; execution waits on promotion per provider-lifecycle-discipline.

When to use

  • Choosing which image model fits a brief (logo, banner, photo, icon, general art).
  • Before calling any node_modules/@event4u/agent-config/src/scripts/ai-image/adapters/*.sh adapter.
  • When the user asks "which image model should I use?" or "route this image job."

Provider decision table

Job shapeProviderWhy
Text-in-image (logo, banner, typographic art)IdeogramBest glyph rendering; raster models garble text
Photoreal (product shot, portrait, scene)FluxPhotorealism specialist; routed via fal/Replicate
Icon the set lacksiconography first, then svg-authoringThe incumbent set wins; a missing glyph is hand-authored against its grid and checked — no provider involved
Simple geometric marksvg-authoringA rect/circle/path mark is cheaper and more editable hand-authored than generated, and it ends in a file rather than a plan
Complex illustrative vector artRecraftThe only job shape left for a vector provider. State the adapter's lifecycle in the answer: experimental — scaffold tier, dry-run plumbing only, so the caller knows no asset is produced
General art / edit / multimodalGemini-image or GPT Image 2Broad capability; natural-language prompts
Budget-conscious 4K upscaleFlux via ReplicateCost-competitive at high resolution

Decision order: an icon → the incumbent set, then svg-authoring for a missing glyph; a simple geometric mark → svg-authoring; text-in-image → Ideogram; complex illustrative vector art → Recraft, with its scaffold-tier lifecycle stated; photoreal → Flux; everything else → Gemini-image (default) or GPT Image 2 (when an OpenAI key is available and an existing image is being edited).

The split exists because the single "Vector / SVG logo or icon" row sent every icon and every geometric mark to an adapter whose header reads experimental — scaffold tier. dry-run plumbing only and whose live calls exit at the adapter's own live-call guard. The routed path ended in a plan; the icon floor meanwhile sent icons to the set. Neither produced an asset for the one case that needs one — a glyph the set does not have.

Procedure

  1. Extract job shape from the brief: does it need embedded text? vector output? photorealistic rendering? or general illustration?
  2. Apply table — match the dominant shape to the provider row above.
  3. Check lifecycle tier — all adapters are experimental (scaffold). Surface this before any live invocation.
  4. Confirm with the user when shape is ambiguous (e.g., logo that could be vector OR raster typographic art → ask once).
  5. Emit the routing decision in the Output format below.

Output format

  1. Chosen provider — name + one-line rationale citing the job-shape match.
  2. Lifecycle-tier caveat — "adapter is experimental (scaffold tier); dry-run only until a smoke trace is captured per provider-lifecycle-discipline."
  3. Fallback — if the primary adapter is unavailable or the smoke trace is missing, name the next best provider and what changes.

Gotcha

  • Routing a text-in-image job to a photoreal model is the #1 failure — send a logo/banner with embedded text to Flux and the text renders as garbled glyphs; it must go to Ideogram. Likewise a vector logo sent to Ideogram/Flux returns a raster PNG, not the editable <path> SVG a brand mark needs (→ Recraft).
  • All four adapters (ideogram.sh, flux.sh, recraft.sh, gemini-image.sh) are scaffold-tier — dry-run plumbing only, no live generation yet. Routing produces a selection + plan; actual API calls require promotion to stable first (maintainer-captured smoke trace under agents/reference/ai-image/smoke-traces/). Surfacing a provider without its experimental tier caveat misleads the caller into expecting a rendered asset that won't come.

Good example: "Text logo for a bakery → Ideogram (text-in-image); lifecycle: experimental — dry-run plan only."

Bad example: "Use Recraft for the product photo" — Recraft is the vector path; photoreal jobs go to Flux.

Do NOT

  • Do NOT invoke an adapter without surfacing its lifecycle tier (all are experimental).
  • Do NOT route a text-in-image job to Flux — Flux has no glyph renderer; text garbles.
  • Do NOT route a vector/SVG job to Ideogram or Flux — neither outputs genuine <path> SVG.
  • Do NOT skip image-likeness-and-rights when the brief names a real person or brand mark.
  • Do NOT promote an adapter from experimental to stable — that is maintainer-only via smoke trace.

See also

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 20일 업데이트

Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 20일 업데이트

Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 20일 업데이트

Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 20일 업데이트

Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 20일 업데이트

Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 20일 업데이트

event4u-app의 스킬 모두 보기

이 스킬의 문제 신고