cs-gemini-setup

Community

One-click Gemini API setup for Windows scripts.

AuthorSampi314
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the friction of manually configuring the GEMINI_API_KEY on Windows, which causes local Gemini-dependent scripts (like the daily AI blog image generator) to fail with authentication or quota errors, and avoids the silent v1beta image generation limit issue that breaks unconfigured setups.

Core Features & Use Cases

  • Guided API Key Setup: Walks users through obtaining a Gemini API key from Google AI Studio, validates the key format, and persists it as a Windows User-scope environment variable so it works across all PowerShell sessions.
  • Endpoint-Aligned Verification: Tests both text and image generation against the stable v1 Gemini endpoint (not the v1beta preview endpoint) to catch the free-tier image generation limit issue before dependent scripts run.
  • Tailored Troubleshooting: Diagnoses common Gemini API errors (401, 403, 429) with specific, actionable fixes, including guidance for enabling billing when image generation fails due to depleted credits.
  • Use Case: If your local AI blog image generator is returning 429 errors, this skill identifies if the issue is depleted prepayment credits and walks you through enabling billing in Google AI Studio.

Quick Start

Use the cs-gemini-setup skill to configure your GEMINI_API_KEY on Windows and verify it works for both text and image generation.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cs-gemini-setup
Download link: https://github.com/Sampi314/Sam-Plugin-Marketplace/archive/main.zip#cs-gemini-setup

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.