Agent skill

Image Generation

by MemTensor in MemTensor/memmy-agent

Generate images and iteratively edit saved image artifacts. An agent skill from MemTensor/memmy-agent.

MITAuto-check passedMedia & Creative

Install Image Generation

skills CLI
$ npx skills add MemTensor/memmy-agent --skill image-generation -a claude-code

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

GitHub CLI
$ gh skill install MemTensor/memmy-agent 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/MemTensor/memmy-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/App/memmy-agent/src/skills/image-generation .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
2.1k
Token cost
~727 tokens
SKILL.md length
339 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Generate images and iteratively edit saved image artifacts. An agent skill from MemTensor/memmy-agent.

  • Tasks that involve Image generation
  • SKILL.md covers When To Use, Prompt Rules, Artifact Rules and Examples
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Image Generation is an agent skill from MemTensor/memmy-agent. Generate images and iteratively edit saved image artifacts.

Its SKILL.md is about 730 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Media & Creative, covering Image generation. It works with OpenAI. The repository describes itself as: 🍙 A personal AI agent & local memory hub for all AI agents, gives every AI one shared, fully controlled memory and persistent context — all AI remember the same you. Now… The licence is MIT.

When your agent uses it

  • Tasks that involve Image generation

Example prompts

  • “/image-generation”

What it can do on your machine

Read from SKILL.md and the folder at commit ee0ed02. 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

    No scripts in the folder and no shell commands in SKILL.md.

    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 727 tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 339 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from MemTensor/memmy-agent at commit ee0ed02, republished under its MIT licence (© MemTensor). 339 words, ~727 tokens.

Download SKILL.mdSave it as .claude/skills/image-generation/SKILL.md (or your agent's skills folder).
name
image-generation
description
Generate images and iteratively edit saved image artifacts.

Image Generation

Use the generate_image tool when the user asks you to create, render, draw, design, generate, or edit an image.

If the generate_image tool is not available in the current tool list, tell the user that image generation is not enabled for this memmy instance.

When To Use

  • Text-to-image: call generate_image with a concrete prompt.
  • Image editing: pass the saved artifact path or user image path in reference_images.
  • Iterative edits in the same conversation: prefer the most recent generated image artifact if the user says things like "make it brighter", "change the background", or "try another version".
  • Ambiguous edits: ask a short clarifying question if multiple recent images could be the target.
  • After generating images, call the message tool with the artifact paths in the media parameter to deliver them to the user.

Prompt Rules

Write prompts with enough detail for image models:

  • Subject and scene.
  • Composition and camera or layout.
  • Style, mood, lighting, and color palette.
  • Text that must appear in the image, quoted exactly.
  • Constraints such as "keep the same character", "preserve the logo", or "do not change the background".

Artifact Rules

The tool stores generated images as persistent artifacts under memmy's media directory and returns structured metadata:

  • id: generated image id, such as img_ab12cd34ef56.
  • path: local file path for internal follow-up edits.
  • mime: image MIME type.
  • prompt, model, and source_images: provenance for follow-up edits.

In normal user-facing replies, do not expose local filesystem paths. Keep the reply natural, for example "Done, I generated it." You may include the short image id when it helps the user refer to a specific image, but keep raw path internal unless the user explicitly asks for debug details or a local artifact reference. Never paste base64.

For follow-up edits, pass the prior artifact path to reference_images. If the user provides a new uploaded image, use that path as the reference instead.

Do not include internal replay markers such as [Message Time: ...], [image: /local/path], generate_image(...), or message(...) in user-facing replies.

Examples

Generate a new image:

text
generate_image(
  prompt="A minimal app icon for memmy: friendly robot head, rounded square, soft blue and white palette, clean vector style, no text",
  aspect_ratio="1:1",
  image_size="1K"
)

Edit the latest generated artifact:

text
generate_image(
  prompt="Use the reference image. Keep the same robot and composition, but change the palette to warm orange and add a subtle sunrise background.",
  reference_images=["~/.memmy/media/generated/2026-05-08/img_ab12cd34ef56.png"],
  aspect_ratio="1:1",
  image_size="1K"
)

© MemTensor, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in App/memmy-agent/src/skills/image-generation of MemTensor/memmy-agent.

Open the folder on GitHubat commit ee0ed02

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 skillMemTensor/memmy-agent2.1k—~727Automated safety check: PassMIT
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
GPT Image Generation CLIwuyoscar/GPT-Image2-Skill5.6k—~2.5kAutomated safety check: NotesMIT
Openai Image Gentrpc-group/trpc-agent-go1.8k13 repos~843Automated safety check: PassApache-2.0
Imagegentheowenyoung/home1154 repos~4.8kAutomated 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 yesterday
    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.6k GitHub stars~2.5k tokensUpdated 7 days ago
    Media & CreativeAuto-check: notes
  • 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.8k GitHub starsUsed in 13 repos~843 tokens
    Media & CreativeAuto-check passed
  • 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
  • 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 2 days ago
    Media & CreativeAuto-check passed

More from MemTensor/memmy-agent

All 10 skills in this repo
  • DOCX

    MemTensor/memmy-agent

    Create, read, edit, review, redline, comment on, merge, audit, render, and verify .docx Word documents, including layout-sensitive and OOXML-level work.

    2.1k GitHub stars~1.9k tokensUpdated 7 days ago
    Auto-check passed
  • Skill Creator

    MemTensor/memmy-agent

    Create, edit, improve, tidy, review, audit, or restructure memmy-agent skills and SKILL.md files.

    2.1k GitHub stars~944 tokensUpdated 7 days ago
    Auto-check passed
  • Update Setup

    MemTensor/memmy-agent

    One-time setup wizard for the memmy upgrade skill. An agent skill from MemTensor/memmy-agent.

    2.1k GitHub stars~1.3k tokensUpdated 7 days ago
    Auto-check passed
  • Agent Memory Onboarding

    MemTensor/memmy-agent

    On-demand provisioning guide for a Memmy GUI task that fully connects an explicitly named local Agent: discover its active history store, install or remove its rendered Memmy Skill, bootstrap a scan…

    2.1k GitHub stars~4.6k tokensUpdated 7 days ago
    Auto-check passed
  • PPTX

    MemTensor/memmy-agent

    Create, inspect, edit, validate, render, and deliver PowerPoint presentations and templates while preserving OOXML structure and user metadata.

    2.1k GitHub stars~861 tokensUpdated 7 days ago
    Auto-check passed
  • Computer History

    MemTensor/memmy-agent

    Answer questions about what the user recently did on their computer — who contacted them, what they were working on, where they left off — by reading the local Computer History summaries and raw…

    2.1k GitHub stars~947 tokensUpdated 7 days ago
    Auto-check passed

Works with

Questions about Image Generation

What does Image Generation do?

Generate images and iteratively edit saved image artifacts. An agent skill from MemTensor/memmy-agent. Image Generation is an agent skill from MemTensor/memmy-agent. Generate images and iteratively edit saved image artifacts.

When should I use Image Generation?

Image Generation fits situations like: tasks that involve Image generation.

How do I install Image Generation in Claude Code?

Run `npx skills add MemTensor/memmy-agent --skill image-generation -a claude-code`. Or copy the skill folder (App/memmy-agent/src/skills/image-generation in MemTensor/memmy-agent) 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 MemTensor/memmy-agent --skill image-generation -a codex`. Or copy the skill folder (App/memmy-agent/src/skills/image-generation in MemTensor/memmy-agent) 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 MemTensor/memmy-agent --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.

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 no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Image Generation use?

Image Generation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Image Generation use?

About 727 tokens (SKILL.md is roughly 2.9k 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.6k stars), Openai Image Gen (trpc-group/trpc-agent-go, 1.8k stars) and Imagegen (theowenyoung/home, 115 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Image Generation?

MemTensor (a GitHub organization) maintains it in MemTensor/memmy-agent, which has 2,064 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on September 30, 2026.

Source: MemTensor/memmy-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.