GE

gemini-feedback

Analyzes diagram images via Gemini API to provide feedback on visual quality, alignment, and clarity.

Install

mkdir -p .claude/skills/gemini-feedback && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5956" && unzip -o skill.zip -d .claude/skills/gemini-feedback && rm skill.zip

Installs to .claude/skills/gemini-feedback

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Get feedback from Gemini API on a diagram image for textbook quality review.
76 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Reads image files from a provided path
  • Calls the Gemini API for diagram feedback
  • Provides assessment and improvement suggestions

How it works

The skill reads an image file and sends it to the Gemini 2.5-flash model with a specific prompt to generate feedback.

Inputs & outputs

You give it
Image file path and optional context
You get back
Assessment, identified issues, and improvement suggestions

When to use gemini-feedback

  • Review diagram for errors
  • Check diagram alignment
  • Get improvement suggestions for textbook visuals

About this skill

Gemini Feedback

Get feedback from Gemini API on a diagram image.

Usage

/gemini-feedback <path-to-image> [context]

Instructions

When this command is invoked:

  1. Read the image file at the provided path
  2. Call the Gemini API to get feedback on the diagram
  3. Use this Python snippet to call Gemini (uses the newer google-genai package):
import base64
import os
from google import genai

client = genai.Client(api_key=os.environ['GEMINI_API_KEY'])

with open('<IMAGE_PATH>', 'rb') as f:
    img_bytes = f.read()

prompt = '''Review this diagram for a textbook. Be concise and specific.

Context: <CONTEXT>

Please provide:
1. Overall assessment (1-2 sentences)
2. Specific issues to fix (be detailed about visual problems like alignment, overlapping, etc.)
3. Suggestions for improvement
'''

response = client.models.generate_content(
    model='gemini-2.5-flash',
    contents=[
        prompt,
        genai.types.Part.from_bytes(data=img_bytes, mime_type='image/png'),
    ],
)
print(response.text)
  1. Replace <IMAGE_PATH> with the actual path provided
  2. Replace <CONTEXT> with any context provided, or use "Technical diagram for ML/AI textbook"
  3. Ensure GEMINI_API_KEY is set in environment
  4. Run using: uv run python -c "..."
  5. Present the feedback to the user

Example

/gemini-feedback diagrams/generated/png/tool_use_generation.png "Diagram showing tool use interleaving in LLM generation"

When not to use it

  • When GEMINI_API_KEY is not set in the environment

Prerequisites

GEMINI_API_KEY environment variablegoogle-genai package

Limitations

  • Requires the google-genai package
  • Requires a valid GEMINI_API_KEY

How it compares

It automates the visual review process for diagrams using a specific LLM prompt instead of manual inspection.

Compared to similar skills

gemini-feedback side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
gemini-feedback (this skill)15moReviewIntermediate
quant-analyst1032moNo flagsAdvanced
llava78moReviewAdvanced
cocoindex69moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

quant-analyst

zenobi-us

Expert quantitative analyst specializing in financial modeling, algorithmic trading, and risk analytics. Masters statistical methods, derivatives pricing, and high-frequency trading with focus on mathematical rigor, performance optimization, and profitable strategy development.

103355

llava

zechenzhangAGI

Large Language and Vision Assistant. Enables visual instruction tuning and image-based conversations. Combines CLIP vision encoder with Vicuna/LLaMA language models. Supports multi-turn image chat, visual question answering, and instruction following. Use for vision-language chatbots or image understanding tasks. Best for conversational image analysis.

7117

cocoindex

cocoindex-io

Comprehensive toolkit for developing with the CocoIndex library. Use when users need to create data transformation pipelines (flows), write custom functions, or operate flows via CLI or API. Covers building ETL workflows for AI data processing, including embedding documents into vector databases, building knowledge graphs, creating search indexes, or processing data streams with incremental updates.

6116

ai-multimodal

mrgoonie

Process and generate multimedia content using Google Gemini API. Capabilities include analyze audio files (transcription with timestamps, summarization, speech understanding, music/sound analysis up to 9.5 hours), understand images (captioning, object detection, OCR, visual Q&A, segmentation), process videos (scene detection, Q&A, temporal analysis, YouTube URLs, up to 6 hours), extract from documents (PDF tables, forms, charts, diagrams, multi-page), generate images (text-to-image, editing, composition, refinement). Use when working with audio/video files, analyzing images or screenshots, processing PDF documents, extracting structured data from media, creating images from text prompts, or implementing multimodal AI features. Supports multiple models (Gemini 2.5/2.0) with context windows up to 2M tokens.

9108

rag-implementation

wshobson

Build Retrieval-Augmented Generation (RAG) systems for LLM applications with vector databases and semantic search. Use when implementing knowledge-grounded AI, building document Q&A systems, or integrating LLMs with external knowledge bases.

10101

umap-learn

K-Dense-AI

UMAP dimensionality reduction. Fast nonlinear manifold learning for 2D/3D visualization, clustering preprocessing (HDBSCAN), supervised/parametric UMAP, for high-dimensional data.

6100

Search skills

Search the agent skills registry