Community画像github.com

getedgehq/generate-image

OpenAI GPT Image 2 を使って画像を生成します。Codex CLI 経由で ChatGPT Plus サブスクリプションに課金されるため、OpenAI API キーや画像ごとの API 費用は不要です。ユーザーが「画像」「イラスト」「アイコン」「ヒーローグラフィック」「コンセプトアート」などの作成を依頼したときに使用します。

generate-image とは?

このスキルは、OpenAI の GPT Image 2 モデルを使用してテキストプロンプトから画像を生成する機能を提供します。認証は Codex CLI を通じて行われ、ChatGPT Plus サブスクリプションに課金されるため、別途 OpenAI API キーを用意したり画像ごとに API 費用を支払う必要はありません。画像生成スクリプトは `scripts/generate-image.sh` として提供され、プロンプトを引数として渡すことで実行できます。出力先はプロジェクト構造に応じて自動的に `public/images/` または `assets/images/` に決まり、既存ファイルは上書きされずに連番が付与されます。本格的なアセットが必要な場合には `PROMPTING.md` に従って詳細なプロンプトを組み立てることが推奨されます。

対応~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/getedgehq/skills/tree/main/generate-image

Installed? Explore more 画像 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Generate Image

OpenAI GPT Image 2 を介して画像を作成します。認証は、ChatGPT アカウントでログインした Codex CLI を介して行われるため、生成はユーザーの Plus サブスクリプションに含まれます。OpenAI API キーは不要で、画像ごとの個別の API 課金も発生しません。

始める前に

このスキルは OpenAI に直接通信しません。Codex CLI を呼び出します。その CLI がこのマシンにすでにインストールされており、アクティブな Plus サブスクリプションを持つ ChatGPT アカウントにログインしている必要があります。codex --version で確認し、ログインしていない場合は codex login を実行してください。貼り付ける API キーはなく、画像ごとの個別の課金もありません。画像はそのサブスクリプションに課金されます。

ログインした Codex CLI がなければ、ここにあるものは何も機能せず、ファイルを生成する前に最初の呼び出しでスクリプトが失敗します。

クイックスタート

# エージェントがインストールしたこのスキル自身のディレクトリから
./scripts/generate-image.sh "サングラスをかけた柴犬、スタジオ写真"

決定された出力フォルダ(下記参照)に、スラグ化された PNG として保存されます。例: assets/images/sangurasu-o-kaketa-shiba-inu-sutajio-shashin.png

ワークフロー

  1. ユーザーのリクエストを明確な英語のプロンプトに変換します。PROMPTING.md の構築順序とレバーに従ってください(シーン → 被写体 → 詳細 → 不変要素 → 用途)。アセットが重要な場合は、あいまいなリクエストを呼び出す前に具体化してください。ベタな一言をそのまま渡さないでください。
  2. プロンプトを指定してスクリプトを実行します。必要に応じて --out と --name を指定できます。
  3. 保存されたパスをユーザーに報告します。変更が必要な場合は、小さな単一変数のステップで反復し、不変要素を再表明します(PROMPTING.md 参照)。

出力場所

--out が指定されない場合、スクリプトは自動的にフォルダを決定します:

条件ターゲットフォルダ
./public/ が存在する場合(Web/アプリのイニシアチブ)./public/images/
それ以外./assets/images/(なければ作成)

これにより、Web プロジェクト(画像は提供されるために public/ 配下にある必要がある)を尊重しながら、プロジェクト全体で一貫した assets/images/ 規則が確立されます。

オプション

フラグ効果
--out <dir>決定されたデフォルトの代わりにこのディレクトリに書き込む
--out <file>.pngこの正確なファイルパスに書き込む
--name <basename>プロンプトをスラグ化する代わりにこのベース名を使用する

既存のファイルは決して上書きされません。代わりに、スクリプトは -2、-3、... を追加します。

成果物の命名

これらの出力は作業アセットであるため、デフォルトでは短い機能名が付けられます。画像がステークホルダー向けの成果物である場合は、ファイル命名規則に従って明示的に --name を指定してください。例: --name "20260612_Hero Banner_v1"

要件

  • codex CLI がインストールされていること(brew install --cask codex)
  • ChatGPT アカウントでログインしていること: codex login(Plus 以上。画像生成は Free では利用できません)

スクリプトは両方をチェックし、いずれかが欠けている場合は明確なメッセージとともに失敗します。

Individual skills in this repo

This repo contains 18 individual skills — each has its own dedicated page.

getedgehq/agent-evals

Build evals for an AI agent that already does real work. Use when someone asks "how do I know my agent is right", wants to test an agent before trusting it, compare models on cost versus quality, or turn production failures into tests. Walks from first tasks and yes/no verifiers, to isolated environments, to a trace-driven improvement loop.

getedgehq/cli-ux-review

Audit a command-line tool for user-friendliness — clear situation / next-step / options in every output, colour-highlighted runnable commands, no raw jargon, no silent hangs. Invoke for "CLI UX audit", "review my CLI", "is this CLI intuitive", or before any CLI release.

getedgehq/harness-first

Diagnose and fix an unreliable, expensive, or unsafe LLM agent by auditing its harness (golden set, judge, cost caps, data layer, action approvals, tracing) before blaming or swapping the model. Use when someone says an agent is "burning tokens", "hallucinating", "brittle", gives inconsistent answers, asks whether to switch to a cheaper/better model, or wants to ship an agent or prompt change to customers.

getedgehq/http-error-triage

Run before concluding anything from an HTTP error on a third-party API. Separates a real credential/entitlement problem from a CDN or WAF block, a wrong endpoint, or a client-signature ban. Use whenever an API returns 401/403/402/429 and you are about to say "the key is dead", "credits are exhausted", "the plan lacks access", or "we are rate limited".

getedgehq/linkedin-media-prep

Convert, crop, resize, and compress images and videos for optimal LinkedIn upload quality and file size. Use when the user wants to prepare a photo, image, or video for LinkedIn (profile picture, cover photo, post image, article featured image, post video, or video ad), optimize file size for LinkedIn, crop and resize for LinkedIn dimensions, convert HEIC/RAW/PNG/MOV to LinkedIn-ready JPEG or MP4, or mentions LinkedIn media requirements, specs, or limits.

getedgehq/monid

>-

getedgehq/opendraft

An 18-agent pipeline that turns one topic line into a drafted

getedgehq/people-search

Find and rank professional people for recruiting, partnerships, sales, or research from user-provided data, public web sources, an authenticated search session, or a connected provider. Use for people discovery, LinkedIn or Sales Navigator search design, profile-list ranking, or provider filter translation.

getedgehq/rocketlist

Turn a CV into a shortlist of live startup roles from Rocketlist's public job board, including adjacent job titles the person would never have searched for, each with its published salary, the evidence for the fit, and a direct apply link. Use for "find roles I would be a strong fit for", career pivots, remote or VC-backed job hunts, and salary-visible role discovery.

getedgehq/security-audit-checklist

Run a comprehensive security audit across application code, cloud infrastructure, containers, CI/CD pipelines, and infrastructure-as-code. Covers privacy compliance, OWASP basics, secret leakage, API security, IAM misconfigurations, storage exposure, Kubernetes hardening, and network security. Use when the user asks to audit, review, or harden app or cloud security, check for secrets, scan for XSS/SQLi, verify security headers, review Terraform/CloudFormation, audit AWS/GCP/Azure configs, or perform any security-focused review.

getedgehq/shadcn-first

>-

getedgehq/skills

Develop or review a branded long-form YouTube channel using Simon Kaiser's public creator-led approach: audience fit, recurring formats, natural brand integration, Time with Brand, and an organic, paid, and Shorts strategy. Use for channel strategy, format briefs, and pilots.

getedgehq/skills

Build a YouTube strategy, evidence-backed idea slate, and title plus thumbnail package using Paddy Galloway's public method. Use when planning a channel, choosing concepts, or preparing a video before filming.

getedgehq/skills

Build or review a buyer-centered strategic narrative using Andy Raskin's public method. Use for sales or investor deck stories, homepage positioning, keynotes, launch narratives, and why-now messaging.

getedgehq/skills

Turn a product URL, launch brief, or approved script into a production-ready launch video. Use for product reveals, feature announcements, SaaS launches, and narrated product films; not for generic explainers or editing existing footage.

getedgehq/strip-image-ai-metadata

Strip C2PA and AI-generation metadata from images (PNG, JPEG, WebP) to remove "Generated by AI" / "ChatGPT" / "DALL-E" labels that platforms like LinkedIn, Instagram, and X display. Use when the user wants to clean AI-generated images before posting, remove AI attribution from photos, strip C2PA manifests, sanitize image metadata for professional use, or verify whether an image contains C2PA data.

getedgehq/top-down-comms

>-

getedgehq/workplan

Create, update, or close work plans for multi-step tasks. Use when starting refactors, bug lists, feature work, migrations, or any task with 2+ steps. Also use after auto-compaction to re-orient. Triggers: "workplan", "work plan", "create a plan", "what's the plan", "where was I", or when Claude detects

関連スキル