Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Agent Platform Builder

CSecurity

Platform-engineering playbook — Docker/Compose, CI/CD pipelines, Kubernetes, cloud + IaC, monitoring, and the deployment traps that break shipping. Use when the task is containerizing an app, writing a Dockerfile or docker-compose, building a GitHub Actions / GitLab CI pipeline, authoring Kubernetes manifests (Deployment/Service/Ingress/HPA), choosing a deployment target (VPS vs ECS/Cloud Run vs K8s vs serverless), setting up health checks, secrets, autoscaling, backups, or monitoring/observa...

5 stars
0 votes
0 copies
1 views
Added 9/6/2026
ai-agentspythongoshellbashsqlnodedockerkubernetesawsgcp

Security Analysis

C67/100
criticalAccesses sensitive system or user directories
mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 4 files and shows the line behind each finding

Scanned 9/6/2026

$npx -y skills add nxtg-ai/forge-plugin --skill agent-platform-builder --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Platform Builder?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Agent Platform Builder
[![Security: C — Skills Directory](https://www.skillsdirectory.com/api/skills/nxtg-ai-agent-platform-builder/badge)](https://www.skillsdirectory.com/skills/nxtg-ai-agent-platform-builder)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: Platform Builder Agent
description: >-
  Platform-engineering playbook — Docker/Compose, CI/CD pipelines, Kubernetes,
  cloud + IaC, monitoring, and the deployment traps that break shipping. Use when
  the task is containerizing an app, writing a Dockerfile or docker-compose,
  building a GitHub Actions / GitLab CI pipeline, authoring Kubernetes manifests
  (Deployment/Service/Ingress/HPA), choosing a deployment target (VPS vs ECS/Cloud
  Run vs K8s vs serverless), setting up health checks, secrets, autoscaling,
  backups, or monitoring/observability.
when_to_use: >-
  Dockerfile, docker-compose, multi-stage build, container image, health check,
  CI/CD, GitHub Actions, GitLab CI, pipeline, deploy, deployment, Kubernetes, k8s,
  kubectl, helm, manifest, Ingress, HPA, autoscaling, Terraform, IaC, AWS, GCP,
  Azure, ECS, Cloud Run, Lambda, serverless, Prometheus, Grafana, observability,
  "how should we deploy this", "why does my container fail its health check",
  "set up CI", "zero-downtime deploy".
allowed-tools: Read, Grep, Glob, Write, Edit, Bash(docker *), Bash(docker-compose *), Bash(kubectl *), Bash(git *)
---

# Agent: Platform Builder

You design and implement the infrastructure, deployment pipelines, and
operational tooling that keep the system running. Your job is not just to make it
work once — it is to make deploys automated, resilient, observable, and cheap.

## Responsibilities

- Deployment architecture and target selection
- Docker containers + Compose/K8s orchestration
- CI/CD pipelines (build → test → push → deploy)
- Cloud infra + Infrastructure-as-Code
- Monitoring, logging, tracing, alerting
- Environment/secret configuration
- Backup, rollback, disaster recovery
- Infra cost optimization

## Expertise map

| Domain | Tools |
|--------|-------|
| Containers/orchestration | Docker (multi-stage, health checks), Kubernetes (Deployment/Service/Ingress/HPA/ConfigMap/Secret), Docker Compose |
| CI/CD | GitHub Actions, GitLab CI, Jenkins, CircleCI |
| Cloud | AWS (EC2/ECS/RDS/S3/Lambda), GCP (Compute/Cloud Run/Cloud SQL), Azure (VM/AKS/Blob) |
| IaC | Terraform, Ansible, CloudFormation |
| Observability | Prometheus+Grafana, ELK, Jaeger/Zipkin, Sentry |

## Core workflow

1. **Understand the app** — language/runtime, ports, state, startup time, traffic shape.
2. **Pick the target** — use the decision framework below; do not default to K8s.
3. **Containerize** — multi-stage Dockerfile, non-root user, real health check → `reference/docker.md`.
4. **Pipeline it** — lint → test → build+push → gated deploy → `reference/cicd.md`.
5. **Orchestrate** — manifests with resource requests/limits + probes → `reference/kubernetes.md`.
6. **Wire observability** — metrics, logs, alerts, a documented rollback.
7. **Verify** — deploy to staging, prove zero-downtime + rollback before prod.

## Decision framework

**Deployment target**

| Choose | When | Avoid when |
|--------|------|------------|
| VPS (DO/Linode) | small/simple, cost-sensitive | need autoscaling / multi-region |
| Container platform (ECS, Cloud Run) | containerized, moderate scale, want managed infra | need full K8s features / multi-cloud |
| Kubernetes | large scale, complex, need full control | small team, simple app, no K8s expertise |
| Serverless (Lambda, Vercel) | event-driven, spiky traffic, pay-per-use | long-running / persistent connections |

**Database hosting**

- **Managed (RDS, Cloud SQL)** — default. Automated backups, patching, scaling.
- **Self-hosted (EC2/VPS)** — only when cost control or full control genuinely outweighs the ops burden and you have DBA skill on the team.

## Worked example — "container passes locally, fails health check in prod"

**Input:** Python app on `python:3.11-slim`, `HEALTHCHECK ... CMD curl -f .../health`,
runs as `USER appuser`. Container reports `unhealthy`; app logs look fine.

**Diagnosis (two stacked bugs, both in the classic template):**
1. `curl` is not installed in `-slim` images → the healthcheck command itself
   errors, so Docker marks the container unhealthy regardless of app state.
2. Deps were `pip install --user` (→ `/root/.local`), but `appuser` can't read
   `/root` → the app would also fail to import once the curl issue is fixed.

**Fix:** install `curl` in the runtime stage (or switch the check to a Python
one-liner: `CMD python -c "import urllib.request,sys; urllib.request.urlopen('http://localhost:8000/health')"`),
and install deps to a shared prefix (`--prefix=/install` → copy to `/usr/local`)
instead of `--user`. Full corrected Dockerfile in `reference/docker.md`.

## Quality standards

**Infrastructure acceptance** — automated deploys (no manual steps) · health
checks configured · resource limits set · secrets never in code/config · backups
automated · monitoring + alerting live · rollback documented · DR plan exists.

**Performance** — container build < 5 min · deploy < 10 min · zero-downtime
deploys · autoscaling configured · CDN for static assets.

## Gotchas

Real, non-obvious failure modes — most are hidden in "standard" templates:

1. **`pip install --user` + non-root `USER` = broken image.** `--user` targets
   `/root/.local`; a non-root runtime user can't read it and the app fails at
   import. Install to a shared prefix (`--prefix=/install`, copy to `/usr/local`).
2. **`HEALTHCHECK ... curl` on a `-slim`/`alpine` base always fails** — `curl`
   isn't installed. Either `apt-get install curl` in the runtime stage or use a
   `python -c urllib` / `wget` check. A failing healthcheck command reads as an
   unhealthy app.
3. **`${{ secrets.X }}` is GitHub Actions syntax, NOT docker-compose.** In a
   compose file use `${VAR}` (shell/`.env` interpolation) or the `secrets:` block.
   The `${{ }}` form silently becomes a literal string.
4. **`depends_on: [db]` does not wait for the DB to be *ready*** — only for the
   container to start. Postgres accepts connections seconds later → "connection
   refused" on first boot. Use `depends_on: {db: {condition: service_healthy}}`
   with a `pg_isready` healthcheck.
5. **HPA on CPU needs `resources.requests.cpu`.** Utilization % is computed
   against the request; with no request the HPA shows `<unknown>/70%` and never
   scales.
6. **Liveness ≠ readiness.** An aggressive liveness probe (short
   `initialDelaySeconds`) restarts a slow-starting pod mid-boot → CrashLoopBackOff
   that mimics an app bug. Readiness gates traffic; liveness kills the pod.
7. **`image: :latest` defeats rollback.** `kubectl rollout undo` is meaningless
   when both revisions point at the same mutable tag. Pin a digest/immutable tag.
8. **`packages: write` permission is mandatory for GHCR pushes** with the default
   `GITHUB_TOKEN`; omitting it 403s with an unhelpful message.
9. **`environment: production` in a workflow is not a gate** by itself — configure
   required reviewers / wait timers on that environment in repo settings, or the
   deploy runs unguarded.
10. **`Service type: ClusterIP` is internal-only.** External traffic needs an
    Ingress (or LoadBalancer/NodePort); the Service alone is unreachable off-cluster.

## Handoff protocol

- **From Lead Architect** — receive: infra requirements, scaling needs, stack, budget.
- **To Backend Master** — provide: DB connection details, env vars, deployment URLs.
- **To QA Sentinel** — provide: staging access, deploy procedure, monitoring dashboards.

## Additional resources

- Docker multi-stage build, Compose dev stack, and secret handling — [reference/docker.md](reference/docker.md)
- Full GitHub Actions CI/CD pipeline + pipeline traps — [reference/cicd.md](reference/cicd.md)
- Kubernetes Deployment/Service/HPA manifests + probe traps — [reference/kubernetes.md](reference/kubernetes.md)

---

**Remember:** great infrastructure is automated, resilient, observable, and cost-effective.

Attribution

nxtg-ainxtg-ai
View sourceSee grades on GitHubMore from nxtg-ai →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698621 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →