生圖技能安裝(Claude Code 版)

SkillMedia

Generates images from text prompts using OpenAI's image model after installing an API-key setup.

Available today. Use it from your connected AI after setup.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the 生圖技能安裝(Claude Code 版) skill

About this skill

Claude Code skill that installs gpt-image-2 image generation. Loads when you say "安裝生圖", "畫圖", or "生圖".

What this skill tells your AI

The instructions your AI receives, as published by mathruffian-dot/claude-code-lazy-packs in skills/09-draw/SKILL.md and read by ahel’s review.

前置需求

  1. OpenAI API Key:https://platform.openai.com/api-keys
  2. Organization Individual 驗證:platform.openai.com/settings/organization/general
  3. Billing 儲值(最低 US$5):platform.openai.com → Billing

安裝

1. 安裝 Python openai 套件

pip install openai

2. 儲存 API Key

# 建立 ~/.openai.env
echo "OPENAI_API_KEY=sk-proj-你的key" > ~/.openai.env

3. 安裝 draw skill

npx skills add mathruffian-dot/claude-code-lazy-packs --skill 09-draw -g -y

確認 ~/.claude/skills/draw/draw.py 或 ~/.claude/skills/09-draw/draw.py 存在;不要從 OpenCode 的 ~/.config/opencode/skills/ 混用。

4. 測試

python ~/.claude/skills/draw/draw.py "一隻橘貓坐在窗邊,水彩風格" --name test --quality low

品質與費用

等級適用
low99% 情境(預設)
mediumlow 明顯不夠時
high印刷品

實際費用以 OpenAI 官方 pricing 為準,不在 skill 裡寫死金額。

安裝後在任何專案對 Claude 說「畫一張 XX」就會自動生圖。

回報:API key 狀態、draw skill 已安裝、測試生圖結果。

Signals

GitHub stars
251
Forks
114
Last commit
Sep 2026

ahel review

  • K1binfo
    installs-packages

Automated review, not a security audit. Ruleset v1+k2.

Advanced
Item type
skill
Key
cc-draw
Source
github.com/mathruffian-dot/claude-code-lazy-packs