skills/ARCHIVE-dupe-2026-07-12/root_.agents_skills/FORGE-vps-runbook/claude/SKILL.md
Concrete Docker Compose and container commands for the af-forge VPS stack.
npx skillsauth add ariffazil/openclaw-workspace VPS Docker RunbookInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill gives agents the exact commands to inspect, operate, and troubleshoot the Docker-based data/utility stack on the af-forge VPS. It covers the docker-compose.yml at /root/compose/, the live service map, safe read-only checks, bounded restarts, and the dangerous operations that require escalation.
Before using this skill on any mutating, irreversible, or high-blast-radius task:
docker stats, docker system df).systemctl commands instead.docker system prune, volume removal, forced container deletion) without 888 HOLD and human ack.docker compose down or --volumes variants on the full stack unless explicitly authorized.| Input | Required | Description |
|-------|----------|-------------|
| service_name | no | Target container/service name from docker compose ps |
| operation | yes | One of: status, logs, restart, validate, resources, emergency-stop, diff |
| tail_lines | no | Number of log lines to retrieve (default: 100) |
cd /root/compose
All Docker services are defined in /root/compose/docker-compose.yml.
docker compose ps
docker compose config # validate before any change
# Health status
docker inspect <service> --format '{{.State.Health.Status}}'
curl -sf http://localhost:<port>/health
# Logs
docker compose logs --tail=100 <service>
docker compose logs -f <service>
# Changed files and config
docker diff <container>
docker inspect <container> --format '{{json .Config}}' | python3 -m json.tool
# Restart in place
docker compose restart <service>
# Rebuild and restart only this service
docker compose up -d <service>
# Restart the whole Docker stack (safe bounded variant)
docker compose up -d --remove-orphans
docker stats --no-stream --format "table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}"
docker system df
docker compose stop <service>
docker logs <service> --tail 200
# Fix the issue, then:
docker compose up -d <service>
| Tool / Command | Purpose |
|----------------|---------|
| docker compose ps | List running compose services |
| docker compose config | Validate compose file |
| docker compose logs | Read or tail service logs |
| docker compose restart | Bounded in-place restart |
| docker compose up -d <service> | Rebuild/restart a single service |
| docker compose up -d --remove-orphans | Safe stack reconcile |
| docker compose stop <service> | Graceful emergency stop |
| docker inspect | Container health/config inspection |
| docker stats / docker system df | Resource usage and disk summary |
| docker diff | Files changed since container start |
| curl -sf http://localhost:<port>/health | HTTP health probe |
docker system prune -af --volumes — irreversible data loss (F1 HOLD).docker volume rm <volume> without sovereign ack and a verified backup.docker rm -f <container> on data-bearing services without escalation.docker compose down --volumes on the full stack.## Skill Result: vps-docker-runbook
### Summary
One-paragraph summary of what was checked, restarted, or diagnosed.
### Evidence
- Service status: <running / stopped / unhealthy>
- Health endpoint: <HTTP code / not reachable>
- Logs tail: <key lines or "clean">
- Resource snapshot: <if checked>
### Recommendations
- Next safe step, or
- Escalation reason and target
### Escalations
- None / <list>
| Condition | Escalate To | Method | |-----------|-------------|--------| | Destructive cleanup requested | arifOS 888_JUDGE + Arif | 888 HOLD | | Data-bearing volume/container affected | arifOS 888_JUDGE | verdict_request | | Docker daemon unresponsive | A-FORGE ops / system triage | A2A/incident | | Full stack or host restart needed | A-FORGE + human ack | 888 HOLD | | Repeated service crashes after restart | Service owner organ / runbook | A2A handoff |
Skill version 1.0.0 — AAA Skill Library
development
Federation-wide gold (XAUUSD) trading capability. Python stack, OANDA broker, backtesting, macro signals, RSI strategy. Every organ has a role.
development
Capital claim state management — tracks claim lifecycle across WEALTH organ.
development
Archived constitutional warga placeholder retained only for audit provenance. Do not use for active work; use the live arifOS governance and constitutional skills instead.
testing
Warga (citizen) agent skills for AAA federation members. See subdirectories for specialized warga skills.