Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By aws-samples Verified Orgv1.0.0Apache-2.0In 1 marketplace
Converts Gemini Python code and prompts from 2.0, 2.5 and 3.x models to Amazon Nova 2 Lite on Bedrock, explaining each change. Migrated code needs AWS credentials and Bedrock access to run; the migration itself does not.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
gemini-migration, amazon-bedrock, amazon-nova, boto3, sdk-migration, prompt-rewriting, bedrock, nova ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
An Agent Skill that migrates Google Gemini Python code and prompts to Amazon Nova 2 Lite (us.amazon.nova-2-lite-v1:0) on Amazon Bedrock.
The skill converts SDK calls (google-genai / google-generativeai → boto3 Bedrock Runtime converse) and rewrites prompts to follow Nova 2 Lite formatting and constraints. Every migration delivers two things: working migrated code and an explanation of every change, including any features that can't be ported 1:1.
The skill supports Gemini 2.0 / 2.5 / 3.x as source models, across three API styles:
| Source API style | Detected from |
|---|---|
| Deprecated SDK | import google.generativeai as genai — GenerativeModel, generate_content |
Current SDK (generateContent) | from google import genai — client.models.generate_content |
| Current SDK (Interactions API) | from google import genai — client.interactions.create |
Target: us.amazon.nova-2-lite-v1:0
gemini-to-nova-migration/
├── SKILL.md # Skill instructions and migration workflow
├── README.md # This file
└── references/
├── feature-mapping.md # Complete Gemini → Nova mapping tables
├── code-examples.md # Before/after code patterns
└── generate-content-patterns.md # generateContent, Interactions API + deprecated SDK specifics
| Area | Detail |
|---|---|
| SDK | google-genai / google-generativeai → boto3 bedrock-runtime converse / converse_stream |
| Prompt format | XML tags / free-form → ##Section Name## delimiters with canonical Nova section names |
| System instructions | system_instruction= → system=[{"text": ...}], re-specified per call |
| Multimodal | Enforces system-prompt-is-persona-only rule and media-before-text content ordering |
| Function calling | function_declarations (OpenAPI) → toolSpec (JSON Schema), tool_config.mode → toolChoice |
| Structured output | response_mime_type + response_schema → inline schema (simple) or tool-forcing (complex) |
| Reasoning / thinking | thinking_config → additionalModelRequestFields.reasoningConfig, mapped to a Nova effort level |
| Stateful turns | previous_interaction_id / store=true → full message history passed each call |
| Inference config | Picks temperature / top-p / reasoning per the Nova use-case tables |
| Gemini | Nova 2 Lite | |
|---|---|---|
| SDK | google-genai | boto3 bedrock-runtime |
| Call | client.models.generate_content() / client.interactions.create() | client.converse() |
| Auth | GOOGLE_API_KEY | AWS credentials (IAM role, profile, env vars) |
| System prompt | system_instruction= (full instructions, all modalities) | system=[{"text": ...}] (persona only for multimodal) |
| Tools | function_declarations (OpenAPI schema) | toolSpec (JSON Schema) |
| Tool mode | tool_config.mode (AUTO/ANY/NONE) | toolChoice (auto/any/tool) |
| Structured output | response_mime_type + response_schema | Inline prompt schema or tool-forcing |
| Reasoning | thinking_config=ThinkingConfig(...) | additionalModelRequestFields={"reasoningConfig": {...}} |
| Streaming | generate_content_stream() | converse_stream() |
| Stateful turns | previous_interaction_id, store=true | Pass full message history each call |
| Media ordering | Any order | Media MUST precede text |
When the source model supports thinking and it's enabled, the skill asks the user which Nova effort level to use:
| Nova effort | Config |
|---|---|
low | additionalModelRequestFields={"reasoningConfig": {"type": "enabled", "maxReasoningEffort": "low"}} |
medium | additionalModelRequestFields={"reasoningConfig": {"type": "enabled", "maxReasoningEffort": "medium"}} |
high | additionalModelRequestFields={"reasoningConfig": {"type": "enabled", "maxReasoningEffort": "high"}} — must omit inferenceConfig |
If the source model has no native thinking (e.g. gemini-2.0-flash), or thinking isn't enabled, omit additionalModelRequestFields entirely (reasoning is disabled by default).
This skill ships as the gemini-to-nova-migration plugin via the aws-samples-amazon-nova-samples marketplace.
Add the marketplace, then install the plugin:
/plugin marketplace add https://github.com/aws-samples/amazon-nova-samples
/plugin install gemini-to-nova-migration@aws-samples-amazon-nova-samples
After install, invoke the skill on your Gemini code with /gemini-to-nova.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub aws-samples/amazon-ai-samples --plugin gemini-to-nova-migrationPlugins from other owners that cover similar ground