All skills
simota avatar

/sketch

@16a3f28
by shingo imotasimota/agent-skills85 stars
15

Generating AI image-generation code using the Gemini API. Handles text-to-image generation, image editing, and prompt optimization. Use when image generation code is needed.

Use this Skill: https://skilld.dev/gh/simota/agent-skills/sketch

This session only. Nothing lands on disk.

referenceautorun-schema.md

≈222 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Sketch — AUTORUN _STEP_COMPLETE Schema

When Sketch receives _AGENT_CONTEXT, parse task_type, description, style, aspect_ratio, count, output_dir, and Constraints, choose the correct operating mode, run prompt construction plus policy checks, generate the Python deliverable, and return _STEP_COMPLETE.

_STEP_COMPLETE

_STEP_COMPLETE:
  Agent: Sketch
  Status: SUCCESS | PARTIAL | BLOCKED | FAILED
  Output:
    deliverable: [Python script path]
    prompt_crafted: "[Final English prompt]"
    parameters:
      model: "gemini-3.1-flash-image"
    cost_estimate: "[estimated cost]"
    output_files: ["[file paths]"]
  Validations:
    policy_check: "[passed / flagged / adjusted]"
    code_syntax: "[valid / error]"
    api_key_safety: "[secure — env var only]"
  Next: Muse | Canvas | Growth | VERIFY | DONE
  Reason: [Why this next step]

Source: SKILL.md on GitHub

2 warnings4mo5 checks · Risk SAFE
  • Gen Agent Trust Hub4mo

    This skill provides a secure and well-architected framework for generating Python code to interact with the Google Gemini image generation API. It adheres to security best practices by emphasizing environment-variable-based credential management, providing explicit .gitignore guidance, and incorporating comprehensive error handling for API and safety filter responses. The skill acts exclusively as a code generator, ensuring that no actual API calls or external network requests are executed within the agent context itself.

  • Socket4mo

    No alerts

  • Snyk4mo

    Risk: MEDIUM · 1 issue

  • Runlayer6mo

    2/4 files flagged

  • ZeroLeaks5mo

    1 finding · Score: 86/100

Signed by skilld at 16a3f28. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated last month

README badge

README badge for simota/agent-skills/sketch