nook-image2-gpt SKILL.md skillA
nook-image2-gpt from captain-nook/nook_skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add captain-nook/nook_skills/nook-image2-gpt@git:20260615.2556268Pins git:20260615.2556268 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- captain-nook/nook_skills
- Path
nook-image2-gpt/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260615.2556268, committed Jun 15, 2026
- Size
- 3,336 bytes
- Repository stars
- 16
- License
- MIT
Atomic image generation skill backed by the nook-image2-gpt MCP server. Use when Codex needs stable text-to-image or image-to-image generation through submit_image_task and get_image_result, especially as a low-level image provider for larger skills such as nook-poster.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# nook-image2-gpt
异步任务驱动的图片生成 MCP 工具。通过 `submit_image_task` + `get_image_result` 提供文生图和图生图能力。
**MCP server 名称:`nook-image2-gpt`**
**提供 tool:`submit_image_task`、`get_image_result`**
---
## 1. 部署(agent 执行,用户零操作)
1. 克隆仓库到本地
2. 向用户索取中转站 API Key
3. 在本目录执行:`node setup.js`,按提示输入 API Key 和中转站 URL
4. 提示用户重启 agent 客户端
脚本自动完成:安装依赖 + 写入 Agent MCP 配置。
---
## 2. AI 使用说明
> 以下内容供 AI 阅读。
### 2.1 MCP 依赖
本 skill 依赖 **`nook-image2-gpt` MCP server**。
调用出图时,**必须使用 `submit_image_task` 和 `get_image_result` 两个 tool**,不得自行编写代码或调用其他 API。
若 tool 列表中没有这两个名字,说明 MCP server 未启动,提示用户重启 agent。
### 2.2 submit_image_task(提交任务)
| 参数 | 必填 | 默认 | 说明 |
|---|---|---|---|
| `prompt` | 是 | — | 提示词,越短出图越快 |
| `size` | 否 | `1024x1024` | 见下方尺寸表 |
| `n` | 否 | 1 | 生成数量(1-4,图生图推荐 1) |
| `mode` | 否 | `text_to_image` | `text_to_image` 或 `image_to_image` |
| `input_image_path` | 图生图时必填 | — | 源图片绝对路径 |
**返回:** `{ task_id, status: "queued", estimated_wait }`
提交后立即返回,不阻塞。后台 worker 异步执行。
### 2.3 get_image_result(查询结果)
| 参数 | 必填 | 说明 |
|---|---|---|
| `task_id` | 是 | `submit_image_task` 返回的 ID |
**返回:**
- `status`: `queued` / `processing` / `succeeded` / `failed`
- `image_paths`: 成功时的图片路径数组
- `error`: 失败时的错误信息
…Read the whole file at its exact version.
How to install
mdr add captain-nook/nook_skills/nook-image2-gpt@sha256:990303bb2da3c707The line at the top of this page pins the label git:20260615.2556268, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_o5a3ydqichqjiw63)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jun 15, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3336 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
captain-nook/nook_skills · 16 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_o5a3ydqichqjiw63 GET https://markdownregistry.com/api/v1/resolve?ref=captain-nook/nook_skills/nook-image2-gpt GET https://markdownregistry.com/api/v1/blob/990303bb2da3c7079d6ea663254b12e61dba18a53fc2dbff04be418f1b90c462
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.