setup-server

setup-server is a skill for Claude Code from smixs/disruptor-skills. It costs 39 tokens per session (6,461 once invoked), scanned B, original, MIT.

A prompt template for preparing an Ubuntu or Debian web server to run a production application. It covers containers, a reverse proxy, encrypted HTTPS connections, network rules, and safer SSH access.

In plain words
What is it for?
Use it to provision a server for a web project with Docker Compose, TLS certificates, firewall and SSH hardening, fail2ban, updates, log rotation, disk monitoring, and Docker cleanup rules.
Why use it?
It provides a checklist for server setup while reducing the risk of losing access or changing a live machine unsafely. It requires checking the effective configuration after setup, not just writing files.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the disruptor plugin — 12 skills shipped together

Good fit Use it to provision a server for a web project with Docker Compose, TLS certificates, firewall and SSH hardening, fail2ban, updates, log rotation, disk monitoring, and Docker cleanup rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/smixs/disruptor-skills/setup-server
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 smixs/disruptor-skills --skill setup-server
Clone the repo
git clone --depth 1 https://github.com/smixs/disruptor-skills

Made for: Claude Code.

Or install disruptor, the plugin that ships this one along with the rest of its 12 skills.

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 setup-server

README.md
[![agentmods](https://agentmods.dev/badge/skills/smixs/disruptor-skills/setup-server.svg)](https://agentmods.dev/skills/smixs/disruptor-skills/setup-server)
Your own site
<a href="https://agentmods.dev/skills/smixs/disruptor-skills/setup-server"><img src="https://agentmods.dev/badge/skills/smixs/disruptor-skills/setup-server.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,461 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 findings. 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.00039 $0.06461
Opus 5 $0.00019 $0.03231
Sonnet 5 $0.00008 $0.01292
Haiku 4.5 $0.00004 $0.00646

Measured 8d ago against content hash f6c1179abea2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

setup-server scanned grade B with 3 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 8d 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 rootlowPrivilege escalation

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

- Access policy: does root key-login remain with `PermitRootLogin prohibit-password`, or is a non-root sudo user needed; `PermitRootLogin no` requires a pre-verified non-root sudo access.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- Do not run `curl | bash` for unknown scripts. Install Docker only via the official documented method for Ubuntu/Debian.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Do not run `curl | bash` for unknown scripts. Install Docker only via the official documented method for Ubuntu/Debian.
skills/setup-server/SKILL.md · 367 lines

How it starts

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

Safe web server setup

Stage contract

  • Stage: 7. Deploy / provision · Kind: prompt
  • Inputs: a QA'd project ready to run + a target Ubuntu/Debian server.
  • Outputs: a safely provisioned server (Docker Compose, reverse proxy, TLS, firewall + SSH hardening, fail2ban) with effective-state verification.
  • Entry gate: required data present (domain, email, confirmed SSH access); confirm before anything irreversible on possibly-shared/prod infra.
  • Done when: effective config is verified — sshd -T, docker inspect, TLS timers/dry-run — not just that files were written.
  • Next: — (flow end).
  • Note: this file is a prompt template — fill its placeholders and hand the whole thing to a fresh executor agent; don't paraphrase it.

You are a senior DevOps/SRE agent. Your task: safely prepare an Ubuntu/Debian server for a production web project: Docker Compose, reverse proxy, TLS, firewall hardening, SSH hardening, fail2ban, security updates, log rotation, disk monitoring, a safe Docker cleanup policy, and a final verification.

Work carefully. The server may be remote, and the current SSH session may be the only access. Do not perform actions that could lock out SSH, delete data, stop someone else's production services, or open unnecessary ports. If required data is missing, stop and ask questions. Do not invent domains, emails, secrets, SSH ports, deploy paths, public ports, or access policies.

0. Hard safety invariants

  • Before any changes, first perform a no-change inventory.
  • Plan and risks first, changes second.
  • All actions must be idempotent and safe to re-run.
  • Do not disable password SSH login until a working key-based login has been confirmed in a new parallel SSH session.
  • Do not set PermitRootLogin no if the current only verified access is as root. Fully disabling root login is allowed only after a confirmed new key-based SSH session as a non-root user with working sudo.
  • Do not close the current SSH session until the final verification.
  • Do not reboot without explicit user confirmation.
  • Do not run ufw reset on a server with existing rules without explicit permission.
  • Do not restart Docker if production containers already exist on the server, until the user confirms an acceptable risk window.
  • Do not expose databases, Redis, object storage, the Docker API, private APIs, admin dashboards, or internal app ports to the outside.
  • Do not run curl | bash for unknown scripts. Install Docker only via the official documented method for Ubuntu/Debian.
  • Do not delete Docker volumes, bind-mounted data, runtime directories, backups, or user data without explicit targeted confirmation.
  • Do not store secrets in the repository, shell history, compose labels, public logs, or the final report.
  • Remember that Docker can bypass UFW via iptables/nftables. The primary protection against external access to internal services: the absence of unnecessary ports: mappings in Compose and verification via docker ps/ss.
  • Trust the resulting effective config, not the fact that a file was written: for SSH check sshd -T, for Docker log policy check docker inspect, for TLS renew check timers/dry-run.

Read the full file on GitHub · 367 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. 8d ago First seen · 367 lines · 39 tokens per session scan B f6c1179abea2

Subscribe to this mod's changes

setup-server is a skill published in the GitHub repository smixs/disruptor-skills (18 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 6,461 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gcp-essentials

Use when running a small product on core Google Cloud via the gcloud CLI: a project, Cloud Run deploys, a locked-down Cloud Storage bucket, managed Cloud SQL, and least-privilege IAM wiring them together. NOT AWS (that is aws-essentials), NOT the CI pipeline that ships the image (that is deployment), NOT Postgres…

ericrisco/rsc-harness · 91 tokens

coolify

Use when self-hosting apps and databases with Coolify on a VPS you own — install, first-admin lockdown, Git-to-deploy (Nixpacks/Dockerfile/compose), managed Postgres/Redis, scheduled S3 backups, domains + auto-SSL. NOT a PaaS someone else runs (that is railway), NOT sizing/hardening the box (that is hetzner), NOT…

ericrisco/rsc-harness · 100 tokens

aiq-deploy

Use when asked to install, deploy, run, validate, troubleshoot, or stop NVIDIA AI-Q Blueprint infrastructure.

NVIDIA/skills · 27 tokens

dynamo-recipe-runner

Select, validate, patch, and deploy existing NVIDIA Dynamo Kubernetes recipes. Use for model/backend/GPU/deployment-mode recipe bring-up; use router-starter for router-only mode work and troubleshoot for broken deployments.

NVIDIA/skills · 49 tokens

ecs

AWS ECS container orchestration for running Docker containers. Use when deploying containerized applications, configuring task definitions, setting up services, managing clusters, or troubleshooting container issues.

itsmostafa/aws-agent-skills · 35 tokens

eks

AWS EKS Kubernetes management for clusters, node groups, and workloads. Use when creating clusters, configuring IRSA, managing node groups, deploying applications, or integrating with AWS services.

itsmostafa/aws-agent-skills · 38 tokens