codex-imagegen/SKILL.md
Use only on the Codex CLI for native image generation or image editing without an API key. Save final PNG files under ~/.cli-jaw/uploads, report web-ready absolute-path markdown, and send to Telegram or Discord only when explicitly requested.
npx skillsauth add lidge-jun/cli-jaw-skills codex-imagegenInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use Codex's native image-generation capability. This skill is separate from the
API-based imagegen skill and must never fall back to that workflow.
Confirm the assigned runtime CLI from the employee/runtime context.
If the CLI is not codex, stop and report exactly:
precondition failed: not codex - codex-imagegen requires Codex native image generation
Do not re-dispatch, call another image skill, or ask for an API key.
If Codex does not expose native image generation in the current session, stop
and report precondition failed: codex native image generation unavailable.
Derive a short lowercase ASCII kebab-case slug from the subject.
Use a local timestamp in YYYYMMDD-HHMMSS form.
Ensure the default output directory exists:
~/.cli-jaw/uploads
If CLI_JAW_HOME is explicitly set for this runtime, use its uploads
directory instead so the running server and the output path share one JAW_HOME.
Set the final output path to:
~/.cli-jaw/uploads/<slug>-<timestamp>.png
Perform the user's image generation or edit directly with Codex's native
image-generation capability. No API key, Python image script, OpenAI SDK, or
skills_ref/imagegen workflow is required.
Materialize the final artifact at the output path and verify that the file exists and is a non-empty PNG before reporting success.
For an edit, preserve every user-named invariant and inspect the final result before reporting it.
Unless direct channel delivery was explicitly requested and completed, the final answer must contain the expanded absolute path in Markdown image syntax:

Do not use ~, a relative path, file://, a remote URL, or a data URL in this
Markdown. The absolute local path is the cli-jaw web inlay trigger.
Call POST /api/channel/send only when the user explicitly asks to send the
image to Telegram, Discord, or both. Use the final absolute path:
{
"channel": "telegram",
"type": "photo",
"file_path": "/absolute/path/to/.cli-jaw/uploads/<slug>-<timestamp>.png",
"caption": "Optional concise caption"
}
For Discord, send the same shape with "channel": "discord". If both channels
were requested, make two calls, one per channel. Do not use channel: "active"
as a substitute for an explicit two-channel request.
A request that merely originated in Telegram or Discord is not permission to make an extra direct API call. The host may relay the normal final Markdown itself.
Choose exactly one final reporting mode:
Saved: <absolute path> and the channel names that succeeded.Never both call /api/channel/send and leave the same image as  in
the final answer. If a channel call fails, report the failed channel and error;
do not claim delivery.
OPENAI_API_KEY.scripts/image_gen.py or the API-based imagegen skill.tools
Ranked repository structure map via `cli-jaw map`. Use for codebase overview, structure map, symbol overview, unfamiliar codebase exploration, architecture orientation. Triggers: repo map, structure map, codebase overview, 와꾸, project structure, unfamiliar code.
tools
cli-jaw Design workspace: create, preview, run, and export design pages from the right sidebar. Covers panel UX, direct-write workflow, artifact lifecycle, wireframe generation, design system, and Open Design adapter.
development
MUST USE for infrastructure and delivery work — container builds, deploy pipelines, Kubernetes, Infrastructure as Code, SRE foundations, edge/serverless, ML infrastructure. Triggers: Dockerfile, K8s manifests, CI/CD pipeline, Terraform/IaC, release/deploy, devops/infra/deploy or release_cd task_tags.
tools
Unified search hub. Route any web/real-time/X lookup through a 4-tier escalation: built-in web search → cli-jaw browser CDP → progrok Grok OAuth → web-ai (Grok Expert / GPT Pro). Use for: search, 검색, web search, latest news, real-time info, X/Twitter, fact lookup, deep research.