image-gen
Skill0 starsChanged 3 days agoMITView on GitHub
Generate raster images locally with Qwen Image 2.1 Turbo (Metal, no account, no network at generation time) and cut subjects out of their background with RMBG-1.4. Use for draft plates, backgrounds, covers, stickers and reference-guided edits; not pixel-exact edits, UI mock-ups or likenesses of real people.
48 other projects use a version of this.
Adopted by
Most recently taken up by
- krishagel/geoffreytheir own version, first seen Nov 15, 2026
- suitedaces/dorabottheir own version, first seen Nov 14, 2026
- notque/vexjoy-agenttheir own version, first seen Nov 10, 2026
- uprinter/ai-agents-teamtheir own version, first seen Nov 8, 2026
- artemmarketolog/image-gentheir own version, first seen Nov 8, 2026
- ITch8/customs-data-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use spotify, trello 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.
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
mitsuhikoSkillsummarize
Fetch a URL or convert a local file (PDF/DOCX/HTML/etc.) into Markdown using `uvx markitdown`, optionally it can summarize
Also in 3 projects that use this
Other versions48 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 48
- ethereum/ethereum-org-website★ 6ksame name
- fastclaw-ai/fastclaw★ 1.4ksame name
- QuixiAI/agi-memory★ 623same name
- QuixiAI/Hexis★ 623same name
- dotslashsimran/simcraft★ 451same name
- notque/claude-code-toolkit★ 450same name
- notque/vexjoy-agent★ 450same name
- suitedaces/dorabot★ 247same name
- wpsnote/wpsnote-skills★ 184same name
- microsoft/Huabu★ 183same name
38 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 repository30 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- agent-first-docsSkill
- analytics-reviewSkill
- architectSkill
- autopilotSkill
- browseSkill
- create-prSkill
- design-uiSkill
- foremanSkill
- harness-auditSkill
- humanizer-viSkill
- implementSkill
- investigateSkill
- marketing-videoSkill
- perf-auditSkill
- plan-draftSkill
- qaSkill
- reconSkill
- release-prdSkill
- releaseSkill
- review-prSkill
- semantic-decisionSkill
- setup-projectSkill
- teamSkill
- telemetry-reviewSkill
- testSkill
- token-auditSkill
- triageSkill
- ui-auditSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 36 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 69
Never prompt with a real person's name or ask for a real person's likeness, and never draw a product UI.
“Common” is measured: kept by at least 6 in 10 of the 36 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
Local image generation and cutouts
Qwen Image 2.1 Turbo Q4_K_M (CFG 1, a fixed 8-step schedule) through a pinned
sd-cli build on a Mac with Apple silicon, plus Bria RMBG-1.4 (ONNX, CPU,
~1 s) for cutouts. Weights come from HuggingFace at the revisions, sizes and
SHA-256 pinned in scripts/models.json. No account, no paid API, no network
when drawing. marketing-video draws its art through this skill (mvf art);
call it directly for a one-off image.
Heavy job. One generation peaks near 3.5 GiB at any size (weights are read
from disk a segment at a time) and takes about 7 min a megapixel on an M1 Pro
16 GB. Start it only when the machine is idle (uptime load well
below the core count, memory_pressure free >= ~40%). A non-blocking lock
refuses a second concurrent run; on a shared machine queue it behind the same
lock as renders and TTS (MVF_HEAVY in marketing-video).
Host preparation (once)
<skill-dir>/scripts/setup [--with-vision] [--no-cutout] [--check] builds
sd-cli at the pinned stable-diffusion.cpp commit, creates a hash-locked venv
(numpy, onnxruntime, Pillow) and downloads ~9.9 GB of Qwen weights (+1.2 GB
vision projector with --with-vision, needed for --ref; +176 MB RMBG-1.4
unless --no-cutout), all under $IMAGE_GEN_HOME (default
~/.local/share/image-gen). Needs git, uv and the Xcode command-line
tools. It is a download and a native build: run it only when the user has
authorised it and the machine is idle. --check verifies offline.
Generate
<skill-dir>/scripts/generate-image "<prompt>" -o <new.png|.webp|.jpg> \
--size <WxH> [--seed N] [--ref <reference.png>] [--transparent]Sizes are multiples of 32, each side 256 to 1920, within the machine's pixel
budget. generate-image --limits prints it as JSON: 1088x1920 (a whole
vertical frame) with 16 GB of memory or more, 512x512 below that, where nothing
larger was measured. Measured on an M1 Pro 16 GB, 9:16:
| Size | Time | Shown full-frame at 1080x1920 |
| 384x672 | 2 min | 2.8x enlarged: soft, fine under text or as a small inset |
| 576x1024 | 4.5 min | 1.9x: soft |
| 768x1344 | 7.5 min | 1.4x: reads sharp |
| 1088x1920 | 15.5 min | as drawn |
You choose the size: draw at the size the picture is shown, smaller where softness is fine (a background under text, dimmed or blurred) and when time matters more. Other ratios take the same pixel counts (1024x1024, 1344x768, …).
- The output must be a new path; nothing is overwritten.
--ref: PNG/JPEG <= 2 MiB; name its role (subject, style, composition) in the prompt. Needssetup --with-vision. A character sheet as--refkeeps a face and costume across poses.--transparentgives a cutout. The model is asked for alpha; when under 5% of its render is clear (often, e.g. on a coloured background or with--ref), RMBG-1.4 cuts it out. The receipt'scutoutismodel-alpha,rmbg-1.4ornone(RMBG not installed). Prompt a plain flat background in a neutral colour the subject lacks; check the edge on dark and on white.- Prompts <= 4000 chars; no negative prompts, sampler changes or batches.
- Text in the image is unreliable (diacritics most of all): put titles and captions in the layout layer (HTML/CSS) and prompt "no text".
- Never prompt with a real person's name or ask for a real person's likeness, and never draw a product UI; use the real screen.
Cut out an existing image
<skill-dir>/scripts/remove-bg <input> -o <new.png> [--mask <new-matte.png>]The receipt reports transparent_pct and opaque_pct; near-zero opaque means
the subject was lost. Flat line art whose inside matches the background loses
its enclosed areas: draw it with --transparent on a contrasting colour instead.
Licences
Qwen-Image weights: Apache-2.0. RMBG-1.4: bria-rmbg-1.4, source-available and
non-commercial; commercial use of its cutouts needs a Bria agreement. Use
RMBG cutouts in marketing only when the operator holds that agreement; without
it, set up with --no-cutout.
Inspect every saved image yourself (anatomy, identity, text, artifacts, edges): the receipt proves the file, not its quality. One generation plus at most one targeted correction per asset; no speculative batches. On timeout, OOM or "busy", stop and report; do not raise budgets or retry in a loop.
Return the saved path, size, seed and the prompt used (the JSON receipt).
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.

