home-server
Manages the nest home server: Coolify deployments, Traefik routing, Tailscale networking, Cloudflare DNS, and all deployed applications (Jellyfin, *arr stack, LazyLibrarian, Kavita, Audiobookshelf, Castopod, Home Assistant, Glance, SABnzbd, n8n, etc). Use when the user asks to deploy, configure, troubleshoot, or optimize any service on their home server, manage DNS/networking, check service status, or tune application settings. Also triggers on mentions of Coolify, Traefik, Tailscale, Cloudflare, or any deployed service by name. Do NOT use for creating or modifying Claude Code skills, plugins, or commands. Do NOT use for general Docker administration unrelated to this server's Coolify instance.
What this skill does
## Critical Rules
- ALWAYS read credentials from `~/.config/home-server/credentials.env` — NEVER hardcode API keys in commands or output
- ALWAYS prefer the Coolify API (`$COOLIFY_API_URL`) over direct Docker commands for service management
- When deploying new services, ALWAYS try Coolify one-click templates first before custom docker-compose
- One-click services MUST have "Connect to Predefined Network" enabled for Traefik routing — remind the user or set it via API
- docker_compose_raw MUST be base64-encoded when PATCHing via the Coolify API
- FQDN is stored separately on the `service_applications` table — updating docker-compose alone does NOT update routing
- NEVER expose services publicly without explicit user confirmation — all services are Tailscale-only by default
- Before making infrastructure changes, state what you're about to do and get confirmation
- When troubleshooting cert issues, check: (1) container network includes coolify-proxy, (2) Traefik labels have correct port, (3) ACME cert exists in `/data/coolify/proxy/acme.json`
- Glance config at `/data/coolify/services/l0cws0skkokg08k44g4ocswc/config/glance.yml` live-reloads — no restart needed
## Credentials
All credentials are stored at `~/.config/home-server/credentials.env` (chmod 600). To load them:
```bash
# Read a single value
grep '^COOLIFY_API_TOKEN=' ~/.config/home-server/credentials.env | cut -d= -f2- | tr -d '"'
# Source all values (for multi-command operations)
set -gx (grep -v '^#' ~/.config/home-server/credentials.env | grep '=' | string split -m1 '=')
```
If the credentials file is missing, use the `credential-manager` agent to recreate it from memory.
## Server Architecture
Read `~/.config/home-server/server-config.md` for the complete server topology, service UUIDs, container names, volume mounts, and network layout.
Read `~/.config/home-server/coolify-patterns.md` for Coolify API patterns, common operations, and known gotchas.
Read `~/.config/home-server/networking.md` for Tailscale, Cloudflare, and Traefik configuration details.
## Workflow
### Step 1: Understand Intent
Parse the user's natural language request and classify it:
- **Deploy**: New service deployment → use `coolify-specialist` agent
- **Configure**: Modify existing service settings → use `coolify-specialist` or `app-tuner` agent
- **Network**: DNS, certs, routing, public access → use `networking-specialist` agent
- **Troubleshoot**: Something broken → read logs, check config, determine which specialist to dispatch
- **Optimize**: Tune performance or quality → use `app-tuner` agent
- **Status**: Check what's running → query Coolify API directly (no agent needed)
- **Dashboard**: Modify Glance → edit the config file directly (live-reloads)
### Step 2: Load Credentials
Before any API call, load the relevant credentials:
```bash
COOLIFY_TOKEN=$(grep '^COOLIFY_API_TOKEN=' ~/.config/home-server/credentials.env | cut -d= -f2- | tr -d '"')
```
### Step 3: Dispatch to Specialist
For complex tasks, dispatch to the appropriate agent using the Agent tool:
| Task Domain | Agent | Model |
| ---------------------------------------- | ----------------------------------- | ------ |
| Coolify API, deployments, docker-compose | `home-server:coolify-specialist` | sonnet |
| Tailscale, Cloudflare, Traefik, certs | `home-server:networking-specialist` | sonnet |
| App-specific tuning, docs research | `home-server:app-tuner` | sonnet |
| Post-session skill updates | `home-server:retrospect` | sonnet |
For simple tasks (status checks, Glance edits, single API calls), handle directly without spawning an agent.
### Step 4: Validate
After making changes:
1. Verify the service is running: check Coolify API status
2. Verify HTTPS works: `curl -vk https://{service}.home.birdcar.dev 2>&1 | grep 'subject:'`
3. Verify the cert is Let's Encrypt (not TRAEFIK DEFAULT CERT)
4. For app-specific changes, verify the app is responding correctly
### Step 5: Update Knowledge (if applicable)
If this session revealed new information about the server (new services, changed configs, gotchas discovered), update:
1. `~/.claude/projects/-home-birdcar/memory/MEMORY.md` — for cross-session memory
2. `~/.claude/projects/-home-birdcar/memory/media-server-setup.md` — for detailed server notes
3. `~/.config/home-server/server-config.md` — for skill-internal reference
## Common Operations Quick Reference
### Check all services status
```bash
curl -s -H "Authorization: Bearer $COOLIFY_TOKEN" "$COOLIFY_API_URL/projects" | python3 -m json.tool
```
### Deploy a one-click service
1. Create via Coolify UI or API
2. Enable "Connect to Predefined Network" (`connect_to_docker_network: true`)
3. Set FQDN in Coolify UI
4. Verify Traefik picks it up and issues cert
### Restart a service
```bash
curl -s -X POST -H "Authorization: Bearer $COOLIFY_TOKEN" "$COOLIFY_API_URL/services/{uuid}/restart"
```
### Check Traefik cert status
```bash
sudo python3 -c "
import json
with open('/data/coolify/proxy/acme.json') as f:
data = json.load(f)
for r, info in data.items():
for c in info.get('Certificates', []):
print(c['domain']['main'])
"
```
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.