gemini

Diagnose and modify Gemini model, provider, and structured-output integrations in MDE.

1|Updated Sep 15, 2026
One-click install
npx skills add https://github.com/amoai-tech/mdeai --skill gemini-amoai-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini
Source: https://github.com/amoai-tech/mdeai/tree/main/.claude/skills/gemini
Command: npx skills add https://github.com/amoai-tech/mdeai --skill gemini-amoai-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-genai, and includes references (resource) and scripts (resource) components.

What problem does it solve? Gemini model names, SDK signatures, quotas, and deprecation status change frequently, so relying on remembered knowledge leads to broken integrations. This Skill routes all Gemini-specific work in the MDE codebase through verified official documentation and the installed @ai-sdk/google provider before any code change. ## Core Features & Use Cases - Provider-safe model changes: Verifies model availability and provider compatibility against current official Gemini docs before editing model strings. - Structured output and tool contracts: Validates schemas, function-calling contracts, and runtime output rather than relying on typecheck alone. - Scoped ownership: Keeps Gemini-specific failures with this domain while routing Mastra orchestration and Google Maps behavior to their own owners. - Use Case: When asked to switch the MDE Gemini model to a newer version, the Skill checks the installed @ai-sdk/google 2.0.74 provider, fetches current official model guidance, makes the smallest compatible change, and reruns representative prompts and structured-output tests. ## Quick Start Ask the agent to update the Gemini model used by the MDE provider and verify the change with representative behavior tests.

Frequently Asked Questions about gemini

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I change the Gemini model used by @ai-sdk/google?

Verify the new model exists and is supported by the installed provider version before editing the model string. Treat the change as a behavior change: rerun representative prompts and structured-output or tool tests, not just typecheck.

Why does Gemini structured output violate the expected schema?

Inspect the actual schema, provider contract, and call site, then validate real runtime output and failure behavior. Keep schemas and tool contracts explicit and tested rather than assuming the provider enforces them.

Should I migrate from @ai-sdk/google to @google/genai?

Not unless the task explicitly requires that architectural change. The MDE integration pins @ai-sdk/google 2.0.74, and the provider boundary should be preserved unless migration is in scope.

When should Gemini Live API or Omni Flash features be enabled?

Only when the task actually uses those runtimes. The Live API and Omni Flash references are reference-only until adopted, and should not be enabled merely because the official references exist.

Does this Skill handle Mastra workflow or Google Maps issues?

No. Generic Mastra agent and workflow orchestration belongs to the mastra domain, and map or place behavior belongs to the maps domain. This Skill owns only Gemini-specific model, provider, and API behavior.