Agent skill

Image Generation

by Kiyoraka in Kiyoraka/Project-AI-MemoryCore

MUST use when the user wants to RENDER or GENERATE an actual image from a description (not just craft prompt text).

No licenceAuto-check: notesMedia & Creative

Install Image Generation

skills CLI
$ npx skills add Kiyoraka/Project-AI-MemoryCore --skill image-generation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Kiyoraka/Project-AI-MemoryCore image-generation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Kiyoraka/Project-AI-MemoryCore.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Feature/Image-Generation-System .claude/skills/image-generation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
image-generation
GitHub stars
374
Token cost
~992 tokens
SKILL.md length
460 words
Files
7 (incl. scripts)
Skills in repo
17
Repo updated
First seen
Licence
None found

At a glance

MUST use when the user wants to RENDER or GENERATE an actual image from a description (not just craft prompt text).

  • Works in 6 steps: Extract from user input. Read the user's… → (Optional) Consult the Library System.… → Build the final prompt from step 1 (+… → …
  • The user wants to RENDER
  • SKILL.md covers Overview, Protocol, Size & Quality Reference and Mandatory Rules
  • GENERATE an actual image from a description (not just craft prompt text)

What it does

Image Generation is an agent skill from Kiyoraka/Project-AI-MemoryCore. MUST use when the user wants to RENDER or GENERATE an actual image from a description (not just craft prompt text). Triggers on "render an image", "render this", "generate image", "render image", "make an image of", "render the prompt", "render this prompt". Builds the prompt from what the user types (subject-agnostic, no built-in persona), optionally pulls a saved reference from the Library System, confirms cost, then calls the OpenAI gpt-image API and saves a PNG.

Its SKILL.md is about 990 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts (for example `README.md`, `credential-setup.md` and `install-image-generation.md`).

It sits in Media & Creative, covering Image generation. It works with OpenAI.

When your agent uses it

  • The user wants to RENDER
  • GENERATE an actual image from a description (not just craft prompt text)
  • Render an image
  • Make an image of

Example prompts

  • “render an image”
  • “render this”
  • “generate image”
  • “/image-generation”

Requirements

  • A Bash shell
  • PowerShell

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Extract from user input. Read the user's typed description and pull out the subject, scene,
  2. (Optional) Consult the Library System. IF the Library System feature is installed AND the user
  3. Build the final prompt from step 1 (+ optional step 2) — OR, if the user pasted a ready-made
  4. Resolve the output path.
  5. MANDATORY cost-confirmation gate. Before firing any paid render, tell the user the estimated
  6. Invoke the render script and report the result.

What it can do on your machine

Read from SKILL.md and the folder at commit c421b55. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Image Generation loads about 992 tokens when it runs. Until then it costs about 122 tokens; SKILL.md has 460 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~122
When it runs · the whole SKILL.md, loaded when a task matches
~992

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:67
    4. **Never commit `.env`**, never print the API key, never include the key in any output.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 460 words (~992 tokens).

“This skill renders an actual image by calling the OpenAI gpt-image API. It is the rendering companion to the Image Prompt System (which only crafts prompt text). The skill is subject- agnostic: it builds the prompt from whatever the user…”

— opening of SKILL.md by Kiyoraka
name
image-generation

Read the full SKILL.md on GitHub

Files

SKILL.md and 6 other files (scripts) in Feature/Image-Generation-System of Kiyoraka/Project-AI-MemoryCore.

  • SKILL.md
  • .env.example
  • README.md
  • credential-setup.md
  • install-image-generation.md
  • scripts/Invoke-ImageGen.ps1.template
  • scripts/invoke-image-gen.sh.template

Open the folder on GitHubat commit c421b55

Compare with similar skills

Image Generation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Image Generation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Image Generation this skillKiyoraka/Project-AI-MemoryCore374—~992Automated safety check: NotesNone
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
GPT Image Generation CLIwuyoscar/GPT-Image2-Skill5.7k—~2.5kAutomated safety check: NotesMIT
Imagegentheowenyoung/home1154 repos~4.8kAutomated safety check: PassApache-2.0
Openai Image Gentrpc-group/trpc-agent-go1.9k12 repos~843Automated safety check: PassApache-2.0
Image Generationonyx-dot-app/onyx32k1 repos~1.7kAutomated safety check: PassCustom licence

Similar skills

  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated today
    Media & CreativeAuto-check passed
  • GPT Image Generation CLI

    wuyoscar/GPT-Image2-Skill

    Generates and edits images with GPT Image 2 or 2.5 through a packaged CLI and a prompt gallery, after settling which model fits the request.

    5.7k GitHub stars~2.5k tokensUpdated 9 days ago
    Media & CreativeAuto-check: notes
  • Imagegen

    theowenyoung/home

    Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts.

    115 GitHub starsUsed in 4 repos~4.8k tokens
    Media & CreativeAuto-check passed
  • Openai Image Gen

    trpc-group/trpc-agent-go

    Batch-generate images via OpenAI Images API. An agent skill from trpc-group/trpc-agent-go.

    1.9k GitHub starsUsed in 12 repos~843 tokens
    Media & CreativeAuto-check passed
  • Image Generation

    onyx-dot-app/onyx

    Generate or edit raster images (photos, illustrations, textures, sprites, mockups, logos, infographics) using the workspace's configured image-generation provider via onyx-cli image.

    32k GitHub starsUsed in 1 repo~1.7k tokens
    Media & CreativeAuto-check passed
  • BlockRun Image Generation

    BlockRunAI/ClawRouter

    Generates or edits images through ClawRouter's local image API, with a choice of models and sizes and payment handled automatically through x402.

    6.6k GitHub stars~2.1k tokensUpdated 4 days ago
    Media & CreativeAuto-check passed

More from Kiyoraka/Project-AI-MemoryCore

All 17 skills in this repo
  • Video Generation

    Kiyoraka/Project-AI-MemoryCore

    MUST use when the user wants to RENDER or GENERATE an actual video / MP4 from a description, or ANIMATE a local image.

    374 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Auto Commit

    Kiyoraka/Project-AI-MemoryCore

    MUST use when committing code changes, when user says 'commit', 'save changes', 'git commit', 'commit changes', when completing a task and code needs to be preserved, or when any git commit…

    374 GitHub stars~1.6k tokensUpdated 2 mo ago
    Auto-check: notes
  • Forge Skill

    Kiyoraka/Project-AI-MemoryCore

    Auto-triggers when AI detects a repeated pattern handled ad-hoc 3+ times, when AI makes a mistake that a permanent rule would prevent, when AI identifies a workflow that should be automated as a…

    374 GitHub stars~2.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Image Prompt

    Kiyoraka/Project-AI-MemoryCore

    Auto-triggers when user asks for a Midjourney or NijiJourney image prompt, when creating visual art prompts, or when user says 'midjourney prompt', 'niji prompt', 'create prompt', 'create a prompt'…

    374 GitHub stars~2.4k tokensUpdated 2 mo ago
    Auto-check passed
  • Interactive Story

    Kiyoraka/Project-AI-MemoryCore

    Auto-triggers when user says 'new adventure', 'start adventure', 'new fantasy', 'save adventure', 'end adventure', 'load adventure', 'resume adventure', 'continue adventure', 'let's play', 'VN…

    374 GitHub stars~4.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Library

    Kiyoraka/Project-AI-MemoryCore

    MUST use when saving to the library, loading from the library, searching for existing knowledge, installing pre-made items, or when about to create a new library entry.

    374 GitHub stars~2.7k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Image Generation

What does Image Generation do?

MUST use when the user wants to RENDER or GENERATE an actual image from a description (not just craft prompt text). Image Generation is an agent skill from Kiyoraka/Project-AI-MemoryCore. MUST use when the user wants to RENDER or GENERATE an actual image from a description (not just craft prompt text).

When should I use Image Generation?

Image Generation fits situations like: the user wants to RENDER; GENERATE an actual image from a description (not just craft prompt text); render an image; make an image of.

How do I install Image Generation in Claude Code?

Run `npx skills add Kiyoraka/Project-AI-MemoryCore --skill image-generation -a claude-code`. Or copy the skill folder (Feature/Image-Generation-System in Kiyoraka/Project-AI-MemoryCore) into .claude/skills/image-generation in your project. Claude Code loads it when a task matches its description.

How do I install Image Generation in Codex?

Run `npx skills add Kiyoraka/Project-AI-MemoryCore --skill image-generation -a codex`. Or copy the skill folder (Feature/Image-Generation-System in Kiyoraka/Project-AI-MemoryCore) into .agents/skills/image-generation in your project. Codex loads it when a task matches its description.

Can I use Image Generation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Kiyoraka/Project-AI-MemoryCore --skill image-generation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/image-generation, .gemini/skills/image-generation, .github/skills/image-generation and .opencode/skills/image-generation in your project.

What does Image Generation need to run?

SKILL.md names no scripts, command-line tools or credentials: Image Generation is instructions for the agent only. Our summary lists: A Bash shell; PowerShell.

Does Image Generation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Image Generation safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Image Generation use?

No licence was found for Image Generation or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Image Generation use?

About 992 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Image Generation?

Skills that share tags, products or a category with Image Generation: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), GPT Image Generation CLI (wuyoscar/GPT-Image2-Skill, 5.7k stars), Imagegen (theowenyoung/home, 115 stars) and Openai Image Gen (trpc-group/trpc-agent-go, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Image Generation?

Kiyoraka (a GitHub user) maintains it in Kiyoraka/Project-AI-MemoryCore, which has 374 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on July 29, 2026.

Source: Kiyoraka/Project-AI-MemoryCore on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.