Hermes Codex Imagegen Skill
madrobotnet/hermes-codex-imagegen-skill
Hermes Agent skill that generates images through a logged-in Codex CLI using ChatGPT OAuth
Hermes Codex Imagegen Skill is a Hermes Agent skill that generates images by launching a separate Codex CLI process authenticated with ChatGPT or OpenAI Codex OAuth. It serves as a fallback when Hermes's native image backend is unavailable.
What Hermes Codex Imagegen Skill does
Hermes Codex Imagegen Skill is a Hermes Agent skill for generating images through a separate Codex CLI process that is logged in with ChatGPT or OpenAI Codex OAuth. It exists for the case where Hermes's native image backend is unavailable but codex is installed and already authenticated. The skill runs codex exec in its own process, asks Codex to use its built-in imagegen skill, and captures the Codex session id.
Afterwards it re-verifies the real PNG output under ~/.codex/generated_images/ from the Hermes side, and the README warns that bwrap or sandbox inspection errors do not always mean generation failed. It is a Codex CLI workaround, not an API integration: it does not rewire Hermes's native image_generate tool, does not call the OpenAI Images API, and still needs a working Codex login. The README suggests copying a verified file into your project rather than leaving it under .codex. The repository holds a single SKILL.md with English and Korean documentation, and the skill slug is codex-imagegen-via-chatgpt-oauth.
Key features
- Runs codex exec in a separate process instead of touching Hermes's image backend
- Asks Codex to use its built-in imagegen skill
- Captures the Codex session id
- Re-verifies the generated PNG under ~/.codex/generated_images/
- Documents that bwrap or sandbox errors do not always mean the image failed
- English and Korean documentation
When to use it
- Generating an image from Hermes when no native image backend is configured
- Reusing an existing ChatGPT subscription login for image generation instead of a separate API key
- Checking that a Codex-generated image file exists before copying it into a project
Who it is for: Hermes Agent users who already have a working Codex CLI login and want image generation without setting up a separate image API.
How it fits with Hermes Agent
Built as a Hermes Agent skill (SKILL.md) that shells out to the Codex CLI and leaves Hermes's native image_generate tool unchanged.
Requirements: Hermes Agent, Codex CLI installed and on PATH, an active ChatGPT or OpenAI Codex OAuth login, and a Linux or macOS shell where codex exec can run
Note: It is a workaround that depends on a separate, logged-in Codex CLI rather than an integration with Hermes's native image backend.
FAQ
What is Hermes Codex Imagegen Skill?
Hermes Codex Imagegen Skill is a Hermes Agent skill that generates images through a separate, logged-in Codex CLI process. It is a CLI-based fallback for users whose Hermes image backend is unavailable.
Does Hermes Codex Imagegen Skill replace Hermes's image_generate tool?
No. The README says it does not rewire the native image_generate tool and does not call the OpenAI Images API. It launches codex exec separately and verifies the PNG output itself.
What do I need to run Hermes Codex Imagegen Skill?
You need Hermes Agent, the Codex CLI on your PATH, an active ChatGPT or OpenAI Codex OAuth login, and a Linux or macOS shell where codex exec runs.
Similar skills for Hermes Agent
All skillsHermes and OpenClaw skill that lets you chat with your saved X bookmarks, stored locally in SQLite
krumjahn Threads Growth SkillHermes Agent skill that learns from your Threads Insights to draft and score better posts
magnus919 SkillOptHermes Agent skill that optimizes other skills with a kanban pipeline and held-out validation gates
ilang-ai iLang OpenClawText-only skills and OpenClaw plugins from iLang, aimed at OpenClaw, Hermes and other AI agents
xiaohei-info Oh My Agent SkillsInstallable Hermes-compatible skills and workflow patterns for common agent failures
Igloo302 Interest RadarPlatform-agnostic skill that judges how relevant a link or piece of content is to you
Related guides: What is Hermes Agent? · SOUL.md for Hermes Agent: what it is and how to write one