A comprehensive framework for deploying, securing, and maintaining resilient self-hosted services using containerization and automation.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install self-host
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install self-host using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Self-Host skill is a professional-grade roadmap for developers and enthusiasts looking to run their own services with the reliability of a cloud provider. It emphasizes a security-first approach, ensuring that every deployment is protected by hardened SSH configurations, reverse proxies, and automated SSL certificate management. By following these Openclaw Skills, users can move away from fragile, manual setups toward a robust architecture based on Docker fundamentals and declarative configurations.
This skill goes beyond simple installation, focusing on the entire lifecycle of a service. It covers critical maintenance tasks such as log rotation, resource monitoring, and the 3-2-1 backup rule to ensure data integrity. Whether you are managing a home server behind a CGNAT or a public VPS, this skill provides the technical guardrails necessary to prevent common mistakes like data corruption from OOM kills or security breaches from exposed database ports.
To begin using this skill, ensure your environment meets the core requirements for containerization. Openclaw Skills work best when the host system is properly prepared.
# 1. Install Docker and Docker Compose
sudo apt update && sudo apt install docker-ce docker-compose-plugin
# 2. Create a directory structure for your services
mkdir -p ~/self-hosted/app-name && cd ~/self-hosted/app-name
# 3. Initialize your compose file with restart policies
touch docker-compose.yml
# 4. Ensure log rotation is configured in /etc/docker/daemon.json
# to prevent disk exhaustion.
The skill organizes data and configuration through a strict hierarchy to ensure portability and ease of backup. Here is how the Openclaw Skills framework structures your self-hosted environment:
| Component | Implementation | Purpose |
|---|---|---|
| Service Config | docker-compose.yml |
Declarative service definition and metadata. |
| Environment | .env files |
Storage for secrets and site-specific variables (exclude from Git). |
| Persistent Data | Named Volumes | Isolated storage for database files and user uploads. |
| Certificates | Traefik/Caddy ACME | Automated SSL storage and renewal tracking. |
| Backups | 3-2-1 Strategy | 3 copies of volume data, 2 media types, 1 offsite location. |
Loading
A robust system for enforcing AI agent instruction compliance through root cause analysis and automated bash-based validators.

A sophisticated skill that allows AI agents to internalize your decision-making system and act autonomously based on your values and goals.

A professional security review workflow that prioritizes exploitable risks and delivers minimal-diff fixes with verifiable evidence.

A strategic reasoning skill that identifies hidden risks and long-term opportunities by tracing decisions through three levels of consequences.

An AI-powered sales assistant designed to accurately price items, generate high-converting marketplace listings, and navigate buyer negotiations.

A sophisticated AI agent skill for architecting and managing high-performance paid search campaigns through keyword strategy and bidding optimization.








































