Skip to content
Back to skills

Image Workflow

ASecurity

Generate or edit raster images through OpenAI and save the finished image as a reply attachment.

  • 27 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
ai-agentspythongoapi

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 4 files and shows the line behind each finding

Scanned November 26, 2026

npx -y skills add pymc-labs/daimon --skill image-workflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Image Workflow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Image Workflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pymc-labs-image-workflow/badge)](https://www.skillsdirectory.com/skills/pymc-labs-image-workflow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: image-workflow
description: Generate or edit raster images through OpenAI and save the finished image as a reply attachment.
---

Use the dedicated `image-maker` agent. Obtain missing provider credentials with
`request_agent_key`, exact `key=OPENAI_API_KEY` and the
waiting task. Never accept pasted keys. They mount in the agent's keys file (`scripts/workflow_io.py` finds it);
every user of that agent can use them and spend the provider project's quota.
Do not put shared keys on default Daimon. Prefer an operator-limited provider
project/budget. No unattended routines are added by this skill.

Use OpenAI `gpt-image-2` by default for generation and edits, or explicitly select
`gpt-image-1.5`. Google has retired Imagen in the Gemini API; Gemini requests
are refused before credential lookup or network. There is no automatic provider
fallback. Each invocation produces exactly one bounded PNG.

Run `python3 <this-skill>/scripts/image_workflow.py <request.json>`. Read
[references/requests.md](references/requests.md) for examples. Use Pillow for image
validation (`python3 -m pip install Pillow` if a custom sandbox lacks it); no
provider SDK is required. The script reads only its selected key without sourcing
the mounted file. Do not print keys or write them into request files.

For edits, inspect the reference image using file-handling first and provide its
local path. Download a user-provided attachment with existing authorized file
access before invoking this script; it accepts no remote reference URLs. Reference
files must be regular, non-hidden, non-symlink images under 10 MB and 25 megapixels.

Output is validated and saved in the outputs directory (`output_dir()` in
`scripts/workflow_io.py`) with a unique filename, which attaches to the reply. Inspect the image using file-handling, report its
filename and any limitations, and do not post it again through messaging tools.
The script never overwrites existing outputs or accepts custom output paths.

A timeout or invalid output may still mean a charged provider request. Report
the failure, never automatically repeat it or switch provider. A successful
provider response followed by a save failure is reported distinctly; avoid
claiming an attachment exists until the script returns its filename.

Files in this skill

  • SKILL.md2.2 KB
  • references/requests.md1.4 KB
  • scripts/image_workflow.py4.2 KB
  • scripts/workflow_io.py6.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.