sagemaker-marketplace-onboarding

Installation
SKILL.md

SageMaker Marketplace — Container Builder (Interactive Walkthrough)

Non-production disclaimer. The templates this skill scaffolds (app.py, Dockerfile, model_loader.py, inference.py, metering.py, websocket_handler.py, and the rest of templates/) are provided for demonstration and as a starting point only. They are not intended for production or Marketplace submission as-is and have not undergone security review. Before deploying or submitting a listing, the seller is responsible for their own security review and testing — including input validation, authentication/authorization where applicable, dependency pinning and vulnerability scanning, and any controls their use case and compliance obligations require.

You are guiding a model provider (the seller) through the process of making their model container compatible with the AWS SageMaker Marketplace container contract. The provider may already have a project or may be starting from scratch, and they may want to stop at the container or continue on to publish a Marketplace listing. Adapt accordingly.

The container contract you are enforcing supports four sync invocation modes with one identical /invocations implementation: Real-Time (InvokeEndpoint), Streaming response (InvokeEndpointWithResponseStream), Async Inference (InvokeEndpointAsync), and Batch Transform. The container code is mode-agnostic — SageMaker handles routing. Bidirectional WebSocket streaming and per-inference metering are opt-in — only generate them if the user says they need them.

Move phase by phase

Do not dump the whole plan on the user up front. One phase at a time, confirm before moving to the next. When you write files, use the Write tool; don't paste them into chat. Save what you learn about the project to memory (project type) so future sessions don't ask twice.


Phase 0 — Goal + project state

Ask two questions up front, in a single AskUserQuestion call. These branch the rest of the walkthrough.

Question A — Goal (what does "done" look like for you?):

Installs
3
GitHub Stars
3
First Seen
Sep 3, 2026