Contabo live instance lifecycle guard

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

Contabo live instance lifecycle guard is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Live-guard skill for Contabo VPS and VDS lifecycle operations including instance creation with product selection and region, reinstallation with image and Cloud-Init userData, and cancellation. Requires mandatory contract period acknowledgment (1, 3, 6, or 12 months), billing impact confirmation, an

How to use this skill

Skill file

Contabo Live Instance Lifecycle Guard

Purpose

Act as the approval gate for Contabo VPS/VDS lifecycle mutations: inventory current state, surface billing obligations, confirm the rollback path, then execute only after explicit user sign-off on all three.

When to use

Use this skill for:

Hard-stop conditions

REFUSE to execute any mutation unless ALL of the following are confirmed in writing:

  1. Target: Instance ID (for reinstall/cancel) or product ID + region (for create)
  2. Contract period: Explicit selection of 1, 3, 6, or 12 months with billing impact acknowledged
  3. Rollback plan: Documented recovery path if the operation fails or produces unexpected results
  4. Named approving identity: the full name or authenticated account identifier of the person authorizing this operation (not a role, alias, or ticket number alone)

Lean operating rules

Automation pattern (read-only inventory first)

# Load credentials from environment — never hardcode
: "${CONTABO_CLIENT_ID:?set in env}"
: "${CONTABO_CLIENT_SECRET:?set in env}"
: "${CONTABO_API_USER:?set in env}"
: "${CONTABO_API_PASSWORD:?set in env}"

# Refresh token before each operation
TOKEN=$(curl -s \
  -d "client_id=${CONTABO_CLIENT_ID}" \
  -d "client_secret=${CONTABO_CLIENT_SECRET}" \
  --data-urlencode "username=${CONTABO_API_USER}" \
  --data-urlencode "password=${CONTABO_API_PASSWORD}" \
  -d 'grant_type=password' \
  'https://auth.contabo.com/auth/realms/contabo/protocol/openid-connect/token' \
  | jq -r '.access_token')

# Read-only inventory
curl -s \
  -H "Authorization: Bearer ${TOKEN}" \
  -H "x-request-id: $(uuidgen)" \
  'https://api.contabo.com/v1/compute/instances' | jq .

Response minimum

Return, at minimum:

References

Load these only when needed:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.