image-gen
Generate images using the brand's visual identity and Gemini API.
Skill by MoizIbnYousaf
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/moizibnyousaf-image-gen
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/image-gen
What's inside
- Skill name
image-gen- Description
- Generate images using the brand's visual identity and Gemini API. Reads brand/creative-kit.md for visual style, crafts narrative prompts, and produces images via Nano Banana Pro (gemini-3-pro-image-preview). Supports on-brand and freestyle modes. Use when the user needs a blog header, social graphic, product shot, hero image, banner, thumbnail, or any generated image. Also use proactively when building content that would benefit from visuals. Triggers on "generate image", "create image", "make me an image", "blog header", "social graphic", "product shot", "hero image", "banner", "thumbnail", "I need an image", "visual for", or any request for generated artwork. Even if they just say "image" or "picture for this" — this is the skill.
- License
- MIT
- Instructions
- 242 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- allowed-tools: must be a space-separated string
Files (3)
- SKILL.md
- prompt-patterns.md · references/
- visual-metaphors.md · references/
SKILL.md (first lines)
# /image-gen — On-Brand Image Generation
Describe what you need. Get an image that looks like your brand made it.
This skill reads your visual brand identity from `brand/creative-kit.md`, crafts a narrative prompt that bakes in your style constraints, and generates the image via Gemini API. No brand style defined yet? It still works — just at a lower enhancement level. Run `/visual-style` first for the best results.
---
## On Activation
1. Check `GEMINI_API_KEY` environment variable.
- If missing: "Image generation requires a Gemini API key. Set GEMINI_API_KEY in your environment. Get one at ai.google.dev."
- Do not proceed without it.
2. Read brand files in priority order:
- `brand/creative-kit.md` — look for `## Visual Brand Style` section
- `brand/voice-profile.md` — personality informs image tone
- `brand/positioning.md` — angles inform visual metaphors
- `brand/landscape.md` — Claims Blacklist (don't generate imagery that visually implies blacklisted claims)
3. Determine enhancement level:
| Level | Context available | Image quality |
|-------|------------------|---------------|
| L0 | No brand files | Good generic images — uses discovery questions + prompt craft |
| L1 | voice-profile.md | Personality-aligned — playful brand gets warm/bright images |
| L2 | + creative-kit.md colors/typography | Color-constrained — palette woven into prompts |
| L3 | + Visual Brand Style section | Fully on-brand — style anchors, lighting, mood, composition all applied |
---
## Phase 1: Discovery
Use AskUserQuestion. Ask one at a time. Skip questions the user already answered in their request.
**Question 1: Purpose**
"What's this image for?"
- Blog header / article illustration
- Social media post (which platform?)
- Product shot / marketing asset
- Hero image / landing page
- Presentation / slide deck
- Something else (describe it)
This determines aspect ratio:
| Use case | Default ratio | Resolution |
|----------|---------------|------------|
| Blog header | 16:9 | 2K |
| Social square | 1:1 | 2K |
| Social story | 9:16 | 2K |
| Hero / banner | 21:9 | 2K |
| Product shot | 4:3 | 4K |
| Thumbnail | 16:9 | 1K |
**Question 2: Feeling**
"What should someone feel when they see this?"
(Free text — this drives the prompt's emotional anchor)
**Question 3: Style override** (only if L3 brand style exists)
"Use your on-brand style, or something different?"
- On-brand (default) — applies Visual Brand Style from creative-kit.md
- Different — describe the style you want instead
If user picks "different," their description overrides the brand style for this image only.
**Skip discovery when:** The user's request is specific enough. "Generate a 16:9 blog header showing a glowing terminal on a dark background, warm rim lighting" — don't ask what they want, they just told you.
---
## Phase 2: Prompt Crafting (Nano Banana Prompt Engineering)
You are an expert Nano Banana prompt engineer. Your job is to turn the user's brief into a single, high-quality prompt for Nano Banana 2 (or Pro), a "thinking" image model used for professional asset production.
**Core principle: brief a senior art director, don't list keywords.** Write natural language in full sentences. Never use "tag soup" like "dog, park, 4k, realistic."
### The 10 Rules
**1. General style.** Be specific and descriptive about subject, setting, composition, camera/viewpoint, lighting, mood, materials, and textures. Full sentences, not comma lists.
**2. Context and purpose.** Always encode the purpose and audience (YouTube thumbnail, app icon, hero banner, tweet graphic, 4K wallpaper). Let purpose guide style, polish level, and framing.
**3. Text and infographics.** If text must appear, put it clearly in quotes in the prompt. Ask for legible, clean typography and specify style (bold sans-serif, monospace, handwritten). For data, ask the model to compress into infographics, diagrams, or whiteboards.
**4. Character and brand consistency.** When reference images exist, explicitly refer to them: "Keep the person's facial features exactly the same as Image 1." Allow changes in pose, expression, angle while preserving identity.
**5. Grounding and realism.** For real data, locations, or products, tell the model to rely on up-to-date factual knowledge. Encourage coherent details consistent with physics.
**6. Editing and restoration.** For edits to existing images, give semantic instructions: "remove," "replace," "add," "restore," "change the season." Maintain original structure, only change what's intended.
**7. Dimensional and structural control.** For floor plans, schematics, wireframes, grids, tell the model to follow that layout closely. For 2D↔3D, describe how the new representation should look while preserving key relationships.
**8. Resolution, detail, and format.** Specify resolution ("high detail suitable for 4K wallpaper," "clean 16:9 thumbnail"). Call out micro details and textures when needed (brushed steel, cracked paint, mossy stone).
**9. Narrative and sequences.** For multiple images, describe the story arc, emotional beats, what stays consistent across images. Specify count, format, and identity/style consistency.
**10. Output rules.** Do not ask follow-up questions about the prompt. Resolve small ambiguities with sensible professional defaults. Output a single flowing narrative prompt.
### Prompt Structure
Build the narrative in this order, woven into flowing prose:
1. **Purpose and format** — what this is for, aspect ratio, resolution
2. **Scene** — what's happening, where, environment
3. **Subject** — detailed description with textures, materials, poses
4. **Composition** — framing, focal point, depth of field, negative space
5. **Lighting** — source, quality, color temperature, interaction with materials
6. **Mood** — emotional tone, atmosphere
7. **Text** — any text in quotes with typography specification
8. **Technical** — camera/lens for photorealistic, style reference for illustrated
### Brand Constraints (L3)
When Visual Brand Style exists, weave constraints INTO the narrative — don't add as a separate block:
- Primary Aesthetic → sets overall style direction
- Lighting → overrides generic lighting with brand-specific lighting
- Backgrounds → constrains background treatment
- Composition → constrains layout/framingFrom MoizIbnYousaf/marketing-cli, MIT.
More from MoizIbnYousaf/marketing-cli
- 0.589score
manim-composer
MoizIbnYousaf
Trigger when: (1) User wants to create an educational/explainer video, (2) User has a vague concept they want visualized, (3) User mentions "3b1b style" or…
SkillBFreshness: B★ 32Claude Code +9 - 0.589score
brand-voice
MoizIbnYousaf
Define or extract a consistent brand voice that other skills can use.
SkillBFreshness: B★ 32Claude Code +9 - 0.589score
keyword-research
MoizIbnYousaf
Strategic keyword research powered by web search and brand context.
SkillBFreshness: B★ 32Claude Code +9 - 0.589score
landscape-scan
MoizIbnYousaf
Scan the current market landscape and produce a ground-truth ecosystem snapshot.
SkillBFreshness: B★ 32Claude Code +9 - 0.589score
agent-email-inbox
MoizIbnYousaf
Use when setting up a secure email inbox for any AI agent — configuring inbound email via Resend, webhooks, tunneling for local development, and implementing…
SkillBFreshness: B★ 32Claude Code +9 - 0.589score
manimgl-best-practices
MoizIbnYousaf
Trigger when: (1) User mentions "manimgl" or "ManimGL" or "3b1b manim", (2) Code contains `from manimlib import *`, (3) User runs `manimgl` CLI commands, (4)…
SkillBFreshness: B★ 32Claude Code +9 - 0.589score
competitive-intel
MoizIbnYousaf
Research and analyze competitors to find positioning gaps and strategic opportunities.
SkillBFreshness: B★ 32Claude Code +9 - 0.589score
audience-research
MoizIbnYousaf
Build detailed buyer personas and audience profiles from research.
SkillBFreshness: B★ 32Claude Code +9 - 0.589score
direct-response-copy
MoizIbnYousaf
Write copy that converts.
SkillBFreshness: B★ 32Claude Code +9 - 0.585score
marketing-demo
MoizIbnYousaf
Record product demos and walkthroughs for marketing assets.
SkillBFreshness: B★ 32Claude Code +9 - 0.585score
churn-prevention
MoizIbnYousaf
Designs cancel flow UX, dunning email sequences, win-back campaigns, and retention triggers.
SkillBFreshness: B★ 32Claude Code +9 - 0.585score
email-sequences
MoizIbnYousaf
Build automated email flows that nurture, convert, and retain.
SkillBFreshness: B★ 32Claude Code +9
Signals
- Stars
- 32
- Forks
- 5
- Open issues
- 1
- Last commit (this folder)
- May 3, 2026 (5 months ago)
- Last release
- Aug 16, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/MoizIbnYousaf/marketing-cli
- Website
- www.marketing-cli.com/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from MoizIbnYousaf
- 0.743score
verification-agent
MoizIbnYousaf
Verify claims, quotations, citations and references against live primary sources, and produce a reproducible audit record instead of an assertion.
SkillBFreshness: B★ 1.2KClaude Code +9 - 0.689score
best-practices
MoizIbnYousaf
Transforms vague prompts into optimized Claude Code prompts.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.687score
browse-and-evaluate
MoizIbnYousaf
Use when exploring the ai-agent-skills catalog to find, compare, and evaluate skills before installing.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.687score
audit-library-health
MoizIbnYousaf
Use when checking the overall health of a skills library.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.687score
build-workspace-docs
MoizIbnYousaf
Use when regenerating README.md and WORK_AREAS.md in a managed library workspace.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.687score
curate-a-team-library
MoizIbnYousaf
Use when building a managed team skills library for a real stack.
SkillCFreshness: C★ 1.2KClaude Code +9
Cite this page
image-gen skill. Agent Mart. https://agentmart.dev/skills/moizibnyousaf-image-gen (last updated 2026-10-24)