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.
npx skills add litestar-org/litestar-skills --skill litestar-deploymentgit clone --depth 1 https://github.com/litestar-org/litestar-skillsWrote 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.
[](https://agentmods.dev/skills/litestar-org/litestar-skills/litestar-deployment)<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.
<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>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.
| Model | Per session | Once 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 |
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. 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 annotationsis 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 whenlitestar-granianis installed). - Environment-driven configuration via
@dataclasssettings — 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 |
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.
- references/cloud-run.md 9.3 KB
- references/docker-compose.md 4.8 KB
- references/docker-distroless.md 6.9 KB
- references/docker-standard.md 5.5 KB
- references/docker-workers.md 6.4 KB
- references/kubernetes.md 9.2 KB
- references/litestar-app.md 14 KB
- references/railway.md 4.3 KB
- references/systemd.md 3.7 KB
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.
- 7d ago Changed 195e1d47551e
- 17d ago Changed 14da58588ff8
- 26d ago Changed 737fadd595a6
- 1mo ago Changed · +10 lines 0131a754a076
- 1mo ago Changed 4471592efde8
- 2mo ago Changed · +11 lines 62adf3606608
- 3mo ago First seen · 180 lines · 47 tokens per session scan B 8942919b927e
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.
litestar-deployment compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| litestar-deploymentlitestar-org/litestar-skills | Skill | 19 | 7d ago | MIT | B | 47 | Claude Code |
| kuberneteswpank/ai | Skill | 12 | 9mo ago | none | A | 129 | Claude Code, Codex |
| hostattac-t/the-foundry | Skill | 1 | 1mo ago | none | C | 66 | Claude Code |
| deploy-sitemicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 91 | Claude Code |
| activate-sitemicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 45 | Claude Code |
| deploymicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 32 | Claude Code |
| deployoliver-kriska/claude-elixir-phoenix | Skill | 578 | 3d ago | MIT | A | 46 | Claude Code |