image-gen
Skill17 starsChanged 5 months agoMITView on GitHub
Generate images using Google Gemini (Nano Banana) image generation API via a Node.js script.
54 other projects use a version of this.
Adopted by
Most recently taken up by
- MrBogomips/skillstheir own version, first seen Nov 29, 2026
- Deibler/edmund-harnesstheir own version, first seen Nov 29, 2026
- LocalSymmetry/lofntheir own version, first seen Nov 29, 2026
- 973803318/gino-skillstheir own version, first seen Nov 29, 2026
- trac3r00/core-skillstheir own version, first seen Nov 29, 2026
- notque/vexjoy-agenttheir own version, first seen Nov 27, 2026
Used with
Projects with it also use ahrefs, spotify and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
vojtoSkillahrefs
Fetch keyword data from Ahrefs using Chrome browser automation. Use when the user needs keyword difficulty, search volume, or CPC data and API credits are exhausted.
Also in 3 projects that use this
QuixiAISkillspotify
Search Spotify, inspect current playback and devices, and control playback with explicit approval
Also in 3 projects that use this
QuixiAISkilltrello
List Trello boards, lists, and cards and create or update cards with explicit approval
Also in 3 projects that use this
AnthropicSkilldaily-briefing
Morning rundown - today's meetings with account context, opps closing soon with stale flags, waiting customer emails, and the day's top actions. Use when the user says "daily briefing", "daily brief", "morning briefing", "what's my day", "what's on my plate today", "prep my day", "start my day", "morning rundown", or on a schedule.
Also in 3 projects that use this
silvainfmSkillpaid-ads
When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ad copy,' 'ad creative,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' or 'audience targeting.' This skill covers campaign strategy, ad creation, audience targeting, and optimization.
Also in 3 projects that use this
AnthropicSkillweather
The optional standing status report ("the weather"): compile open incidents, build health, merge-queue stats, and deploy lag into one always-current report page, and post to the channel only when a defined event fires. Use when the weather routine fires, or when someone asks to run/update the weather report.
Also in 3 projects that use this
Other versions54 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 54
- ethereum/ethereum-org-website★ 6ksame name
- fastclaw-ai/fastclaw★ 1.4ksame name
- QuixiAI/agi-memory★ 628same name
- QuixiAI/Hexis★ 628same name
- notque/claude-code-toolkit★ 452same name
- notque/vexjoy-agent★ 452same name
- dotslashsimran/simcraft★ 451same name
- suitedaces/dorabot★ 250same name
- microsoft/Huabu★ 191same name
- different-ai-studio/teamclaw★ 128same name
44 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- abilitiesSkill
- ai-instructionsSkill
- archetypesSkill
- build-skillSkill
- canon-npcsSkill
- chartsSkill
- countSkill
- creator-apiSkill
- factionsSkill
- itemsSkill
- japanese-romanizationSkill
- locationsSkill
- mapsSkill
- name-filter-settingsSkill
- narrative-eventsSkill
- npcsSkill
- npc-type-reviewSkill
- npc-typesSkill
- orchestratorSkill
- premade-charactersSkill
- questsSkill
- realmsSkill
- reflectSkill
- regionsSkill
- review-npcsSkill
- settingsSkill
- skillsSkill
- story-startsSkill
- traitsSkill
- triggersSkill
- world-backgroundSkill
- world-loreSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 3 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 43 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Run from the project root.
- Distinctive: line 37
When the user asks for a portrait of an NPC:
- Very specific: line 39
Read tabs/npcs.json and find the NPC entry
- Very specific: line 40
If the user wants to change appearance details before generating, update basicInfo in tabs/npcs.json first (with user approval via …
- Very specific: line 58
Run with -n [npc-name-lowercase] -r 1:1 -s 1K
- Very specific: line 60
Only once approved, upload with -n to move to images/uploaded/:
- Very specific: line 68
Add the returned URL as "portraitUrl" on the NPC entry in tabs/npcs.json
- Distinctive: line 72
When generating portraits for multiple NPCs at once:
- Very specific: line 75
Run all generate-image.mjs calls concurrently via background Bash.
“Common” is measured: kept by at least 6 in 10 of the 43 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Image Generation
node .claude/skills/image-gen/scripts/generate-image.mjs -n <name> [options] <prompt>Run from the project root. Set Bash timeout to 120000ms.
Important
Always run image generation directly via Bash. Never delegate to a background agent (subagent) — the interactive approval workflow (generate → show → approve/retry) requires direct orchestrator control. Concurrent Bash calls with the same -n name are safe (the script uses atomic file creation). Failed API calls clean up after themselves.
Options
| Flag | Short | Required | Description |
--name | -n | Yes | Output name (e.g. onmyoji). Auto-increments: onmyoji-000.png, onmyoji-001.png, etc. |
--model | -m | No | gemini-3.1-flash-image-preview (default), gemini-3-pro-image-preview, gemini-2.5-flash-image |
--ratio | -r | No | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 |
--size | -s | No | 512, 1K, 2K, 4K |
--input | -i | No | Path to input image(s) for image-to-image editing. Can be specified multiple times for multi-reference. |
Output
- Images save to
images/generated/<name>.png - Metadata saves to
images/generated/json/<name>.json(prompt, model, ratio, size, date) - Auto-increments if name already exists
- Stdout prints the path — use Read tool to view it
Character Portrait Workflow
When the user asks for a portrait of an NPC:
- Read
tabs/npcs.jsonand find the NPC entry - If the user wants to change appearance details before generating, update
basicInfointabs/npcs.jsonfirst (with user approval via AskUserQuestion). The prompt is always curated from the current basicInfo — never invent appearance details directly in the prompt that aren't in basicInfo. - Curate
basicInfodown to visual/appearance details only. Keep gender and NPC type as they set visual tone. Drop narrative role, relationships, and lore. Include all physical features (ears, tails, horns, wings, skin texture, missing limbs, etc.) even if they extend beyond the frame — the model handles composition. Always include the primary weapon. Be selective with other accessories — pick 1-2 signature items, not every item mentioned. Too many props create visual clutter.- Keep:
[gender], [type], [build], [hair], [eyes], [fangs/claws/horns/ears/tails/wings/skin], [clothing + 1-2 items] - Drop:
serving as [role],bound as one of [master]'s [group],who commands [unit]
- Keep:
- Extract the single keyword before the colon from each personality trait (e.g. "Enigmatic" from "Enigmatic: No one knows where the act ends"). Present the trait options to the user and let them choose — do not pick for them.
- Assemble the prompt:
Make a character for an anime close-up on the face and upper shoulders in the official, professional Fate/Apocrypha art style. [curated appearance]. [single-word trait]. Type-Moon aesthetic. Ufotable art style, with a detailed ufotable face and kyoto animation eyes, minimal shadows. Thin lines. Kyoto Animation influence.Examples of curated appearance text (between the style prefix and the keyword suffix):
A male half-kitsune onmyoji with a youthful build, long white hair and golden eyes, with fangs and white-furred fox ears and a single matching tail. Wears the kariginu of a court official bearing a pentagram crest, with paper strips tucked into both sleeves and a folding fan.A male onmyōji. Wiry build with tied-back greying black hair and dark brown eyes. Wears the kariginu of a court official, immaculately maintained, with a lacquered astrolabe case and ink-stained calligraphy set at his belt.A male ōkami with an imposing build, tied-back grey hair and golden eyes, with fangs, sharp claws, and grey-furred wolf ears and a matching tail. Wears an immaculate suikan.A male saburai with a refined build, tied-back black hair and dark brown eyes. Wears elaborately patterned armor with dragon motifs and an ornate kabuto.
- Never modify the approved prompt without flagging the change. If a previous generation didn't capture a detail (e.g., build reads too thin), explain the issue and propose a prompt change before regenerating. Do not silently add words to the prompt.
- Run with
-n [npc-name-lowercase]-r 1:1-s 1K - Show the image and wait for user approval. If touch-ups are needed, use
-ito edit the existing image rather than regenerating from scratch. When the user specifies a base image for img-to-img edits, use that base for all subsequent retries unless the user explicitly changes it. - Only once approved, upload with
-nto move toimages/uploaded/:
node .claude/skills/image-gen/scripts/upload-image.mjs -n [npc-name-lowercase] images/generated/<file>.pngThis uploads to official Voyage hosting (moderated; requires Creator API setup and a pinned world), prints the canonical URL, and moves the file to images/uploaded/{name}-{hash}.png. Portraits use the default target; pass -t AREA_IMAGE, -t LOCATION_IMAGE, or -t REGION_MAP_IMAGE for other image kinds.
- Add the returned URL as
"portraitUrl"on the NPC entry intabs/npcs.json
Batch Portrait Workflow
When generating portraits for multiple NPCs at once:
- Curate appearance text and collect personality keywords for all NPCs upfront
- Run all
generate-image.mjscalls concurrently via background Bash. The script uses atomic file creation so concurrent runs with the same-nname are safe. Some may fail due to API rate limits — just retry the failures. - Show all variants to the user and collect picks
- For each picked variant, upload and write
portraitUrl - Clean up unpicked variants:
node .claude/skills/image-gen/scripts/cleanup-variants.mjs -n [name] -k [picked-number]This moves all variants of [name] except the picked one (and their metadata JSON) to images/generated/unused/.
Prompt Tips
Be specific: not "a tavern" but "a dimly lit medieval tavern with smoke curling from a stone hearth, amber candlelight, rough oak tables stained with ale."
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

