deployment

A guide to deployment, the process of putting an application on an internet-connected server so other people can use it.

In plain words
What is it for?
Use it when working with hosting, Dockerfiles, continuous integration and delivery, or configurations for platforms such as Vercel, Netlify, Railway, Render, AWS, GCP, and Azure.
Why use it?
It explains the difference between local development, testing environments, and a live production site, reducing confusion when an app leaves your computer.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/wewpellex21/code-sensei/deployment
Any agent
npx skills add wewpellex21/code-sensei --skill deployment
Clone the repo
git clone --depth 1 https://github.com/wewpellex21/code-sensei

Made for: Claude Code, Codex.

Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 608 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00037 $0.00608
Opus 5 $0.00018 $0.00304
Sonnet 5 $0.00007 $0.00122
Haiku 4.5 $0.00004 $0.00061

Measured yesterday against content hash ce325d1ced23, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

deployment scanned grade A with 0 findings 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 yesterday.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to deployment — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/deployment/SKILL.md · 42 lines

How it starts

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

Deployment — CodeSensei Teaching Module

What is Deployment?

  • Analogy: Deployment is moving from rehearsal to opening night. Your app works on your computer (localhost), and deployment puts it on a server so the whole world can use it.
  • Key insight: When you run npm start on your computer, only YOU can see the app. Deployment puts it on someone else's computer (a server) that's always on and connected to the internet.

Localhost vs Production

  • localhost — your computer, only you can access it. The rehearsal stage.
  • Production — a server in the cloud, anyone with the URL can access it. Opening night.
  • Staging — a test server that mimics production. The dress rehearsal.

Common Deployment Platforms

  • Vercel — one-click deployment for Next.js/React apps. Push to GitHub, it deploys automatically.
  • Netlify — similar to Vercel, great for static sites and simple apps.
  • Railway / Render — for backend apps with databases.
  • AWS / GCP / Azure — the industrial-grade options. More complex but more powerful.
  • Key insight: For most vibecoded projects, Vercel or Railway is all you need.

Domains & DNS

  • Analogy: A domain name (like myapp.com) is a nickname for your server's actual address (an IP like 192.168.1.1). DNS is the phone book that translates names to addresses.
  • Teaching flow: User types myapp.com → DNS looks up the address → Browser connects to the server → Server sends the app

Environment Variables in Production

  • Key insight: Your .env file doesn't get uploaded. You set environment variables SEPARATELY in your hosting platform's dashboard.
  • Why: Security. Your code is often public (on GitHub), but your secrets shouldn't be.

CI/CD (Continuous Integration / Continuous Deployment)

  • Analogy: An automatic assembly line. Every time you push code to GitHub, the system automatically tests it, builds it, and deploys it — without you clicking anything.
  • Key insight: This is why developers "push to main" to deploy. The pipeline handles the rest.

Read the full file on GitHub · 42 lines

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. yesterday First seen · 42 lines · 37 tokens per session scan A ce325d1ced23

Subscribe to this mod's changes

deployment is a skill published in the GitHub repository wewpellex21/code-sensei (3 stars, last pushed 3d ago), licensed MIT. It adds 37 tokens to every session and 608 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to deployment, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

agent-squad-python

Use when building or modifying a Python app that uses the agent-squad Python package — async multi-agent orchestration for Python 3.11+: orchestrator, agents (BedrockLLMAgent, AnthropicAgent, OpenAIAgent, SupervisorAgent, GroundedAgent, ChainAgent, and more), classifier routing (Bedrock, Anthropic, OpenAI), storage…

2FastLabs/agent-squad · 113 tokens

agent-squad-typescript

Use when building or modifying a Node.js / TypeScript app that uses the agent-squad npm package — multi-agent orchestration: orchestrator, agents (all built-in types + GroundedAgent), classifier routing (Bedrock / Anthropic / OpenAI), storage (in-memory / DynamoDB / SQL), retrievers (Amazon KB / Dakera), and tools…

2FastLabs/agent-squad · 87 tokens

agent-squad-swift

Use when building or modifying a Swift app that uses the AgentSquad Swift framework — on-device multi-agent orchestration for iOS 16+ / macOS 14+: orchestrator, agents (Agent, GroundedAgent), classifier routing, LLM clients (OpenAI-compatible), tools (native + MCP), tool UIs/widgets, on-device storage, tracing, and…

2FastLabs/agent-squad · 91 tokens

verify-pr

Comprehensive PR readiness check before merge. Run quality checks, tests, CI, documentation, AWS resource cleanup, and code review.

go-to-k/cdkd · 29 tokens

nx-plugin-for-aws

Scaffold and build cloud-native applications on AWS using @aws/nx-plugin generators. Use when the user wants to create workspaces, generate projects, or scaffold infrastructure with the Nx Plugin for AWS.

awslabs/nx-plugin-for-aws · 46 tokens

run-integ

Run integration tests (deploy + destroy) against real AWS. Use when you need to verify cdkd works end-to-end with actual AWS resources.

go-to-k/cdkd · 34 tokens