image_gen AGENTS.md

Repository instructions for an image-generation plugin that creates article cover images and illustrations, with a separate worklog process for tracking tasks.

In plain words
What is it for?
Generating cover and in-article images, choosing or installing image-generation backends, running tests, and recording work through WikiTicket SDD.
Why use it?
They define which image tools to use, require real PNG output, and prevent incorrect image files or manual changes to work logs.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/spillwavesolutions/image_gen/agents-md
Clone the repo
git clone --depth 1 https://github.com/SpillwaveSolutions/image_gen

Made for: Codex, OpenCode.

Per session 190 This file is loaded in full into every session.
When invoked 190 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00190 $0.00190
Opus 5 $0.00095 $0.00095
Sonnet 5 $0.00038 $0.00038
Haiku 4.5 $0.00019 $0.00019

Measured 2d ago against content hash 4a0b92e88fa5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

image_gen AGENTS.md 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 2d 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.

AGENTS.md · 19 lines

What it actually says

image-gen

Article cover and in-article image plugin.

  • Not the diagram renderer. Mermaid / PlantUML belongs in imagen-diagrams.
  • Backend auto: Imagen, then grok-img, then Codex agent. --engine-hint explicitly selects one. grok-img and Codex must write the PNG or fail closed.
  • Brace policy is per backend. Never copy the wrong escape.
  • Install latest gemini-imagen with skills/image-gen/scripts/install_imagen.py.
  • Default model is Nano Banana 2 (gemini-3.1-flash-image). Covers use Nano Banana Pro.
  • Never invent a PNG.

WikiTicket SDD (worklog)

Track work with WikiTicket SDD. Never hand-edit .work/*.jsonl.

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. 2d ago First seen · 19 lines · 190 tokens per session scan A 4a0b92e88fa5

Subscribe to this mod's changes

image_gen AGENTS.md is an instructions file published in the GitHub repository SpillwaveSolutions/image_gen (2 stars, last pushed 4d ago), licensed MIT. It adds 190 tokens to every session, about $0.0010 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-31.

Related

Other instructions, from other repositories

banana-claude CLAUDE.md

Instructions for AgriciDaniel/banana-claude, covering banana claude development contract, current architecture, provider state, verified 2026-08-29, development boundaries and python support.

AgriciDaniel/banana-claude · 1,667 tokens

notebooklm-skill AGENTS.md

Instructions for jakubs2623/notebooklm-skill, covering notebooklm-skill, authentication, cli commands, notebooklm-skill — core operations and notebooklm-pipeline — workflow orchestration.

jakubs2623/notebooklm-skill · 805 tokens

openhop AGENTS.md

Instructions for naorsabag/openhop, covering agents.md, what this is, run locally, cli and typecheck / build.

naorsabag/openhop · 1,450 tokens

document-specialist-skill AGENTS.md

AGENTS.md instructions for SpillwaveSolutions/document-specialist-skill: When the user asks for a design document, SDD, architecture document, or DESIGNDOC.md, load SKILL.md then references/workflows/design-workflow.md.

SpillwaveSolutions/document-specialist-skill · 102 tokens

document-specialist-skill CLAUDE.md

Claude Code instructions for SpillwaveSolutions/document-specialist-skill: See AGENTS.md and SKILL.md. Intent DESIGN writes DESIGNDOC.md from references/templates/markdown/DESIGNDOC.md.

SpillwaveSolutions/document-specialist-skill · 37 tokens

matrix-skill AGENTS.md

AGENTS.md instructions for netresearch/matrix-skill, covering matrix skill, index of scoped agents.md, repo structure, commands — matrix-communication and read / edit / react / redact.

netresearch/matrix-skill · 2,738 tokens