Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generate professional visuals using Gemini via browser automation with 6-gate quality control. Use when creating chapter illustrations, diagrams, or teaching visuals. NOT for stock photos or decorative images.
.claude/skills/aiskillstore-image-generator/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-08 | ✗→✓ | ▲ Improved | 17% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 13% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -8% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 44% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 19% | 0% |
Generate professional teaching visuals using Gemini 3 with multi-turn reasoning partnership.
bash# 1. Start browser (via browser-use skill) bash .claude/skills/browser-use/scripts/start-server.sh # 2. Navigate to Gemini # Use browser_navigate to https://gemini.google.com/ # 3. Generate image from creative brief # Paste creative brief → Wait 30-35s → Verify 6 gates → Download
Receive from visual-asset-workflow:
markdown## The Story [Narrative about what's visualized] ## Emotional Intent [What it should FEEL like] ## Visual Metaphor [Universal concept for instant comprehension] ## Subject / Composition / Action / Location / Style [Gemini 3 prompt structure] ## Color Semantics Blue (#2563eb) = Authority | Green (#10b981) = Execution ## Typography Hierarchy Largest: Key insight | Medium: Supporting | Smallest: Context
Do NOT convert to pixel specs - use as-is to activate reasoning.
| Step | Action | Tool | |------|--------|------| | 1 | Navigate to gemini.google.com | browser_navigate | | 2 | Select "🍌 Create Image" | browser_click | | 3 | Paste creative brief | browser_type | | 4 | Wait 30-35 seconds | browser_wait_for | | 5 | Verify 6 gates (below) | Visual inspection | | 6 | If fail: Iterate with feedback (max 3) | browser_type | | 7 | If pass: Download full size | browser_click | | 8 | Copy to apps/learn-app/static/img/part-{N}/chapter-{NN}/ | Bash | | 9 | Embed in lesson immediately | Edit | | 10 | NEW CHAT for next visual | browser_navigate |
| Gate | Criterion | Fail Action | |------|-----------|-------------| | 1. Spelling | 99% accuracy (Y-Combinator, Kubernetes) | Iterate | | 2. Layout | Proportions match prompt (2×2 not 3×1) | Iterate | | 3. Color | Brand colors match (#2563eb not #002050) | Iterate | | 4. Typography | Largest = key concept (not decoration) | Iterate | | 5. Teaching | <5 sec concept grasp at target proficiency | Iterate | | 6. Uniqueness | Not duplicate of existing chapter image | New chat |
Decision: ALL pass → Download | ANY fail → Iterate (max 3 tries)
When gate fails, provide teaching feedback:
Gate 4 FAILED: Typography hierarchy incorrect
The largest text is "$100K" (supporting detail) but should be "$3T"
(key insight students must grasp).
Increase '$3T' to dominant size. Reduce '$100K' to supporting size.
Information importance drives sizing.When invoked with "generate all visuals":
For EACH visual in list:
A. NEW CHAT (context isolation)
B. Generate (paste brief)
C. Verify 6 gates
D. Iterate if needed (max 3)
E. Download when pass
F. Embed in lesson
G. Log "✅ N/M"
H. NEXT (no stopping)Never ask: "Continue?" "Pause here?" "Review?"
Report at END only:
BATCH COMPLETE
✅ Generated: 16/18
⚠️ Deferred: 2 (quality issues)
Location: apps/learn-app/static/img/part-{N}/| Level | Max Elements | Grasp Time | |-------|--------------|------------| | A2 | 5-7 | <5 sec | | B1 | 7-10 | <10 sec | | C2 | No limit | N/A |
For >8 visuals, condense briefs:
Original (250 tokens):
"Top Layer shows Coordinator at center top with label 'Orchestrator'
featuring conductor icon, with role 'Strategic oversight'..."Condensed (80 tokens):
"Top Layer - Coordinator: Center top, 'Orchestrator' (conductor),
Role: 'Strategic oversight', Gold (#fbbf24), Large hexagon."Keep: Story, Intent, Metaphor, Colors, Reasoning Condense: Long examples → Short labels
| Don't | Why | |-------|-----| | Accept first output without 6 gates | Quality standard violation | | Ask permission between batch items | Breaks autonomous agency | | Convert briefs to pixel specs | Defeats reasoning activation | | Skip embedding step | Creates orphan images | | Reuse same chat for next visual | Context contamination |
If session ends mid-batch, create checkpoint:
markdown# Checkpoint: Part {N} Status: INTERRUPTED at 8/18 ## Completed: - ✅ Image 1: filename (embedded lesson-01.md) - ✅ Image 2: filename (embedded lesson-02.md) ## Remaining: - ⏳ Image 8: filename
On continuation: Read checkpoint → Resume → Update incrementally
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-06 | pass→pass | 11,304 | 10,741 | -5% | 1 | 1 | 0% | 2,114 | 3,514 | +66% | 0 | 0 | — |
case-20 | pass→pass | 10,575 | 2,570 | -76% | 1 | 1 | 0% | 1,768 | 1,782 | +1% | 0 | 0 | — |
case-01 | fail→fail | 7,216 | 3,919 | -46% | 1 | 1 | 0% | 261 | 1,932 | +640% | 0 | 0 | — |
case-02 | fail→fail | 4,312 | 3,417 | -21% | 1 | 1 | 0% | 641 | 1,913 | +198% | 0 | 0 | — |
case-03 | fail→fail | 6,851 | 5,901 | -14% | 1 | 1 | 0% | 1,021 | 1,711 | +68% | 0 | 0 | — |
case-04 | pass→pass | 19,805 | 27,587 | +39% | 1 | 1 | 0% | 3,334 | 6,100 | +83% | 0 | 0 | — |
case-05 | pass→pass | 10,605 | 12,949 | +22% | 1 | 1 | 0% | 2,173 | 4,161 | +91% | 0 | 0 | — |
case-07 | pass→pass | 14,034 | 4,965 | -65% | 1 | 1 | 0% | 2,050 | 2,144 | +5% | 0 | 0 | — |
case-08 | fail→pass | 9,034 | 1,596 | -82% | 1 | 1 | 0% | 1,354 | 1,590 | +17% | 0 | 0 | — |
case-09 | fail→pass | 10,041 | 1,993 | -80% | 1 | 1 | 0% | 1,509 | 1,712 | +13% | 0 | 0 | — |
case-10 | fail→pass | 12,118 | 2,074 | -83% | 1 | 1 | 0% | 1,832 | 1,677 | -8% | 0 | 0 | — |
case-11 | fail→pass | 7,689 | 2,234 | -71% | 1 | 1 | 0% | 1,228 | 1,771 | +44% | 0 | 0 | — |
case-12 | fail→pass | 12,506 | 6,253 | -50% | 1 | 1 | 0% | 1,974 | 2,351 | +19% | 0 | 0 | — |
case-13 | pass→pass | 11,311 | 1,676 | -85% | 1 | 1 | 0% | 1,530 | 1,640 | +7% | 0 | 0 | — |
case-14 | fail→pass | 8,089 | 4,193 | -48% | 1 | 1 | 0% | 1,215 | 2,028 | +67% | 0 | 0 | — |
case-15 | pass→pass | 7,002 | 3,673 | -48% | 1 | 1 | 0% | 1,159 | 1,953 | +69% | 0 | 0 | — |
case-16 | fail→pass | 9,679 | 1,958 | -80% | 1 | 1 | 0% | 1,405 | 1,693 | +20% | 0 | 0 | — |
case-17 | fail→pass | 12,135 | 1,517 | -87% | 1 | 1 | 0% | 1,923 | 1,629 | -15% | 0 | 0 | — |
case-18 | pass→pass | 14,327 | 4,292 | -70% | 1 | 1 | 0% | 2,183 | 2,162 | -1% | 0 | 0 | — |
case-19 | pass→pass | 8,192 | 2,514 | -69% | 1 | 1 | 0% | 1,156 | 1,771 | +53% | 0 | 0 | — |
case-21 | pass→pass | 8,643 | 4,542 | -47% | 1 | 1 | 0% | 1,400 | 2,254 | +61% | 0 | 0 | — |
case-22 | pass→pass | 6,854 | 3,332 | -51% | 1 | 1 | 0% | 1,153 | 1,893 | +64% | 0 | 0 | — |
case-23 | fail→pass | 9,172 | 1,523 | -83% | 1 | 1 | 0% | 1,403 | 1,641 | +17% | 0 | 0 | — |
case-24 | pass→pass | 6,240 | 3,568 | -43% | 1 | 1 | 0% | 925 | 1,918 | +107% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 24 cases were attempted, and 22 counted toward the lift figure. The other 2 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +38 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.