litestar-deployment

litestar-deployment is a skill for Claude Code from litestar-org/litestar-skills. It costs 47 tokens per session (3,342 once invoked), scanned B, original, MIT.

Production-running guidance for Litestar ASGI applications, which are Python web applications using an asynchronous server interface. It covers Docker, cloud platforms, Kubernetes, systemd, health checks, and runtime configuration.

In plain words
What is it for?
Use it to create Docker and deployment files, run Litestar with Granian, configure workers and health checks, and deploy to Railway, Cloud Run, GKE, Kubernetes, or systemd.
Why use it?
It provides consistent deployment setups while keeping packaging, secrets, asset building, and application startup concerns separate.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the litestar plugin — 20 skills, 1 agent shipped together

Good fit Use it to create Docker and deployment files, run Litestar with Granian, configure workers and health checks, and deploy to Railway, Cloud Run, GKE, Kubernetes, or systemd.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/litestar-org/litestar-skills/litestar-deployment
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add litestar-org/litestar-skills --skill litestar-deployment
Clone the repo
git clone --depth 1 https://github.com/litestar-org/litestar-skills

Made for: Claude Code.

Or install litestar, the plugin that ships this one along with the rest of its 20 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for litestar-deployment

README.md
[![agentmods](https://agentmods.dev/badge/skills/litestar-org/litestar-skills/litestar-deployment/github.svg)](https://agentmods.dev/skills/litestar-org/litestar-skills/litestar-deployment)
Your own site
<a href="https://agentmods.dev/skills/litestar-org/litestar-skills/litestar-deployment"><img src="https://agentmods.dev/badge/skills/litestar-org/litestar-skills/litestar-deployment/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for litestar-deployment

Your own site · 80×15
<a href="https://agentmods.dev/skills/litestar-org/litestar-skills/litestar-deployment"><img src="https://agentmods.dev/badge/skills/litestar-org/litestar-skills/litestar-deployment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,342 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.03342
Opus 5.5 $0.00019 $0.01337
Sonnet 5.5 $0.00009 $0.00668
Haiku 4.5 $0.00005 $0.00334

Measured 7d ago against content hash 195e1d47551e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

litestar-deployment scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **Never run as root.** `USER nonroot` in Dockerfile. `runAsNonRoot: true` in K8s pod security context.
skills/litestar-deployment/SKILL.md · 201 lines

How it starts

The opening of the file, as written. The whole thing — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Litestar Deployment

Production deployment patterns for Litestar ASGI applications across Docker, Railway, Kubernetes/GKE, Cloud Run, and systemd. Covers multi-stage Dockerfiles, distroless images, asset pipelines, worker containers, and health-check integration.

All deployment paths use Granian (via litestar-granian) as the ASGI server, uv for Python package management, and Bun for frontend asset builds.

Build vs. deploy split: this skill is about running Litestar artifacts in production. For producing those artifacts — wheel bundling with embedded Vite assets, PyApp onefile binaries, GitHub Actions CI/release pipelines — see litestar-build.

Code Style Rules

  • from __future__ import annotations is allowed in consumer-app modules (Dockerfiles, deploy scripts, settings).
  • All Python samples use PEP 604 unions (T | None).
  • Granian over uvicorn in every CMD/entrypoint. Use litestar run (which delegates to Granian when litestar-granian is installed).
  • Environment-driven configuration via @dataclass settings — never hardcode secrets or connection strings.
  • Shell scripts follow Google Shell Style Guide (set -euo pipefail, quoted variables).

Quick Reference

Target Reference Key File
Litestar App & Cloud IAP references/litestar-app.md asgi.py, IAP middleware
Docker (standard multi-stage) references/docker-standard.md Dockerfile
Docker (distroless production) references/docker-distroless.md Dockerfile.distroless
Background worker container (litestar-saq / litestar-queues) references/docker-workers.md Dockerfile.worker
Docker Compose (app + infra) references/docker-compose.md docker-compose.yml
Railway references/railway.md railway.app.json
Kubernetes / GKE references/kubernetes.md deploy.py, templates/
Cloud Run (Services & Jobs) references/cloud-run.md service.yaml
systemd native references/systemd.md litestar.service

Read the full file on GitHub · 201 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed 195e1d47551e
  2. 17d ago Changed 14da58588ff8
  3. 26d ago Changed 737fadd595a6
  4. 1mo ago Changed · +10 lines 0131a754a076
  5. 1mo ago Changed 4471592efde8
  6. 2mo ago Changed · +11 lines 62adf3606608
  7. 3mo ago First seen · 180 lines · 47 tokens per session scan B 8942919b927e

Subscribe to this mod's changes

litestar-deployment is a skill published in the GitHub repository litestar-org/litestar-skills (19 stars, last pushed 7d ago), licensed MIT. It adds 47 tokens to every session and 3,342 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

litestar-deployment compared with skills from other repositories

litestar-deployment next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
litestar-deploymentlitestar-org/litestar-skillsSkill197d agoMITB47Claude Code
kuberneteswpank/aiSkill129mo agononeA129Claude Code, Codex
hostattac-t/the-foundrySkill11mo agononeC66Claude Code
deploy-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA91Claude Code
activate-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA45Claude Code
deploymicrosoft/power-platform-skillsSkill1.2ktodayMITA32Claude Code
deployoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA46Claude Code