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.2MIT-0In 1 marketplace
Converts OpenAI Python code and prompts to Amazon Nova 2 Lite on Bedrock, rewriting the request format and prompt structure for Nova. Migrated code needs AWS credentials and Bedrock access to run, and each change is explained.
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
openai-migration, amazon-bedrock, amazon-nova, boto3, prompt-rewriting, python-migration, gpt-to-nova, bedrock ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
An Agent Skill that migrates OpenAI Python code and prompts to Amazon Nova 2 Lite (us.amazon.nova-2-lite-v1:0) on Amazon Bedrock.
The skill converts SDK calls (openai → boto3 Bedrock Runtime converse) and rewrites prompts to follow Nova 2 Lite formatting and constraints. This is not a one-line model swap — authentication, message structure, parameter nesting, and error handling all change. 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 two source situations:
api.openai.com) — GPT-4o, GPT-4.1, GPT-5.x, and legacy GPT-4 / GPT-3.5, across the Chat Completions, Responses, and Assistants API styles.| Source | Detected from |
|---|---|
| OpenAI API — Chat Completions | client.chat.completions.create(...) |
| OpenAI API — Responses | client.responses.create(...) |
| OpenAI API — Assistants | client.beta.assistants.create(...) / client.beta.threads.* |
| OpenAI on Bedrock — Responses | openai/BedrockOpenAI client on a bedrock-mantle base URL, openai.gpt-5.5 / openai.gpt-5.4 |
| OpenAI on Bedrock — Converse/other | boto3 converse/invoke_model with an openai.gpt-oss-* model ID |
Target: us.amazon.nova-2-lite-v1:0
openai-to-nova-migration/
├── SKILL.md # Skill instructions and migration workflow
├── README.md # This file
└── references/
├── feature-mapping.md # Complete OpenAI → Nova mapping tables
├── code-examples.md # Before/after code patterns
├── chat-completions-patterns.md # Chat Completions, Responses API + Assistants API specifics
└── openai-on-bedrock-patterns.md # OpenAI models hosted on Bedrock (GPT-5.5/5.4, gpt-oss) → Nova
| Area | Detail |
|---|---|
| SDK | openai → boto3 bedrock-runtime converse / converse_stream |
| Auth | OPENAI_API_KEY (bearer token) → AWS IAM credentials |
| Request structure | role: "system" message → system=[{"text": ...}]; flat string content → typed content blocks |
| Inference params | Top-level max_tokens/temperature/top_p → nested inferenceConfig with camelCase |
| Prompt format | Free-form → ##Section Name## delimiters with canonical Nova section names |
| Multimodal | Enforces system-prompt-is-persona-only rule, media-before-text ordering, URL/base64 → raw bytes |
| Function calling | tools (function) → toolSpec, tool_choice → toolChoice |
| Structured output | response_format → inline schema (simple) or tool-forcing (complex) |
| Reasoning | reasoning_effort (GPT-5.x) → additionalModelRequestFields.reasoningConfig, mapped to a Nova effort level |
| Built-in tools | Assistants code interpreter / file search → Nova nova_code_interpreter / Bedrock Knowledge Bases |
| Error handling | RateLimitError / APIError → ThrottlingException / ValidationException |
| OpenAI | Nova 2 Lite | |
|---|---|---|
| SDK | openai | boto3 bedrock-runtime |
| Call | client.chat.completions.create() / client.responses.create() | client.converse() |
| Auth | OPENAI_API_KEY | AWS credentials (IAM role, profile, env vars) |
| System prompt | {"role": "system", ...} message | system=[{"text": ...}] (persona only for multimodal) |
| Message content | Flat string | Typed content blocks ([{"text": ...}]) |
| Inference params | Top-level max_tokens, temperature, top_p | Nested inferenceConfig (maxTokens, temperature, topP) |
| Tools | tools=[{"type": "function", ...}] | toolConfig={"tools": [{"toolSpec": ...}]} |
| Tool choice | tool_choice (auto/required/none) | toolChoice (auto/any/tool) |
| Structured output | response_format (JSON schema) | Inline prompt schema or tool-forcing |
| Reasoning | reasoning_effort (GPT-5.x) | additionalModelRequestFields={"reasoningConfig": {...}} |
| Streaming | stream=True | converse_stream() |
| Stateful turns | Assistants threads, previous_response_id | Pass full message history each call |
| Images | URL or base64 data URI | Raw binary bytes; media MUST precede text |
| Errors | RateLimitError / APIError | ThrottlingException / ValidationException |
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 openai-to-nova-migrationPlugins from other owners that cover similar ground