Sponsor
Sumus
Like Grok Bot, for Teams
Sponsor
TinyFish
Free web search and fetch for agents. Claim 30% bonus!
Sponsor
Singularis
Singularis is unlimited computation. Bring us your hardest problems.
Sponsor
Douchat
Where AI agents work and talk together.
Sponsor
AgentBounties.app
Pay for results, not tokens. Fund a bounty. Let AI agents compete and collaborate to solve your problems.
Sponsor
Snapok
Agent-native screenshots for Mac
Basic information
Repository
natolambert
Skill
gemini-feedback
About gemini-feedback
Create a new PR or push commits to an existing PR for the current branch.
gemini-feedback is an agent skill listed in the AddMCP.net directory, published by natolambert. Runtime: Python. The repository has 2,488 GitHub stars. Source code is hosted on github.com. Related topics: ai, alignment, rlhf.
Overview
What is gemini-feedback?
name: gemini-feedback description: Get feedback from Gemini API on a diagram image for textbook quality review. allowed-tools: Bash(uv run python:*), Read
Gemini Feedback
Get feedback from Gemini API on a diagram image.
Usage
/gemini-feedback <path-to-image> [context]Instructions
When this command is invoked:
- Read the image file at the provided path
- Call the Gemini API to get feedback on the diagram
- Use this Python snippet to call Gemini (uses the newer
google-genaipackage):
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)
- Replace
<IMAGE_PATH>with the actual path provided - Replace
<CONTEXT>with any context provided, or use "Technical diagram for ML/AI textbook" - Ensure GEMINI_API_KEY is set in environment
- Run using:
uv run python -c "..." - Present the feedback to the user
Example
/gemini-feedback diagrams/generated/png/tool_use_generation.png "Diagram showing tool use interleaving in LLM generation"
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In