AgentSkillsCN

admin-devops

REMOTE 基础设施管理(Alpha v0.0.2)。涵盖服务器清单、云资源调配(OCI、Hetzner、Linode、DigitalOcean、Contabo),以及应用部署(Coolify、KASM)。通过 profile 读取设备配置,精准管理远程服务器。 适用于:配置 VPS、部署云端应用、安装 Coolify/KASM,或管理远程服务器。 注意:此技能不适用于本地安装、Windows/WSL/macOS 系统管理,也不适用于 MCP 服务器的管理——请改用 admin 专业技能。

SKILL.md
--- frontmatter
name: admin-devops
description: |
  REMOTE infrastructure administration (alpha v0.0.2). Server inventory, cloud provisioning
  (OCI, Hetzner, Linode, DigitalOcean, Contabo), and application deployment
  (Coolify, KASM). Profile-aware - reads servers from device profile.

  Use when: provisioning VPS, deploying to cloud, installing Coolify/KASM,
  managing remote servers.

  NOT for: local installs, Windows/WSL/macOS admin, MCP servers → use admin.
license: MIT
source: plugin

Admin DevOps - Remote Infrastructure (Alpha)

CRITICAL MUST: Secrets and .env

  • NEVER store live .env files or credentials inside any skill folder.
  • .env.template files belong only in templates/ within a skill.
  • Store live secrets in ~/.admin/.env (or another non-skill location you control) and reference them from there.

⚠️ PROFILE GATE (MANDATORY)

See references/profile-gate.md (synced from admin).

Task Qualification (MANDATORY)

  • If the task is local OS/MCP/skills, stop and hand off to admin.
  • If the task is remote infrastructure, continue.
  • If ambiguous, ask a clarifying question before proceeding.

Task Routing

TaskReference
Server inventoryServer Operations
OCI provisioningreferences/oci.md
Hetzner provisioningreferences/hetzner.md
Linode provisioningreferences/linode.md
DigitalOcean provisioningreferences/digitalocean.md
Contabo provisioningreferences/contabo.md
Coolify deploymentreferences/coolify.md
KASM deploymentreferences/kasm.md
Local machine tasks→ Use admin skill

Server Operations

Use profile.servers for inventory; do not maintain a separate list.

Provisioning Workflow (5 Steps)

  1. Choose provider
  2. Load deployment env (.env.local)
  3. Run provider workflow
  4. Update profile servers/deployments
  5. Log the operation

Logging (MANDATORY)

Uses local logging scripts (synced from admin):

bash
source ~/.claude/skills/admin-devops/scripts/log-admin-event.sh
log_admin_event "Provisioned Hetzner server" "OK"
powershell
. "$HOME\.claude\skills\admin-devops\scripts\Log-AdminEvent.ps1"
Log-AdminEvent -Message "Provisioned Hetzner server" -Level OK

Scripts / References

  • Provider scripts: scripts/oci-* and related tools
  • App scripts: scripts/coolify-*, scripts/kasm/*
  • References: references/*.md
  • Templates: templates/*