tinysdlc: Skill for Claude Code

.agents/skills/imagegen/SKILL.md

imagegen is a skill for Claude Code, Codex from Minh-Tam-Solution/tinysdlc. It costs 74 tokens per session (2,206 once invoked), scanned A, a copy of imagegen, MIT.

A skill for generating or editing bitmap images through the OpenAI Image API, including illustrations, product images, mockups, backgrounds, and image variants.

In plain words
What is it for?
Use it to generate images, edit or inpaint them, remove or replace backgrounds, create transparent assets, make product shots, or produce batches of variants.
Why use it?
It provides a defined process for creating new visual assets or changing existing ones while keeping prompts and inputs organised.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is Minh-Tam-Solution/tinysdlc's own configuration. It tells Claude Code and Codex how to work on tinysdlc itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tinysdlc configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Minh-Tam-Solution/tinysdlc. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Minh-Tam-Solution/tinysdlc/main/.agents/skills/imagegen/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Minh-Tam-Solution/tinysdlc

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for imagegen

README.md
[![agentmods](https://agentmods.dev/badge/skills/minh-tam-solution/tinysdlc/imagegen/github.svg)](https://agentmods.dev/skills/minh-tam-solution/tinysdlc/imagegen)
Your own site
<a href="https://agentmods.dev/skills/minh-tam-solution/tinysdlc/imagegen"><img src="https://agentmods.dev/badge/skills/minh-tam-solution/tinysdlc/imagegen/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for imagegen

Your own site · 80×15
<a href="https://agentmods.dev/skills/minh-tam-solution/tinysdlc/imagegen"><img src="https://agentmods.dev/badge/skills/minh-tam-solution/tinysdlc/imagegen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,206 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.02206
Opus 5 $0.00037 $0.01103
Sonnet 5 $0.00015 $0.00441
Haiku 4.5 $0.00007 $0.00221

Measured 9d ago against content hash 4da06e7a1fbf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

imagegen 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/image_gen.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

100% identical to imagegen — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/imagegen/SKILL.md · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Image Generation Skill

Generates or edits images for the current project (e.g., website assets, game assets, UI mockups, product mockups, wireframes, logo design, photorealistic images, infographics). Defaults to gpt-image-1.5 and the OpenAI Image API, and prefers the bundled CLI for deterministic, reproducible runs.

When to use

  • Generate a new image (concept art, product shot, cover, website hero)
  • Edit an existing image (inpainting, masked edits, lighting or weather transformations, background replacement, object removal, compositing, transparent background)
  • Batch runs (many prompts, or many variants across prompts)

Decision tree (generate vs edit vs batch)

  • If the user provides an input image (or says “edit/retouch/inpaint/mask/translate/localize/change only X”) → edit
  • Else if the user needs many different prompts/assets → generate-batch
  • Else → generate

Workflow

  1. Decide intent: generate vs edit vs batch (see decision tree above).
  2. Collect inputs up front: prompt(s), exact text (verbatim), constraints/avoid list, and any input image(s)/mask(s). For multi-image edits, label each input by index and role; for edits, list invariants explicitly.
  3. If batch: write a temporary JSONL under tmp/ (one job per line), run once, then delete the JSONL.
  4. Augment prompt into a short labeled spec (structure + constraints) without inventing new creative requirements.
  5. Run the bundled CLI (scripts/image_gen.py) with sensible defaults (see references/cli.md).
  6. For complex edits/generations, inspect outputs (open/view images) and validate: subject, style, composition, text accuracy, and invariants/avoid items.
  7. Iterate: make a single targeted change (prompt or mask), re-run, re-check.
  8. Save/return final outputs and note the final prompt + flags used.

Temp and output conventions

  • Use tmp/imagegen/ for intermediate files (for example JSONL batches); delete when done.
  • Write final artifacts under output/imagegen/ when working in this repo.
  • Use --out or --out-dir to control output paths; keep filenames stable and descriptive.

Read the full file on GitHub · 175 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 9d ago First seen · 175 lines · 74 tokens per session scan A 4da06e7a1fbf

Subscribe to this mod's changes

imagegen is a skill published in the GitHub repository Minh-Tam-Solution/tinysdlc (10 stars, last pushed 6mo ago), licensed MIT. It adds 74 tokens to every session and 2,206 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to imagegen, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

hatch-pet

Create, repair, validate, preview, and package Codex-compatible animated pet spritesheets from character art, screenshots, generated images, or visual references. Use when a user wants to hatch a Codex pet, create a custom animated pet, or build a built-in pet asset with an 8x9 atlas, transparent unused cells…

nexu-io/open-design · 114 tokens

magazine-web-ppt

For marketing and gtm work: bind launches, campaigns, events, and brand plans to growth and pipeline outcomes. Built around the core query "annual-marketing-plan", with GTM strategy lead judgment, buyer-ready proof, and this outcome: approve launch plan, campaign budget, or GTM motion.

nexu-io/open-design · 67 tokens

ve-midnight-editorial

OpenDesign's financial review: runway, burn, and the sustainability plan that keeps the project independent. Built as a decision-grade data & finance deck for board, leadership.

nexu-io/open-design · 40 tokens

ve-terminal-mono

OpenDesign from the CLI: driving the full design workflow with the od command — scripted, composable, agent-ready. Built as a decision-grade AI literacy deck for developers, power users.

nexu-io/open-design · 45 tokens

html-ppt-zhangzara-8-bit-orbit

A gamer's journey building a retro-arcade collection — the obsession, the hunt, and what the machines came to mean. Built as a decision-grade story deck for friends, hobby community.

nexu-io/open-design · 53 tokens

html-ppt-zhangzara-blue-professional

OpenDesign's QBR for the executive committee: what moved, what stalled, and the resource reallocation ask. Built as a decision-grade corporate strategy deck for executive committee.

nexu-io/open-design · 47 tokens