rejot-dev/fragno/image-generation

Claude Code and agent skill by rejot-dev/fragno

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

"Generate images with models.generateImage and write them to the workspace. Use when the user wants an image created, or an automation must produce one."

Install

npx vskill@latest install rejot-dev/fragno/image-generation

SKILL.md

Image Generation

models.generateImage renders one image from a prompt and writes it to out. Every call starts fresh: the model sees this prompt only, never earlier images or the conversation.

  1. Brief. Read "/static/codemode/providers/models.d.ts". Settle the subject, the medium (photo,

illustration, 3D render, diagram), where the image will be used, and any literal text it shows. Choose what the request leaves open and name those choices in your reply. Complete when every visible element and the image's use are decided.

  1. Prompt. Write the prompt in this order: scene, subject, key details, constraints.
  • Name the use, such as "product photo for a catalog page", to set the level of polish.
  • Be concrete about materials, shapes, lighting, framing, and viewpoint. Write "photorealistic"

for photos.

  • Put literal text in quotes with its font, color, and placement. Spell unusual words letter by

letter.

  • State exclusions, such as "no watermark", "no extra text", and "no logos".

Complete when someone who never saw the conversation could render the image from the prompt alone.

  1. Settings. Set out, size, and quality explicitly; auto settles size and quality, and

so the cost, only after the call.

  • out: a new path under /workspace/. Use .jpg for photos, .png for text, line art, and

diagrams, and .webp for web pages.

  • size: 1536x1024 landscape, 1024x1536 portrait, or 1024x1024 square, matching where the

image is shown.

  • quality: low for drafts and revisions; a square image took about 8 seconds and $0.006.

medium or high for small text, dense diagrams, close-up faces, and final assets. xhigh and max when the user asks for them.

Complete when each setting follows from the brief.

  1. Generate. Call it inside step.do of an inline workflow, as the workflows skill describes:

generation can outlast an immediate run, and a replay reuses the step's result instead of paying again.

``js defineWorkflow( { name: "draw-desk-lamp" }, async (event, step) => await step.do( "draw desk lamp", async () => await models.generateImage({ prompt: "Product photo for a catalog page. White seamless background, soft studio light. " + "A photorealistic brass desk lamp with an angled arm, centered, eye-level. " + "No text, no watermark.", out: "/workspace/images/desk-lamp-v1.jpg", size: "1024x1024", quality: "low", }), ), ); ``

An automation that produces images gives each image its own step and a path derived from its item, such as the item's id, and skips items whose path state.exists confirms. Complete when the instance is complete and its output holds the image's path.

  1. Show and revise. The user judges the image; you cannot see it. Show it as a Markdown image

with the prompt and settings that produced it. To revise, change one thing in the full prompt and write to the next version's path, so earlier versions stay comparable. Complete when the user has seen every image, or the automation's output lists every path.

Failures

  • MODELS_GENERATE_IMAGE_FAILED: moderation_blocked: …: the prompt or the image was refused.

Rephrase the prompt before calling again.

  • Other MODELS_GENERATE_IMAGE_FAILED errors carry OpenAI's error code. Retry rate limits and

server errors; correct the request for the rest.

  • MODELS_GENERATE_IMAGE_UNAVAILABLE: this deployment has no image model configured. Tell the user.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rejot-dev/fragno/image-generation/badge)](https://verified-skill.com/skills/rejot-dev/fragno/image-generation)

Something wrong with this skill or its page? Tell us.