gabelul/pixeltamer-gpt-image-skill
pixeltamer
FlaggedGenerate, edit, and compose images with GPT Image 2.6, including transparent PNGs with a real alpha channel. Three backends — OpenAI API key (full feature set), codex CLI on your ChatGPT subscription (agent-driven, no key needed), or the direct ChatGPT image route on the same subscription token (--backend codex-images, PNG-only, opt-in). Four modes — one-shot generate, edit or inpaint an existing image, multi-reference composition (up to 16 inputs blended into one), and multi-image batch with verification. Use when the user asks to make an image, generate a poster, draw a mockup, design an icon or sticker, create an ad creative, build an infographic, blend reference images, edit or inpaint an existing image, or produce a cutout asset with a transparent background — "transparent PNG", "no background", "alpha channel", "works on any background". Not for: stripping the background off an existing image you want to keep (that's rembg or ImageMagick, not a generator); file operations that don't change the picture (compression, format conversion, resizing); reading, describing or OCRing an image; video.
scripts/lib/parse-prompts.mjs
View on GitHubconst HEADING_RE = /^## (\d+)\.\s+(.+?)\s*$/;
const FIELD_RE = /^- \*\*([^:]+):\*\*\s*(.*)$/;
const QUOTE_RE = /^\s*>\s?(.*)$/;
const BAD_HEADING_RE = /^## (?!\d)/;
const FIELD_KEY_MAP = {
'format': 'format',
'native size': 'nativeSize',
'reference to attach': 'reference',
'status': 'status',
};
export function parsePromptsFile(content) {
const lines = content.replace(/\r\n/g, '\n').split('\n');
const entries = [];
let current = null;
for (let i = 0; i < lines.length; i++) {
const line = lines[i];
if (BAD_HEADING_RE.test(line)) {
throw new Error(`Invalid section heading (must be "## N. <path>"): ${line}`);
}
const headingMatch = line.match(HEADING_RE);
if (headingMatch) {
if (current) entries.push(current);
current = {
index: Number(headingMatch[1]),
path: headingMatch[2].trim(),
format: null,
nativeSize: null,
reference: null,
status: null,
prompt: null,
};
continue;
}
if (!current) continue;
const fieldMatch = line.match(FIELD_RE);
if (!fieldMatch) continue;
const rawKey = fieldMatch[1].trim().toLowerCase();
const value = fieldMatch[2].trim();
if (rawKey === 'prompt') {
const promptLines = [];
let j = i + 1;
while (j < lines.length) {
const next = lines[j];
if (HEADING_RE.test(next)) break;
const qm = next.match(QUOTE_RE);
if (qm) {
promptLines.push(qm[1]);
} else if (next.trim() === '' && promptLines.length === 0) {
// skip leading blank between "- **Prompt:**" and first quote line
} else {
break;
}
j++;
}
current.prompt = promptLines.join('\n').trim();
i = j - 1;
continue;
}
const mappedKey = FIELD_KEY_MAP[rawKey];
if (mappedKey) current[mappedKey] = value;
}
if (current) entries.push(current);
return entries;
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |