AGENT_GUIDE
ANTIGRAVITY_HOMELAB_USER_MANUAL
3-TIER MEMORY
Tier 1 // Always-On Rules
Loaded in every chat via the kotori-homelab plugin: topology map, deployment gates, Git automation, and safety guardrails.
Tier 2 // On-Demand Skills
8 modular runbooks + CLI helpers loaded progressively only when relevant to keep context lean.
Tier 3 // BookStack Wiki
Live AI-first documentation at bs.kotori-waifu.cc (queried before guessing, updated at milestones).
ALWAYS-ON GATES
Local vs. Public Prompt
Always asks whether a new service belongs on local *.kotori-waifu only or also public *.kotori-waifu.cc.
Homepage Policy
Auto-adds all local apps to the LAN Batcave cockpit; adds cards to nexus.kotori-waifu.cc only after explicit confirmation.
Autonomous Git & Hygiene
Auto-commits (Conventional Commits) and pushes to Gitea (homelab/private) or GitHub (public), blocking secrets and >50 MB binaries.
INFRA & DEPLOY SKILLS
homelab-ops
Host/SSH matrix, Docker GitOps via Ansible, OPNsense Unbound DNS, Ansible Vault, and backup orchestration.
service-deploy
Dual-domain Traefik/Nginx labels, safe Cloudflare Tunnel & CNAME automation (cf_tunnel_tool.py), and homepage updates.
cloudflare-deploy
Cloudflare Pages, Workers, Wrangler secrets, and OpenNext deployment workflows.
git-forge-ops
Gitea vs. GitHub routing, autonomous Gitea repository creation, and branch/safety checks.
APPS & RIG SKILLS
bookstack
CLI search, read, create, and update workflows for the persistent homelab wiki.
mealie
Recipe API import, German translation, photo uploads, UUID/food validation, and Wayback Machine fallback.
workstation-ops
Arch Linux + ROCm AI rig, OpenRGB custom build pin, Open WebUI tool deployment, systemd timers, and Nabu voice sync.
homelab-help
Ask "show me the homelab help guide" in any Antigravity chat for an instant in-chat reference.
SECRETS & SETUP
~/.config/homelab/secrets.env
Local chmod 600 credentials store kept strictly outside Git and included in workstation DR backups.
Cloudflare Tunnel Automation
Create a custom Cloudflare API token with Tunnel: Edit + Zone DNS: Edit and set CF_TUNNEL_API_TOKEN.
Updating Skills
Edit the kotori-agent-kit plugin repo, push to Gitea, and open a fresh Antigravity chat to load changes.
FULL DOCUMENTATION
BookStack Wiki
Full architecture notes and CLI cheat sheets live in Book 7 at bs.kotori-waifu.cc (SSO protected).
LAN Cockpit Cheat Sheet
On the local network, open /agent-guide on the Batcave dashboard for click-to-copy CLI commands and host tables.