Borrowing it
Nothing to install: this file belongs to RealSeaberry/AutoMCM-Pro. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/RealSeaberry/AutoMCM-Pro/main/.claude/skills/draw-image/SKILL.mdgit clone --depth 1 https://github.com/RealSeaberry/AutoMCM-ProWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/realseaberry/automcm-pro/draw-image)<a href="https://agentmods.dev/skills/realseaberry/automcm-pro/draw-image"><img src="https://agentmods.dev/badge/skills/realseaberry/automcm-pro/draw-image.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high YARA Match · line 51 YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
- medium Rogue Agent · line 35 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Rogue Agent · line 35 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00110 | $0.02925 |
| Opus 5 | $0.00055 | $0.01463 |
| Sonnet 5 | $0.00022 | $0.00585 |
| Haiku 4.5 | $0.00011 | $0.00293 |
Grade A, and why
draw-image scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 283 lines — stays where its author put it; the contents beside it link to each section on GitHub.
draw-image: OpenAI gpt-image-2 图像生成
两种使用路径
| 路径 | 工具 | 是否需要 API Key | 费用 |
|---|---|---|---|
| 路径 A(本 skill 默认) | Claude Code + draw_image.py |
✅ 需要 OPENAI_API_KEY |
按 token 计费(见费用表) |
| 路径 B | OpenAI Codex(含 ChatGPT Plus/Pro 订阅) | ❌ 不需要额外 API Key | 订阅内 usage limit 扣减 |
本 skill 属于路径 A,设计用于 Claude Code 和 AutoMCM-Pro agent。
若你使用 OpenAI Codex(桌面 app / CLI),见下方"在 Codex 中使用"章节。
前置条件(路径 A — Claude Code)
第一步:申请 OpenAI API Key
- 访问 platform.openai.com/api-keys(需科学上网)
- 注册/登录 OpenAI 账号(需邮箱 + 手机号验证)
- 点击 "Create new secret key" → 复制
sk-proj-...
⚠️ 关闭弹窗后无法再次查看,务必立即保存 - 去 Billing 充值(最低 $5,2025 年起无免费额度)
第二步:组织验证(GPT Image 系列必须)
访问 platform.openai.com/settings/organization/general
完成"Organization Verification",否则调用 GPT Image 模型会返回 403。
第三步:配置到环境
# 临时(当前终端有效)
export OPENAI_API_KEY=sk-proj-xxxxxxxxxxxxxxxx
# 永久(写入 shell 配置)
echo 'export OPENAI_API_KEY=sk-proj-xxxxxxxxxxxxxxxx' >> ~/.bashrc
source ~/.bashrc
# 验证
echo $OPENAI_API_KEY | head -c 15
⚠️ 切勿把 API Key 写入代码文件或 git commit,
.env已在.gitignore中排除。
第四步:安装依赖
pip install "openai>=1.0"
python -c "import openai; print(openai.__version__)"
在 OpenAI Codex 中使用(路径 B,无需 API Key)
OpenAI Codex(ChatGPT Plus $20/月 及以上订阅已包含)内置 gpt-image-2 支持,
不消耗 API 额度,用自然语言或 $imagegen 关键字直接触发:
# Codex CLI 中自然语言触发
Generate a technical flowchart showing the AutoMCM pipeline steps
# 显式触发(更可靠)
$imagegen Clean flowchart: 建模流程 from 读取题目 to 生成PDF, white background
订阅内 usage limit 耗尽后,设置 OPENAI_API_KEY 可自动切换到 API 计费:
export OPENAI_API_KEY=sk-proj-... # Codex CLI 检测到此变量后切换为 API 定价
Agent 调用前置检查(必须执行)
在生成任何图像前,先运行 --check:
python scripts/draw_image.py --check
| 输出 | 含义 | Agent 应该做什么 |
|---|---|---|
method=api_key available=True |
OPENAI_API_KEY 已设置 | ✅ 直接调用 --prompt 生成 |
method=codex_oauth available=True |
Codex 已登录,但脚本不能直接用 OAuth | ⚡ 改用 Codex CLI:$imagegen <prompt> |
method=none available=False(退出码 2) |
无任何认证 | ⏭ 跳过图像生成;在 LaTeX 中留 \missingfigure{描述} 占位,继续流水线 |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 283 lines · 110 tokens per session scan A f08dd71658f5
draw-image is a skill published in the GitHub repository RealSeaberry/AutoMCM-Pro (227 stars, last pushed 14d ago), licensed MIT. It adds 110 tokens to every session and 2,925 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
webgl-holographic-foil
A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.
general-video
Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
html-ppt-taste-brutalist
16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).
diagnostic-stem-delivery
Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.
chengfeng-check-updates
An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.