Search

PythonReactSEOPDF
OpenClaw

afrexai-self-hosting-mastery

Complete self-hosting and homelab operating system. Deploy, secure, monitor, and maintain self-hosted services with production-grade reliability. Use when setting up home servers, Docker infrastructure, reverse proxies, backups, monitoring, or evaluating self-hosted alternatives to SaaS.

1kalin0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install 1kalin/afrexai-self-hosting-mastery

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Self-Hosting Mastery

Complete system for building and operating reliable self-hosted infrastructure — from first server to multi-node homelab.

Phase 1: Infrastructure Assessment

Server Profile YAML
server_profile:
  name: ""
  hardware:
    cpu: ""              # e.g., "Intel i5-12400" or "Raspberry Pi 5"
    ram_gb: 0
    storage:
      - device: ""       # e.g., "/dev/sda"
        type: ""         # ssd | hdd | nvme
        size_gb: 0
        role: ""         # boot | data | backup
    network: ""          # 1gbe | 2.5gbe | 10gbe
  os: ""                 # debian | ubuntu | proxmox | unraid | truenas
  location: ""           # home | closet | rack | colo | vps
  power:
    ups: false
    wattage_idle: 0
    wattage_load: 0
    monthly_cost_estimate: ""  # electricity
  network:
    public_ip: ""        # static | dynamic | cgnat
    domain: ""
    dns_provider: ""     # cloudflare | duckdns | custom
    isp_ports_open: true # some ISPs block 80/443
  goals:
    - ""                 # media server, smart home, dev environment, etc.
  budget_monthly: ""     # electricity + domain + any VPS
Hardware Decision Matrix
Budget RAM Storage Good For Example Hardware
$0 4-8GB 64GB+ Pi-hole, AdGuard, small tools Raspberry Pi 4/5
$50-150 8-16GB 256GB+ Docker host, 5-10 services Used SFF PC (Dell Optiplex, Lenovo Tiny)
$150-400 16-32GB 1TB+ NAS + services, media server Mini PC (Intel NUC, Beelink)
$400-800 32-64GB 4TB+ Full homelab, VMs + containers Used enterprise (Dell R720, HP DL380)
$800+ 64GB+ 10TB+ Multi-node, Proxmox cluster Multiple nodes, dedicated NAS
Self-Host vs SaaS Decision

Ask before self-hosting anything:

  1. Data sensitivity — Does keeping data local matter? (passwords, health, finance = yes)
  2. Reliability need — Can you tolerate occasional downtime? (email = risky, media = fine)
  3. **Mainte...

Source information

Source
github
Repository
openclaw/skills
Path
skills/1kalin/afrexai-self-hosting-mastery
Version
—
Commit
8e0948e7f55b738926d776f0baa8e72f953c9300
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

🖥️ Self-Hosting Mastery by AfrexAI

Complete self-hosting and homelab operating system for AI agents. Deploy, secure, monitor, and maintain self-hosted services with production-grade reliability.

Install

clawhub install afrexai-self-hosting-mastery

What You Get

  • Infrastructure assessment — hardware decision matrix, self-host vs SaaS decision framework
  • Docker best practices — production-grade compose templates, security checklist, project structure
  • Reverse proxy setup — Traefik/Caddy/NPM comparison with full configs
  • Essential services — 3-tier service recommendations with RAM planning
  • Backup strategy — 3-2-1 rule with automated backup scripts and verification
  • Monitoring stack — Uptime Kuma + Prometheus + Grafana with alert rules
  • Security hardening — SSH, firewall, auth, container security scoring (0-100)
  • Maintenance playbook — update strategy, weekly/monthly checklists
  • Troubleshooting — decision trees, debug commands, performance fixes
  • Advanced patterns — multi-node, GitOps, hardware redundancy

Quick Start

Tell your agent:

  • "Set up a new homelab from scratch"
  • "Audit my self-hosted security"
  • "Help me set up Traefik with SSL"
  • "What should I self-host instead of paying for SaaS?"
  • "Plan my backup strategy"

⚡ Level Up

Want production-grade AI agent configurations for your business?

AfrexAI Context Packs ($47) — Industry-specific agent knowledge for SaaS, Professional Services, Manufacturing, and 7 more verticals.

🔗 More Free Skills by AfrexAI

Extracted content

SKILL.md
# Self-Hosting Mastery

Complete system for building and operating reliable self-hosted infrastructure — from first server to multi-node homelab.

## Phase 1: Infrastructure Assessment

### Server Profile YAML

```yaml
server_profile:
  name: ""
  hardware:
    cpu: ""              # e.g., "Intel i5-12400" or "Raspberry Pi 5"
    ram_gb: 0
    storage:
      - device: ""       # e.g., "/dev/sda"
        type: ""         # ssd | hdd | nvme
        size_gb: 0
        role: ""         # boot | data | backup
    network: ""          # 1gbe | 2.5gbe | 10gbe
  os: ""                 # debian | ubuntu | proxmox | unraid | truenas
  location: ""           # home | closet | rack | colo | vps
  power:
    ups: false
    wattage_idle: 0
    wattage_load: 0
    monthly_cost_estimate: ""  # electricity
  network:
    public_ip: ""        # static | dynamic | cgnat
    domain: ""
    dns_provider: ""     # cloudflare | duckdns | custom
    isp_ports_open: true # some ISPs block 80/443
  goals:
    - ""                 # media server, smart home, dev environment, etc.
  budget_monthly: ""     # electricity + domain + any VPS
```

### Hardware Decision Matrix

| Budget | RAM | Storage | Good For | Example Hardware |
|--------|-----|---------|----------|-----------------|
| $0 | 4-8GB | 64GB+ | Pi-hole, AdGuard, small tools | Raspberry Pi 4/5 |
| $50-150 | 8-16GB | 256GB+ | Docker host, 5-10 services | Used SFF PC (Dell Optiplex, Lenovo Tiny) |
| $150-400 | 16-32GB | 1TB+ | NAS + services, media server | Mini PC (Intel NUC, Beelink) |
| $400-800 | 32-64GB | 4TB+ | Full homelab, VMs + containers | Used enterprise (Dell R720, HP DL380) |
| $800+ | 64GB+ | 10TB+ | Multi-node, Proxmox cluster | Multiple nodes, dedicated NAS |

### Self-Host vs SaaS Decision

Ask before self-hosting anything:
1. **Data sensitivity** — Does keeping data local matter? (passwords, health, finance = yes)
2. **Reliability need** — Can you tolerate occasional downtime? (email = risky, media = fine)
3. **Mainte...
README
# 🖥️ Self-Hosting Mastery by AfrexAI

Complete self-hosting and homelab operating system for AI agents. Deploy, secure, monitor, and maintain self-hosted services with production-grade reliability.

## Install

```bash
clawhub install afrexai-self-hosting-mastery
```

## What You Get

- **Infrastructure assessment** — hardware decision matrix, self-host vs SaaS decision framework
- **Docker best practices** — production-grade compose templates, security checklist, project structure
- **Reverse proxy setup** — Traefik/Caddy/NPM comparison with full configs
- **Essential services** — 3-tier service recommendations with RAM planning
- **Backup strategy** — 3-2-1 rule with automated backup scripts and verification
- **Monitoring stack** — Uptime Kuma + Prometheus + Grafana with alert rules
- **Security hardening** — SSH, firewall, auth, container security scoring (0-100)
- **Maintenance playbook** — update strategy, weekly/monthly checklists
- **Troubleshooting** — decision trees, debug commands, performance fixes
- **Advanced patterns** — multi-node, GitOps, hardware redundancy

## Quick Start

Tell your agent:
- *"Set up a new homelab from scratch"*
- *"Audit my self-hosted security"*
- *"Help me set up Traefik with SSL"*
- *"What should I self-host instead of paying for SaaS?"*
- *"Plan my backup strategy"*

## ⚡ Level Up

Want production-grade AI agent configurations for your business?

**[AfrexAI Context Packs ($47)](https://afrexai-cto.github.io/context-packs/)** — Industry-specific agent knowledge for SaaS, Professional Services, Manufacturing, and 7 more verticals.

## 🔗 More Free Skills by AfrexAI

- [afrexai-devops-engine](https://clawhub.com/skills/afrexai-devops-engine) — Complete DevOps & Platform Engineering
- [afrexai-cybersecurity-engine](https://clawhub.com/skills/afrexai-cybersecurity-engine) — Full Security Methodology
- [afrexai-container-orchestration](https://clawhub.com/skills/afrexai-container-orchestration) — Docker & Kubernetes Mastery
- [afr...

Related skills

OpenClaw

agent-pack-n-go

aicodelion

🚀 Clone your OpenClaw AI Agent to a new device in ~25 minutes — configs, memory, skills, everything.

OpenClaw

cacheforge-skills

cacheforge-ai

⚡ SOTA agent skills for OpenClaw — observability, security, code quality, incident response, and more. Built by Anvil AI.

OpenClaw

restart-guard

zjianru

OpenClaw Skill: Safely restart the Gateway with context preservation, guardian watchdog, and multi-channel notification