For Claude Code

Your VPS,
AI-managed.

Give Claude Code safe, structured access to deploy and maintain containerised apps on your VPS. 24 slash commands. 5 agent roles. 4-layer safety system. From any device.

claude-code — zerovps

$ /quick-deploy https://github.com/myorg/my-api

→ Cloning repo, analysing stack (Node 22 + Express)

→ Port 3003 available (checked registry)

→ Building image, configuring nginx...

→ https://api.example.com is live ✓

See what's inside
Capabilities

Everything you need to
run a VPS with AI

24 Slash Commands

/quick-deploy, /audit, /rollback, /janitor, /health-status — your entire ops toolkit as conversational commands.

4-Layer Safety

Hard blocks on destructive ops, deny list, session approval, and audit logging. Even in YOLO mode, data destruction is blocked.

5 Agent Roles

Auditor (read-only), Builder (deploy), Data (backups), Debug (logs), Janitor (cleanup). Green mode first, Red only with intent.

Any Device Access

Cloud sandbox from claude.ai/code on phone, tablet, or laptop. One env variable setup, then manage your VPS from anywhere.

DB Protection

DROP TABLE, TRUNCATE, volume destruction — all hard-blocked by hooks. No override exists. Your data survives any AI mistake.

Zero-Downtime Deploy

Blue-green deployments with automatic health checks, nginx swap, and instant rollback if anything goes wrong.

Health Monitoring

Async Python daemon checks HTTP endpoints, container status, disk, memory, and backup freshness. Alerts via Discord + push.

Knowledge Base

Lessons learned from past incidents are saved and searched automatically before troubleshooting. Claude learns from your history.

App Templates

Pre-built Docker stacks for WordPress, n8n, Plausible, Uptime Kuma. Deploy with /quick-deploy --template wordpress.

Why ZeroVPS

Not another script

Most people SSH manually or write Ansible playbooks. Neither understands context.

FeatureRaw SSHAnsibleZeroVPS
Conversational ops
Works from phone
Hard blocks data destruction
Understands app context
Automatic audit log
Deploy a repo end-to-end30 minWrite a playbookOne command
Setup time0 (you already SSH)Hours~15 min
Architecture

Two modes, one system

Cloud sandbox from any browser, or direct access from SSH. Same safety layer either way.

  ┌─────────────────────────────────────────────┐
  │  Mode 1: Cloud Sandbox                      │
  │  Any Device → claude.ai/code → this repo    │
  │                                             │
  │  SessionStart hooks auto-configure SSH      │
  │  PreToolUse hooks enforce safety            │
  └──────────────┬──────────────────────────────┘
                 │ SSH (auto-configured)
                 ▼
  ┌─────────────────────────────────────────────┐
  │  Mode 2: Direct VPS                         │
  │  SSH → VPS → vps-claude                     │
  │  Same CLAUDE.md, hooks, skills, settings    │
  └──────────────┬──────────────────────────────┘
                 │ local
                 ▼
  ┌─────────────────────────────────────────────┐
  │  Your VPS                                │
  │  Ubuntu · Docker · nginx                    │
  │  Containers (ports 3001-3020)               │
  │  PostgreSQL · Health Monitor · Backups      │
  └─────────────────────────────────────────────┘
Safety

4 layers. No shortcuts.

Each layer is independent. Changing permission mode or enabling YOLO cannot bypass them.

01

Hook Hard Blocks

validate-db-safety.sh and validate-bash.sh intercept commands before execution. DROP TABLE, rm -rf /, docker volume prune — all blocked with exit code 2. No override exists.

02

Deny List

Pattern-matched in settings.json. Force push, hard reset, system file writes — blocked at the permissions engine layer.

03

Session Approval

Red mode SSH, docker lifecycle commands, git push, database access — require explicit approval once per session.

04

Audit Logging

Every VPS change is logged to changelog.md via PostToolUse hooks. Full traceability of who changed what and when.

What you get

A complete ops framework

24 slash commands (/deploy, /audit, /rollback, /health-status, ...)
5 agent definitions (auditor, builder, data, debug, janitor)
8 safety hooks (4 pre-tool, 2 post-tool, 2 session-start)
Health monitor (async Python daemon with Discord + push alerts)
4 app templates (WordPress, n8n, Plausible, Uptime Kuma)
Blue-green deploy script (zero-downtime with auto-rollback)
Server bootstrap script (zerovps-init.sh)
Knowledge base with incident playbooks
151 passing tests (hooks, state validation, integration)
GitHub Actions CI (tests + ShellCheck + task scout)
Full CLAUDE.md operational instructions
Remote setup guide (any device via claude.ai/code)
One-time purchase

€39

One-time. No subscription. All updates included.

  • Full source code + all future updates
  • 24 slash commands, 5 agents, 8 safety hooks
  • Health monitor + alert system
  • App templates + blue-green deploy
  • 151 passing tests + CI workflows
  • Setup guide for any device
Get ZeroVPS

Requires a Claude Pro/Team/Enterprise subscription with Claude Code access. ZeroVPS is the framework — Claude is the engine.