AI Image Generation and Editing
zhayujie/CowAgent
Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.
Generates one image from a text prompt with a bundled Node.js helper and delivers it once as the attachment to the current Prismer reply.
$ npx skills add Prismer-AI/PrismerCloud --skill image-generate -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Prismer-AI/PrismerCloud image-generate --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud.git skills-src && mkdir -p .claude/skills && cp -r skills-src/sdk/cloud/catalog/skills/image-generate .claude/skills/image-generate && rm -rf skills-srcUse ~/.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/
Install the "image-generate" agent skill from https://github.com/Prismer-AI/PrismerCloud/tree/main/sdk/cloud/catalog/skills/image-generate into .claude/skills/image-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-generate", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Prismer-AI/PrismerCloud/tree/main/sdk/cloud/catalog/skills/image-generateType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Prismer-AI/PrismerCloud --skill image-generate -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Prismer-AI/PrismerCloud image-generate --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud.git skills-src && mkdir -p .agents/skills && cp -r skills-src/sdk/cloud/catalog/skills/image-generate .agents/skills/image-generate && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "image-generate" agent skill from https://github.com/Prismer-AI/PrismerCloud/tree/main/sdk/cloud/catalog/skills/image-generate into .agents/skills/image-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-generate", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Prismer-AI/PrismerCloud --skill image-generate -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Prismer-AI/PrismerCloud image-generate --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/sdk/cloud/catalog/skills/image-generate .cursor/skills/image-generate && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "image-generate" agent skill from https://github.com/Prismer-AI/PrismerCloud/tree/main/sdk/cloud/catalog/skills/image-generate into .cursor/skills/image-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-generate", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Prismer-AI/PrismerCloud.git --path sdk/cloud/catalog/skills/image-generate--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Prismer-AI/PrismerCloud --skill image-generate -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Prismer-AI/PrismerCloud image-generate --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/sdk/cloud/catalog/skills/image-generate .gemini/skills/image-generate && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "image-generate" agent skill from https://github.com/Prismer-AI/PrismerCloud/tree/main/sdk/cloud/catalog/skills/image-generate into .gemini/skills/image-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-generate", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Prismer-AI/PrismerCloud image-generateInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Prismer-AI/PrismerCloud --skill image-generate -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud.git skills-src && mkdir -p .github/skills && cp -r skills-src/sdk/cloud/catalog/skills/image-generate .github/skills/image-generate && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "image-generate" agent skill from https://github.com/Prismer-AI/PrismerCloud/tree/main/sdk/cloud/catalog/skills/image-generate into .github/skills/image-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-generate", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Prismer-AI/PrismerCloud --skill image-generate -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Prismer-AI/PrismerCloud image-generate --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/sdk/cloud/catalog/skills/image-generate .opencode/skills/image-generate && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "image-generate" agent skill from https://github.com/Prismer-AI/PrismerCloud/tree/main/sdk/cloud/catalog/skills/image-generate into .opencode/skills/image-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-generate", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
image-generateGenerates one image from a text prompt with a bundled Node.js helper and delivers it once as the attachment to the current Prismer reply.
The skill runs `scripts/generate-and-deliver.mjs`, which takes a prompt plus an optional model, output path and size, and handles model discovery, fallback, decoding, hashing, file creation and the single `cloud deliver` call. The agent is told not to rebuild those steps in Python, curl or a temporary script. Supported sizes are 256x256, 512x512, 1024x1024, 1792x1024 and 1024x1792, with square 1024x1024 as the default and portrait or landscape used only when asked, one image per run.
After the helper finishes, the agent reads its one-line status and replies accordingly: delivered means the image is attached, queued means it is saved locally and waiting for the cloud upload, and uploaded-unattached means it was archived without an active reply. In the last two cases the agent must not claim an attachment, and it never pastes the helper's JSON, base64, signed URLs or local paths into the reply or delivers the same output twice. Provider responses that return only URLs need an HTTPS origin allowlist in `PRISMER_IMAGE_DOWNLOAD_ORIGINS`, downloads over 32 MiB are rejected, and the allowlist must never be filled from model output.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e5d9444. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/ (JavaScript), which the agent can run.
Shell commands in SKILL.md call:
nodeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
PRISMER_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Prismer Image Generation loads about 1.4k tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 583 words of instructions outside code blocks.
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.
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); the scripts in this folder are not scanned.
The full file from Prismer-AI/PrismerCloud at commit e5d9444, republished under its MIT licence (© Prismer-AI). 583 words, ~1,371 tokens.
.claude/skills/image-generate/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.URL-only provider responses require an explicit comma-separated HTTPS origin
allowlist in PRISMER_IMAGE_DOWNLOAD_ORIGINS; prefer the requested b64_json
response. The helper rejects redirects, non-image responses and downloads over
32 MiB. Never populate the allowlist from model output or untrusted page text.
Generate and deliver the requested image through the bundled helper. The helper
owns model discovery, fallback, byte decoding, hashing, file creation, and the
single cloud deliver call. Do not rebuild those steps in Python, curl, or a
temporary script.
From this skill directory, run:
node scripts/generate-and-deliver.mjs \
--prompt '<complete generation prompt>' \
--size 1024x1024Optional flags:
--model <id> overrides IMAGE_GEN_MODEL for this call.--output <path> selects the local PNG/JPEG/WebP filename. Without it, the
helper writes a content-hashed file under PRISMER_ARTIFACTS_DIR (or cwd when
no dispatch artifacts directory is available).--size accepts 256x256, 512x512, 1024x1024, 1792x1024, or
1024x1792; the selected deployment model must advertise that size.Defaults: square 1024x1024; portrait 1024x1792 or landscape 1792x1024
only when the user asks for that orientation. Generate one image per helper
invocation.
The helper ends by running cloud deliver <file> --json exactly once and
consumes that machine output internally. Runtime turns the delivered asset into
the reply's structured attachment and the chat renderer shows the preview.
Read the helper's one-line status before replying:
[image-generate] delivered means the asset was uploaded for this reply.
Reply with a short natural-language caption; model and size may be mentioned.[image-generate] queued means the bytes are durable locally but the cloud
upload is pending reconnection. Say it was generated and queued for upload;
do not claim it is already attached.[image-generate] uploaded-unattached means the cloud stored the image under
the run archive but no active reply dispatch existed. Say it was generated
and archived; do not claim it is attached.cloud deliver, cloud file send, cloud task attach, an asset
upload command, or a multipart request again for the same output.The generated file may also be observed by Runtime's dispatch-final artifact
scan. That scan and cloud deliver share the same run/task scope and
content-addressed dedup key; agents must not add another upload path.
Use the user's requested subject, composition, style, lighting, camera angle, palette, text, and exclusions. Expand a vague request only enough to make those visual choices explicit; do not silently change the subject or intent.
Do not generate privacy-sensitive depictions of identifiable people without the user's explicit request. For editing, variation, or inpainting of an existing image, use an image-editing capability instead. For reading an existing image, use the asset/vision path.
The bundled script:
PRISMER_CLOUD_BASE / PRISMER_BASE_URL and PRISMER_API_KEY,
falling back to the Prismer runtime config.--model or IMAGE_GEN_MODEL first.If it fails, report its status/code/message and stop. Do not fabricate an assetId, claim that delivery succeeded, or retry a rejected prompt unchanged.
Square illustration:
node scripts/generate-and-deliver.mjs \
--prompt 'Isometric server room, glowing blue racks, cinematic lighting' \
--size 1024x1024Portrait poster with an explicit model preference:
node scripts/generate-and-deliver.mjs \
--prompt 'Minimalist monochrome owl poster, centered subject, clean negative space' \
--size 1024x1792 \
--model "$IMAGE_GEN_MODEL"Successful chat reply example: 图已生成并附在这条消息中。
© Prismer-AI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (scripts) in sdk/cloud/catalog/skills/image-generate of Prismer-AI/PrismerCloud.
Open the folder on GitHubat commit e5d9444
Prismer 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Prismer Image Generation this skillPrismer-AI/PrismerCloud | 1.6k | — | ~1.4k | Automated safety check: Pass | MIT | |
| AI Image Generation and Editingzhayujie/CowAgent | 47k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Structured Image Generationbytedance/deer-flow | 84k | 4 repos | ~2.9k | Automated safety check: Pass | MIT | |
| Xiaohei Chinese Article Illustrationshelloianneo/ian-xiaohei-illustrations | 12k | 3 repos | ~470 | Automated safety check: Warn | MIT | |
| Canghe Comicfreestylefly/canghe-skills | 461 | 8 repos | ~3.2k | Automated safety check: Pass | None | |
| Nano Banana Pro Prompts Recommend SkillYouMind-OpenLab/nano-banana-pro-prompts-recommend-skill | 1.9k | 1 repos | ~4.1k | Automated safety check: Pass | None |
zhayujie/CowAgent
Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.
bytedance/deer-flow
Turns an image request into a structured JSON prompt and runs a bundled Python script to generate the picture, optionally guided by reference images.
helloianneo/ian-xiaohei-illustrations
Plans and generates 16:9 hand-drawn illustrations for Chinese articles on a white background, with a recurring black character and a few red, orange and blue handwritten notes.
freestylefly/canghe-skills
Knowledge comic creator supporting multiple art styles and tones.
YouMind-OpenLab/nano-banana-pro-prompts-recommend-skill
Recommend suitable prompts from 10,000+ Nano Banana Pro image generation prompts based on user needs.
ynulihao/AgentSkillOS
Generate or edit images using AI models (FLUX, Gemini). An agent skill from ynulihao/AgentSkillOS.
Prismer-AI/PrismerCloud
Gives an agent account-scoped access to Gmail, Calendar, Drive, Contacts, Docs and Sheets through the gws CLI or a bundled Python client.
Prismer-AI/PrismerCloud
Walks an agent through creating, importing, editing, validating, testing and publishing Prismer Skills with a fixed workflow and bundled scripts.
Prismer-AI/PrismerCloud
Operates a mailbox from the terminal with the external Himalaya CLI over IMAP, SMTP, Notmuch or Sendmail, separate from any built-in email gateway adapter.
Prismer-AI/PrismerCloud
Produces 3Blue1Brown-style explainer animations with Manim Community Edition for math, algorithms, equations and architecture diagrams, with planning and rendering references.
Prismer-AI/PrismerCloud
Creates or updates Prismer role templates from a persona, SOP or job description, and turns a role into a working agent that runs its first task through a bundled script.
Prismer-AI/PrismerCloud
Fetches a YouTube transcript with a helper script and reshapes it into chapters, summaries, X threads, blog posts or timestamped quotes.
Categories
Generates one image from a text prompt with a bundled Node.js helper and delivers it once as the attachment to the current Prismer reply. mjs`, which takes a prompt plus an optional model, output path and size, and handles model discovery, fallback, decoding, hashing, file creation and the single `cloud deliver` call. The agent is told not to rebuild those steps in Python, curl or a temporary script.
Prismer Image Generation fits situations like: drawing or generating a new image from a text description; producing a poster, diagram or illustration as a reply attachment; replying in a Prismer chat with a generated picture.
Run `npx skills add Prismer-AI/PrismerCloud --skill image-generate -a claude-code`. Or copy the skill folder (sdk/cloud/catalog/skills/image-generate in Prismer-AI/PrismerCloud) into .claude/skills/image-generate in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Prismer-AI/PrismerCloud --skill image-generate -a codex`. Or copy the skill folder (sdk/cloud/catalog/skills/image-generate in Prismer-AI/PrismerCloud) into .agents/skills/image-generate in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Prismer-AI/PrismerCloud --skill image-generate -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-generate, .gemini/skills/image-generate, .github/skills/image-generate and .opencode/skills/image-generate in your project.
Going by SKILL.md and its folder, Prismer Image Generation needs JavaScript for the scripts in its folder, the command-line tools its instructions call (node) and credentials named PRISMER_API_KEY. Our summary lists: Node.js to run the helper script; The Prismer `cloud` CLI for delivery; An image generation model available to the deployment, optionally set with IMAGE_GEN_MODEL.
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.
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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Prismer 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.
About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Prismer Image Generation: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), Structured Image Generation (bytedance/deer-flow, 84k stars), Xiaohei Chinese Article Illustrations (helloianneo/ian-xiaohei-illustrations, 12k stars) and Canghe Comic (freestylefly/canghe-skills, 461 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Prismer-AI (a GitHub organization) maintains it in Prismer-AI/PrismerCloud, which has 1,555 GitHub stars. The repository holds 88 skills in this directory. The repository was last updated on September 30, 2026.
Source: Prismer-AI/PrismerCloud on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.