# setup-cpu-proxy-server

setup-cpu-proxy-server is a Claude Code skill that deploys Draw Things CPU proxy and Envoy instances on Linux hosts. Runs during node provisioning via SSH or Tailscale.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 171 repo stars
- Author: drawthingsai
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/drawthingsai/local-code-community/tree/HEAD/Scripts/ServerManagement/CPUScript/SKILL.md
- Updated: 2026-11-17
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/setup-cpu-proxy-server

## What it does

This skill runs automated orchestration steps using shell files in `Scripts/ServerManagement/CPUScript`. It sets up Docker and Tailscale, secures root access, pulls Envoy 1.39.1 alongside the Draw Things proxy image, and configures port listeners for 443, 8443, and 50002.

For TLS management, it fetches Let's Encrypt certificates for `compute.drawthings.ai` or transfers valid keys from another machine. The private key requires `0644` permissions because container workers run without root privileges. Launching requires root SSH reachability, a Datadog API credential, a target email for ACME, `model-list`, and a valid `envoy-config.yaml`.

## Requirements
- Works with: Docker

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add drawthingsai/local-code-community --skill setup-cpu-proxy-server -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/CPUScript/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/CPUScript/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add drawthingsai/local-code-community --skill setup-cpu-proxy-server -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/CPUScript/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add drawthingsai/local-code-community --skill setup-cpu-proxy-server -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/CPUScript/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install drawthingsai/local-code-community Scripts/ServerManagement/CPUScript
```

2. **Manually: put the files in place**
- File: `.github/skills/CPUScript/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add drawthingsai/local-code-community --skill setup-cpu-proxy-server -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/drawthingsai/local-code-community --path Scripts/ServerManagement/CPUScript
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/CPUScript/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/drawthingsai/local-code-community/tree/HEAD/Scripts/ServerManagement/CPUScript/SKILL.md

## When to use it
- bootstrap Docker and Tailscale on fresh Linux servers over SSH
- launch Draw Things CPU proxy and Envoy 1.39.1 containers
- provision Let's Encrypt certificates for compute.drawthings.ai
- configure gRPC web proxy traffic and rollback stale Envoy setups

## Example prompts
- Bootstrap the Draw Things CPU proxy on root@100.80.0.12 via Tailscale
- Update model-list on the CPU proxy server and verify its sha256 checksum
- Transfer the TLS certificates from the previous host and fix file permissions

## Similar
- [freebuff2api-openai-proxy](https://affpapa.org/en/nevibecode/skills/freebuff2api-openai-proxy.md) — skill · 418 installs
- [mac-mini-llm-lab](https://affpapa.org/en/nevibecode/skills/mac-mini-llm-lab.md) — skill · 344 installs
- [tunnel-doctor](https://affpapa.org/en/nevibecode/skills/tunnel-doctor.md) — skill · 741 installs
- [domain-cloud-native](https://affpapa.org/en/nevibecode/skills/domain-cloud-native.md) — skill · 3200 installs
- [tavily-key-generator-proxy](https://affpapa.org/en/nevibecode/skills/tavily-key-generator-proxy.md) — skill · 1400 installs
- [zoom-video-sdk-linux](https://affpapa.org/en/nevibecode/skills/zoom-video-sdk-linux.md) — skill · ★ 8052 repo stars

From the same set: [drawthingsai/local-code-community](https://affpapa.org/en/nevibecode/by/drawthingsai/local-code-community.md) — 20 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
