Skip to content
Skill

Openai to nova

Converts OpenAI Python code and prompts to Amazon Nova 2 Lite on Bedrock

Openai to nova is an open-source agent skill for ai models and llm tooling. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
469
Last commit
License
MIT-0
Listing updated

Similar skills

About Openai to nova

This skill guides an agent through porting Python applications from the openai SDK, or OpenAI models already hosted on Amazon Bedrock, to Nova 2 Lite through boto3 and the Bedrock Runtime converse API. It walks the agent through identifying the source API style, choosing a region-prefixed model ID, and moving system prompts, message content, inference parameters, tool definitions and structured output into the Nova format.

The workflow also covers prompt rewriting into Nova's section-delimited structure, reasoning configuration with a choice of Nova effort levels, and a validation checklist the agent must pass before presenting the result. Features with no direct equivalent, such as Assistants threads or built-in file search, are flagged with suggested AWS alternatives like Knowledge Bases, Nova Canvas, Polly or Nova Sonic.

The skill expects Python source code as input and an AWS account with Bedrock access and the Nova 2 Lite model enabled for the code it produces to run. It ships reference files covering field mappings, before-and-after examples and OpenAI-on-Bedrock patterns, and contains no scripts.

When your agent uses it

Migrate OpenAI GPT-4o/4.1/5.x Python code and prompts to Amazon Nova 2 Lite. Use when converting OpenAI Python API code (openai SDK — Chat Completions, Responses, or Assistants API) to Nova 2 Lite (boto3 Bedrock Runtime), migrating OpenAI models hosted on Amazon Bedrock (GPT-5.5/5.4 via the Responses API, or gpt-oss) to Nova, rewriting OpenAI prompts for Nova format, or migrating function calling, structured output, multimodal, or reasoning features from OpenAI to Nova.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 7 files (75 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the openai-to-nova-migration plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add aws-samples/amazon-ai-samples
/plugin install openai-to-nova-migration@aws-samples-amazon-nova-samples

Or copy only this skill to ~/.claude/skills/openai-to-nova:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-samples/amazon-ai-samples.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/openai-to-nova &&
cp -R "$tmp/skills/openai-to-nova-migration" ~/.claude/skills/openai-to-nova &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/openai-to-nova inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/openai-to-nova to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-samples/amazon-ai-samples.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/openai-to-nova &&
cp -R "$tmp/skills/openai-to-nova-migration" ~/.agents/skills/openai-to-nova &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/openai-to-nova inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/openai-to-nova to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-samples/amazon-ai-samples.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/openai-to-nova &&
cp -R "$tmp/skills/openai-to-nova-migration" ~/.cursor/skills/openai-to-nova &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/openai-to-nova inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/aws-samples/amazon-ai-samples.git --path skills/openai-to-nova-migration

Or copy the folder to ~/.gemini/skills/openai-to-nova yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/openai-to-nova:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-samples/amazon-ai-samples.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/openai-to-nova &&
cp -R "$tmp/skills/openai-to-nova-migration" ~/.copilot/skills/openai-to-nova &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/openai-to-nova inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/aws-samples/amazon-ai-samples.git

Then copy amazon-ai-samples/skills/openai-to-nova-migration into your agent's skills folder as openai-to-nova. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Converse API Migration
Rewrites OpenAI SDK calls into boto3 Bedrock Runtime converse requests with IAM authentication.
Prompt Restructuring
Reorganizes loose prompts into Nova's section-delimited format with explicit task, context and format sections.
Tool Calling Conversion
Maps OpenAI function definitions and tool_choice settings onto Nova toolSpec and toolChoice fields.
Structured Output Handling
Replaces response_format JSON requests with inline schemas or forced tool calls depending on size.
Reasoning Effort Mapping
Asks which Nova reasoning level to use and adjusts inference settings accordingly.
Unportable Feature Flags
Identifies Assistants API features that lack a direct equivalent and suggests AWS replacements.

Good for

  • Port a GPT-4o chatbot script to call Nova 2 Lite through Bedrock
  • Convert an OpenAI function-calling app to Nova tool definitions
  • Rewrite a GPT-5 Responses API workflow for Nova 2 Lite
  • Move a multimodal image prompt from OpenAI to Nova's media-first format
  • Switch a Bedrock gpt-oss Converse call to a Nova model ID

Openai to nova FAQ

Which model ID does the skill use by default?

It defaults to us.amazon.nova-2-lite-v1:0 unless the user asks for a different region-prefixed ID such as eu, jp or global.

Does Openai to nova need AWS credentials to run?

AWS credentials and Bedrock access are only needed when running the migrated code; the migration itself runs inside the host tool.

Can Openai to nova migrate OpenAI Assistants threads directly?

No. Threads and persistent state must be managed externally by passing full message history, and built-in file search maps to Bedrock Knowledge Bases.

Does Openai to nova work with non-Python OpenAI code?

No. The examples and mappings target the Python openai SDK and boto3.

How do I install Openai to nova in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/openai-to-nova to use it in all your projects, or to .claude/skills/openai-to-nova in one project. Or install the openai-to-nova-migration plugin, which includes it: /plugin marketplace add aws-samples/amazon-ai-samples, then /plugin install openai-to-nova-migration@aws-samples-amazon-nova-samples.

Does Openai to nova run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Openai to nova?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Openai to nova?

The closest alternatives to Openai to nova are Gemini to nova, Nova migrate, Nova2 prompt, Titan nova mme migration and Nova1 prompt.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from aws-samples/amazon-ai-samples

  1. Sets up Claude Code, Codex and OpenCode to run Amazon Ergo 1.0 on Bedrock

    • Open source
    • 469 GitHub stars
    • Cloud and infrastructure
  2. Migrates Gemini Python code and prompts to Amazon Nova 2 Lite on Bedrock

    • Open source
    • 469 GitHub stars
    • AI models and LLM tooling
  3. Ports prompts from other LLMs to Amazon Nova and checks quality with evaluation runs

    • Open source
    • 469 GitHub stars
    • AI models and LLM tooling
  4. Rewrites and optimizes prompts specifically for Amazon Nova 1 models

    • Open source
    • 469 GitHub stars
    • AI models and LLM tooling
  5. Rewrites and tunes prompts for Amazon Nova 2 Lite, including multimodal inputs

    • Open source
    • 469 GitHub stars
    • Design and media
  6. Writes and reviews system prompts and tool descriptions for Nova Sonic 2.5 voice agents

    • Open source
    • 469 GitHub stars
    • AI models and LLM tooling