🖼️
AI EngineeringTypeScript

Image Generation

by SawyerHood

Image Generation is an AI Engineering skill for Claude Code, published by SawyerHood in middleman.

181 stars21 forkson SawyerHood/middlemanAdded 2026/09/07Repository updated 2026/05/21
agentsai-agentsclaude-code
Install in seconds
Install Image Generation
Copy Image Generation into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/SawyerHood/middleman/tree/main/apps/backend/src/swarm/skills/builtins/image-generation ~/.claude/skills/image-generation

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/SawyerHood/middleman.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
apps/backend/src/swarm/skills/builtins/image-generation/SKILL.md in SawyerHood/middleman
Installs to
~/.claude/skills/image-generation
Collection
One of 4 skills cataloged from this repository
Category
AI Engineering3475 skills

What Image Generation does

Image Generation creates images with Google Gemini from text prompts or source images. Use it when you need a generated PNG from a prompt, sketch, or reference image.

Image Generation is cataloged under AI Engineering on DirSkills. Image Generation comes from a repository tagged agents, ai-agents and claude-code.

Documentation

README

Image Generation

Generate images using Google Gemini (gemini-3-pro-image-preview) for both text-to-image and image-to-image workflows.

Use the packaged CLI:

middleman image generate \
  --prompt "a cute robot bee in a garden" \
  --output "/path/to/output.png"

Image-to-image generation is supported with repeated --input-image flags:

middleman image generate \
  --prompt "turn this sketch into a painted poster with a limited teal and coral palette" \
  --input-image "/path/to/sketch.png" \
  --input-image "/path/to/reference.jpg" \
  --output "/path/to/output.png"

Options

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Image Generation

  • What else does SawyerHood publish alongside Image Generation?

    Image Generation is one of 4 skills that DirSkills catalogs from SawyerHood/middleman, the repository it ships in. Its siblings there include Brave Search, Cron Scheduling and Memory. Each one is a separate skill with its own page in this directory, installs the same way Image Generation does, and is maintained by SawyerHood in that same repository. The rest of the collection is listed on the SawyerHood/middleman page.

  • How does Image Generation compare to other AI Engineering skills?

    Image Generation ranks #3085 by stars among the 3475 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Image Generation against them. Open each page to compare what they document and how they install.