Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    Nex Gemini Api Integration

    5

    A production-ready Python integration for Gemini using a unified AIProvider interface for easy model swapping.

    Free

    2 installsSecurity scanned
    nex-gemini-api-integration

    nex-gemini-api-integration

    Example session with this skill installed

    Add Gemini as a provider to my existing AI backend so I can use it as a cheaper fallback for Claude.

    • Read your context and instructions
    • Compiled the nex-gemini-api-integration

    I've generated the GeminiProvider following your AIProvider interface.

    Changes include

    • gemini_provider.py: Implementation via OpenAI-compatible endpoint.
    • factory.py: Updated get_scoring_provider() to use Gemini Flash.
    • requirements.txt: Added openai and python-dotenv.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Modern Gemini Integration via OpenAI-Compatible Endpoint

    Stop writing custom wrapper logic every time you want to switch or add an LLM provider. This skill generates a production-ready Python integration layer for Google Gemini, built entirely around a shared AIProvider abstraction. By leveraging Gemini's OpenAI-compatible endpoint, it ensures your backend architecture remains clean, decoupled, and consistent with other providers like Claude or Qwen.

    Why use this skill

    • Drop-In Compatibility: Uses the exact same interface as Nex Claude and Qwen integrations, allowing for one-line provider swaps.
    • Optimized Model Split: Automatically configures a dual-model factory—routing high-quality generation to Gemini Pro and high-volume scoring to Gemini Flash.
    • Production-Grade Resilience: Includes a shared error taxonomy with built-in retry policies for timeouts and transient API errors.
    • Full Observability: Native token accounting is baked into every call, returning consistent result objects for logging and billing.

    Supported Tools & Frameworks

    • Python: 3.8+ backend environments.
    • OpenAI Python Client: Uses the familiar SDK idiom for Google's endpoints.
    • Environment Management: Pre-configured for python-dotenv and secure API key handling.

    The Output

    You receive a structured provider package including base.py (the interface), gemini_provider.py (the implementation), and a factory.py for easy dependency injection.

    Built by Nex AI. More skills and info at nex-ai.be and slopsome.com.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    2 installs

    Downloaded by developers to date

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    • Free to download with an account

    Listed3 months ago
    Updated1 month ago

    What's inside

    Frequently Asked Questions