Skip to content
Back to skills

Gpt Image Cli

ASecurity

"Use GPT-Image2-Skill and the gpt-image-cli package for OpenAI GPT

  • 247 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 8, 2026
toolspythongobashapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill gpt-image-cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gpt Image Cli?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gpt Image Cli
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-gpt-image-cli/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-gpt-image-cli)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gpt-image-cli
description: "Use GPT-Image2-Skill and the gpt-image-cli package for OpenAI GPT
  Image 2 CLI/API workflows, prompt-gallery guidance, and repository
  maintenance."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# gpt-image-cli

Use this repo skill when a task names GPT-Image2-Skill, `gpt-image-cli`, `gpt-image`, GPT Image 2 / `gpt-image-2`, OpenAI image generation/editing, image prompt galleries, or maintenance of this package's CLI/agent-skill surfaces.

This skill is a **self-contained operating guide** for the repo. It does not import itself into any live router, does not export to Codex/Claude, and does not run billable OpenAI Images API calls by default.

## Start with the task route

| User task | Read |
|---|---|
| Build, preflight, or troubleshoot `gpt-image` commands; map CLI flags to OpenAI SDK calls; handle reference edits, masks, output files, formats, size, quality, or exit codes | [`sub-skills/cli-and-api/SKILL.md`](sub-skills/cli-and-api/SKILL.md) |
| Choose/adapt gallery prompts; create prompt skeletons for research figures, UI mockups, posters, typography, photography, anime/game/product styles, diagrams, or edit instructions | [`sub-skills/prompt-gallery/SKILL.md`](sub-skills/prompt-gallery/SKILL.md) |
| Edit the repository itself: add gallery entries, update README/docs/plugin metadata, change CLI flags, review PR readiness, or keep public mirrors aligned | [`sub-skills/repo-maintenance/SKILL.md`](sub-skills/repo-maintenance/SKILL.md) |

## Package facts

- Distribution/package name: `gpt-image-cli`.
- Import package: `gpt_image_cli`.
- Console script: `gpt-image`.
- Python requirement: Python 3.11 or newer.
- Runtime dependencies: `openai` and `python-dotenv`.
- Current verified package version for this skill: `0.2.0`.
- Default model in the CLI: `gpt-image-2`.

Minimal import and CLI checks:

```bash
python - <<'PY'
import gpt_image_cli
from gpt_image_cli import cli
print(cli.DEFAULT_MODEL)
print(cli.resolve_size("portrait"))
PY

gpt-image --help
```

If the package is not installed, install from the public package source for the target environment, then re-run `gpt-image --help`. Do not create or overwrite API-key files during setup.

## Safety and cost boundary

Real generation or edit calls require `OPENAI_API_KEY`, network access, and may bill the user's OpenAI account. Ask before running real API calls unless the user has already made the execution request and accepted the credential/cost boundary. Never print secret values. For dry-run checks, use [`scripts/check_install.py`](scripts/check_install.py) and the CLI sub-skill helper instead of calling the API.

## Shared references

- [`references/troubleshooting.md`](references/troubleshooting.md): cross-cutting installation, credential, billing, package, and router issues.
- [`references/repo-provenance.md`](references/repo-provenance.md): source snapshot used to generate this skill; read before deciding whether to refresh it.
- [`references/repo-routing-metadata.json`](references/repo-routing-metadata.json): structured scenario metadata for a future managed repo-skill import.

## Shared script

- [`scripts/check_install.py`](scripts/check_install.py): safe no-network package/CLI inspection; use it before deeper CLI/API troubleshooting or after installing the package.

## Non-goals

- Do not use this skill to bypass a host runtime's native image-generation tool when the user explicitly wants that native path.
- Do not run full image generation/editing as verification; use help, parser, import, and file-validation checks unless the user requests live API execution.
- Do not import this generated repo skill automatically; this production run was requested with **not import**.

Files in this skill

  • SKILL.md3.7 KB
  • references/repo-provenance.md2.7 KB
  • references/repo-routing-metadata.json423 B
  • references/troubleshooting.md3.3 KB
  • scripts/check_install.py4.8 KB
  • sub-skills/cli-and-api/SKILL.md4.2 KB
  • sub-skills/cli-and-api/references/api-reference.md5.7 KB
  • sub-skills/cli-and-api/references/cli-reference.md6.8 KB
  • sub-skills/cli-and-api/references/troubleshooting.md5.2 KB
  • sub-skills/cli-and-api/scripts/gpt_image_cli_helper.py11.4 KB
  • sub-skills/prompt-gallery/SKILL.md3.7 KB
  • sub-skills/prompt-gallery/references/gallery-catalog.md10.2 KB
  • sub-skills/prompt-gallery/references/prompt-craft.md10.2 KB
  • sub-skills/prompt-gallery/references/troubleshooting.md5.6 KB
  • sub-skills/prompt-gallery/scripts/select_gallery_categories.py16 KB
  • sub-skills/repo-maintenance/SKILL.md4.6 KB
  • sub-skills/repo-maintenance/references/contributor-workflows.md6 KB
  • sub-skills/repo-maintenance/references/repository-layout.md4.8 KB
  • sub-skills/repo-maintenance/references/troubleshooting.md5.1 KB
  • sub-skills/repo-maintenance/scripts/check_repo_content.py17.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.