/golive:monitoringfrom Go-live
Sets up metrics, dashboards and alerts with Prometheus, Grafana and Alertmanager - on a small separate monitoring server for Docker Compose setups, kube-prometheus-stack in k8s, or Grafana Cloud's free tier - with exporters, blackbox checks, alert rules (site down, disk, memory, DB, backup too old, reboot required, pull failed), a dead-man's switch to an external heartbeat service and an escalation receiver. Use for the monitoring go-live step, or when the user says "Grafana kur", "Prometheus", "izleme", "metrik", "dashboard", "alarm kur", "log toplama".
Ships in Go-live. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Talk to the user in the language they use. Read runtime, environments, servers, database and profile.budget from .claude/golive.yaml. Templates: ${CLAUDE_PLUGIN_ROOT}/templates/monitoring/. A new server or volume costs money: show the price, ask first (the guard asks too), then append a costs: entry (mon-1, or Grafana Cloud with 0 and a note on the free tier limits; check the provider docs).
One AskUserQuestion form, best guess first:
mon-1 (recommended, keeps alerting when an app server dies; budget: minimal may prefer Grafana Cloud) / Grafana Cloud free tier with Grafana Alloy / on the prod app server (cheapest, dies with what it watches). k8s: kube-prometheus-stack / Grafana Cloud./metrics (FastAPI: prometheus-fastapi-instrumentator; Node: prom-client) / not now.Record under monitoring: (monitoring.deadman = where the URL lives, never the URL).
mon-1 (role: monitoring, env: shared in servers:) with the server skill and skills/server/providers.md for the provider's CLI: small shared type, same cloud-init/bootstrap, on the private network (server_defaults.private_network; create it via the server/database skill if missing). Firewall: SSH from ssh_from; 80/443 as the Grafana exposure below needs.servers: (app, db): render compose.exporters.yaml with that server's private_ip (__PRIVATE_IP__) to /srv/monitoring/compose.yaml, docker compose up -d. node-exporter binds the private IP only; cAdvisor on app servers; postgres_exporter/mysqld_exporter on DB servers with a read-only role (pg_monitor) whose password is generated on the server. /var/lib/node_exporter/textfile must exist (the server skill creates it in its verify step; create it if missing).templates/monitoring/textfile/reboot-required.sh as /usr/local/sbin/golive-reboot-required.sh (0755) and golive-textfile.{service,timer} to /etc/systemd/system/, enable the timer. Together with the pull unit, backup script and templates/firewall/golive-cf-ranges.* (Cloudflare setups) they feed RebootRequired, PullFailed, BackupTooOld and CloudflareRangesChanged.<private ip>:9180 is in the Caddyfile templates; publish it via compose.caddy.yaml (__PRIVATE_IP__). Never expose Caddy's admin port./srv/monitoring: compose.monitoring.yaml (pin images to current release tags), prometheus.yml (private IPs per server and env; drop jobs that do not apply), alerts.yml, alertmanager.yml (chat ids or e-mail).GF_SECURITY_ADMIN_PASSWORD=$(openssl rand -hex 16) into /srv/monitoring/.env (600). The user writes the Telegram bot token to /srv/monitoring/secrets/telegram_bot_token and the heartbeat ping URL to /etc/alertmanager/secrets/deadman_url (mounted from secrets/), both 600, themselves. Tell the user where the Grafana password is instead of printing it. The Watchdog alert is pushed through the deadman receiver every minute; if the heartbeat service stops hearing it, it notifies the user out-of-band.http://prometheus:9090; dashboards from grafana.com: Node Exporter Full (1860), PostgreSQL (9628) or MySQL, cAdvisor, Caddy.domain.dns_provider):
grafana.<domain> proxied to mon-1 with the origin certificate; the Cloudflare Access app is created in the dns step (add grafana there if missing).caddy hash-password), or keep Grafana private (bind to the private IP) and reach it with ssh -L 3000:localhost:3000, which is the safest.UP (curl -s localhost:9090/api/v1/targets); send a test alert (amtool alert add) and confirm it reaches Telegram/e-mail and the escalation channel; confirm the heartbeat service shows the Watchdog ping.helm upgrade --install of kube-prometheus-stack in monitoring (a guard prompt is expected) with persistent volumes on the cluster's storage class and 15-30 days retention. CNPG PodMonitor, a ServiceMonitor for the app, alerts.yml as a PrometheusRule, Alertmanager with the same receivers (secrets created without printing). Grafana through the ingress: Cloudflare = Origin cert + Access app; otherwise cert-manager letsencrypt-prod plus basic auth, or kubectl port-forward. Manifests in deploy/k8s/monitoring/ so Flux owns them.
The user creates the stack (user step); install Grafana Alloy per server (or the k8s-monitoring chart) with credentials in a root-only file; import the same dashboards and alerts. No monitoring server, no Grafana exposure to solve. Still set up the dead-man's switch and escalation in whatever Alertmanager or Grafana alerting is used.
Loki on mon-1 (or the Helm chart) with Grafana Alloy per server; 7-14 days. Caddy access logs stay off or short-lived. Personal data in logs falls under data protection law: short retention, no request bodies.
Set steps.monitoring: done with where it runs, alert channels, the dead-man's switch and the date of the last test alert. The launch skill checks that a test alert arrived.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub icaglar/golive --plugin golive20 skills in this plugin
/auditRuns deterministic go-live checks against a live domain - nameservers, A/AAAA/www, MX, SPF (one record, no +all), DKIM, DMARC policy and reports, PTR, HTTPS reachability, HTTP→HTTPS redirect, HSTS, security headers, TLS certificate expiry, robots.txt, sitemap, security.txt - and maps every failure to the golive skill that fixes it. Use when the user asks to check, audit or verify a domain or a go-live, or says "domain'i kontrol et", "mail ayarları doğru mu", "SPF DKIM DMARC kontrol", "canlı kontrol listesi"./clusterBuilds the Kubernetes cluster - k3s on Hetzner with hetzner-k3s or kube-hetzner, managed Kubernetes (DOKS, LKE, EKS, Kapsule) or k3s over SSH with k3sup on other providers - then staging and prod namespaces, an ingress behind a load balancer, TLS (Cloudflare Origin CA secret, or cert-manager with Let's Encrypt without Cloudflare), the Kustomize tree and Flux for pull-based GitOps deploys. Use for the cluster go-live step, or when the user says "k3s kur", "kubernetes cluster", "hetzner-k3s", "kube-hetzner", "k8s ortamı", "managed kubernetes".Other plugins' skills for the same job
/databaseSets up the app's database per environment - PostgreSQL (recommended) or MySQL - as a container for staging, on a dedicated server with a volume, private network and streaming replica for prod, encrypted backups with an offsite copy, or with an operator (CloudNativePG, MySQL/Percona operator) on k3s - plus point-in-time backups to object storage, a tested restore, migrations and manual failover. Use for the database go-live step, or when the user says "veritabanı kur", "PostgreSQL kur", "MySQL kur", "replica", "DB cluster", "yedekli veritabanı", "failover".