xiaohongshu
xiaohongshu
homelab-iac
Use when working with Proxmox homelab infrastructure - Terraform provisioning, Ansible configuration, or Nix devshells. Covers LXC containers, services, secrets, and IaC workflows.
Full skill instructions
This is a Proxmox homelab managed as Infrastructure as Code. All changes go through Terraform or Ansible. SSH is read-only for debugging.
| Change Type | Tool |
|---|---|
| Container specs (CPU, memory, disk, mounts) | Terraform |
| Software, packages, config files, services | Ansible |
| Development environment | Nix devshells |
| CTID | Host | IP | Purpose |
|---|---|---|---|
| 300 | backup | .120 | Restic backups |
| 301 | samba | .121 | SMB shares |
| 302 | ripper | .131 | MakeMKV (optical drive) |
| 303 | analyzer | .133 | FileBot, media tools |
| 304 | transcoder | .132 | FFmpeg (Intel Arc GPU) |
| 305 | jellyfin | .130 | Media server (dual GPU) |
| 310 | dns | .110 | AdGuard Home |
| 311 | proxy | .111 | Caddy reverse proxy |
| 320 | devbox | .140 | NixOS dev environment |
SSH: Use aliases from ~/.ssh/config (e.g., ssh ripper, ssh jellyfin).
terraform/
proxmox-homelab/ # LXC containers (one .tf per container)
tailscale/ # VPN configuration
cloudflare/ # DNS records
lldap/ # LDAP users/groups
ansible/
playbooks/ # Service playbooks
roles/ # Reusable roles
vars/*_secrets.yml # Vault-encrypted secrets
nixos/ # Devbox NixOS config
flake.nix # Nix devshells
| Type | Location | Edit Command |
|---|---|---|
| Terraform | terraform/*/secrets.sops.yaml | sops <file> |
| Ansible | ansible/vars/*_secrets.yml | ansible-vault edit <file> |
Always: plan → review → apply → verify
cd terraform/<module>
terraform fmt
terraform validate
terraform plan # REQUIRED before apply
Present plan summary to user. Ask: "Does this look correct?"
After approval:
terraform apply
Verify resources exist, update docs/reference/current-state.md if needed.
Always: lint → check → apply → verify
cd ansible
ansible-lint --offline
ansible-playbook playbooks/<service>.yml --syntax-check
ansible-playbook playbooks/<service>.yml --check # REQUIRED dry-run
Present changes to user. Ask: "Does this look correct?"
After approval:
ansible-playbook playbooks/<service>.yml
Long-running playbooks (jellyfin, transcoder, proxmox-host): Use 600000ms timeout.
Verify via SSH: systemctl status <service>, journalctl -u <service>.
All commands require the devshell. Verify with which terraform.
direnv allow # Auto-load (recommended)
nix develop # Manual entry
If tools are missing, the devshell isn't loaded. See root CLAUDE.md for troubleshooting.
This is a multi-step workflow. See add-container.md for the complete checklist.
Quick overview:
terraform/proxmox-homelab/<name>.tfEdit CPU/memory in terraform/proxmox-homelab/<name>.tf, run Terraform workflow.
ansible/roles/<name>/ with tasks/handlers/templatesRequires coordination:
See jellyfin.tf and dual_gpu_passthrough role for patterns.
# On backup container
restic snapshots
restic restore <snapshot-id> --target /restore
apt, systemctl, or edit files via SSH (use IaC instead)xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience