Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

bentoml-deploy-scriptgen

Skill by bentoml

Generates a standalone, committable deploy-script bundle that builds, containerizes, pushes, deploys and verifies a BentoML service. It runs from a terminal or CI/CD without an agent, for Kubernetes and EC2 targets.

  • Score 90
  • 9k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install bentoml-deploy-scriptgen

Built from the published package, never by AI.

git clone --depth 1 https://github.com/bentoml/BentoML /tmp/BentoML && mkdir -p ~/.claude/skills && cp -r /tmp/BentoML/skills/bentoml-deploy-scriptgen ~/.claude/skills/bentoml-deploy-scriptgen

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install bentoml-deploy-scriptgen in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill generates a deploy bundle for a BentoML project. The bundle contains a deploy/deploy.py script and a config.yml that holds only overrides. Kubernetes manifests are rendered from that config on each run, so the user does not write them by hand. The script builds the bento, containerizes it, pushes the image, deploys it, and checks that the service is ready. Service topology is read from the bento's own bento.yaml, not from the config.

The generated script can run from a terminal or CI/CD. It supports a check-only mode for credential-free pull request gates and a render-only mode for review before apply. The skill is for teams that want to repeat a BentoML deploy automatically. The interactive bentoml-k8s-deploy and bentoml-ec2-deploy skills cover one-off deploys with the user in the loop.

Written from the project's SKILL.md and checked against it.

What it can do

  • Deploy bundle generationCreates deploy/deploy.py and a config.yml that the user can commit to the project.
  • Kubernetes deploysBuilds, pushes and applies Deployments, Services and optional HPAs and Ingress to a cluster.
  • EC2 deploysPulls and runs the image on existing EC2 hosts over SSH, with a container-up check.
  • Render-only modeWrites Kubernetes manifests to disk without contacting a cluster, for review or GitOps.
  • Check-only modeRuns preflight checks, optionally without credentials, for CI pull request gates.
  • Post-deploy verificationChecks the readiness endpoint and can run an inference smoke test on the entry service.
  • Dependency-call proofConfirms that dependent services were actually called during the smoke test.
  • Machine-readable summaryPrints a JSON summary as the last stdout line, with documented exit codes 0 to 7.

What you need

  • Python 3.9 or newer
  • PyYAML
  • bentoml, docker and kubectl CLIs
  • AWS CLI for ECR or EC2 targets
  • An existing Kubernetes namespace or EC2 instances

Try asking

  • Generate a deployment script I can commit to deploy this BentoML service
  • Set up a CI/CD deploy pipeline for my BentoML project on Kubernetes
  • Create a config.yml with overrides for an EC2 deploy of this service

Good to know

  • EC2 deploys target existing instances only; new hosts need the bentoml-ec2-deploy skill first.
  • The script never creates Kubernetes namespaces.
  • Pre-v4 bundle configs are rejected and must be regenerated.
  • Scripts are fixed templates; needs not expressible in config.yml require the manifests_dir escape hatch.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/bentoml-deploy-scriptgen/SKILL.md, skills/bentoml-deploy-scriptgen/templates/deploy/_internal/__init__.py, skills/bentoml-deploy-scriptgen/templates/deploy/_internal/arch.py, skills/bentoml-deploy-scriptgen/templates/deploy/_internal/common.py, skills/bentoml-deploy-scriptgen/templates/deploy/_internal/config.py, skills/bentoml-deploy-scriptgen/templates/deploy/_internal/context.py, skills/bentoml-deploy-scriptgen/templates/deploy/_internal/preflight.py, skills/bentoml-deploy-scriptgen/templates/deploy/_internal/render.py, skills/bentoml-deploy-scriptgen/templates/deploy/_internal/targets/__init__.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md26 KB
  • templates/deploy/README.md45 KB
  • templates/deploy/_internal/__init__.py264 B
  • templates/deploy/_internal/arch.py8 KB
  • templates/deploy/_internal/common.py8 KB
Show all 16 files
  • templates/deploy/_internal/config.py70 KB
  • templates/deploy/_internal/context.py1 KB
  • templates/deploy/_internal/preflight.py21 KB
  • templates/deploy/_internal/render.py25 KB
  • templates/deploy/_internal/targets/__init__.py1014 B
  • templates/deploy/_internal/targets/ec2.py39 KB
  • templates/deploy/_internal/targets/k8s.py72 KB
  • templates/deploy/_internal/topology.py22 KB
  • templates/deploy/config.minimal.yml105 B
  • templates/deploy/config.yml18 KB
  • templates/deploy/deploy.py27 KB

Alternatives to bentoml-deploy-scriptgen

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

bentoml-deploy-scriptgen: common questions

Does the generated script need an AI agent to run?

No. The source says the bundle runs from a terminal or CI/CD without any agent involved.

Which deployment targets are supported?

The source lists Kubernetes and EC2 targets.

Where does the service list come from?

The source says the service list, entry service and dependency order are read from the bento's bento.yaml at run time, so config.yml only holds overrides.

How do I install bentoml-deploy-scriptgen?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is bentoml-deploy-scriptgen free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is bentoml-deploy-scriptgen safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to bentoml-deploy-scriptgen?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

bentoml-deploy-scriptgen Install

Add to stack

Loading.