Skip to content
Back to skills

Platform Operations

ASecurity

"Operate PyCaret's self-hosted platform deployment, configuration,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
devopspythonbashsqlreactdockerkubernetesterraformapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill platform-operations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Platform Operations?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Platform Operations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-platform-operations/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-platform-operations)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: platform-operations
description: "Operate PyCaret's self-hosted platform deployment, configuration,
  storage, queues, workers, backups, and runtime health checks."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Platform Operations

Use this sub-skill when the task is about running or operating the PyCaret
Control Plane rather than changing engine code or web source. It covers local
single-process installs, Docker Compose deployments, production-shaped
Postgres/Redis/MinIO deployments, secrets persistence, object storage,
backup/restore, migrations, worker queues, optional GPU workers, and platform
health checks.

## Route first

1. Identify the install shape:
   - single-process `pycaret-server` process,
   - compact Docker Compose (`api` + `web`, SQLite/local artifacts),
   - production-shaped Compose (`api` + `worker` + Postgres + Redis + MinIO),
   - Kubernetes/Helm or cloud/Terraform target.
2. Load the matching reference:
   - [deployment modes](references/deployment-modes.md) for services, ports, and start/stop commands.
   - [configuration and secrets](references/configuration-and-secrets.md) for `PYCARET_*` settings and Fernet/JWT handling.
   - [backup, restore, and upgrade](references/backup-restore-and-upgrade.md) before touching state, migrations, or images.
   - [GPU workers and queues](references/gpu-workers-and-queues.md) for `default`, `cpu-heavy`, `gpu`, and `inference` worker routing.
   - [troubleshooting](references/troubleshooting.md) when a platform surface is stuck or unhealthy.
3. Prefer bundled, non-secret checks before destructive actions:
   - `python scripts/ops_doctor.py`
   - `bash scripts/check_container_secret_key.sh --data-dir ./data`
4. State clearly when a surface is documented as a future or stub target. Do
   not present Helm or Terraform as production-complete without verifying the
   actual chart/module templates in the user's distribution.

## Common commands

```bash
# Bootstrap and run a direct server install.
pycaret-server init --data-dir ./data
pycaret-server migrate
pycaret-server serve --host 0.0.0.0 --port 8020
pycaret-server doctor

# Compact Docker Compose from a source distribution.
docker compose up --build
docker compose logs -f api
docker compose down          # preserves named volumes
docker compose down --volumes # wipes data volumes

# Production-shaped Compose from a source distribution.
docker compose -f infra/docker/docker-compose.prod.yml up --build

# Redis worker process.
PYCARET_RUNS_BACKEND=redis pycaret-server worker --queues default,cpu-heavy --worker-id worker-1
```

## Boundaries

Route elsewhere for:

- Engine experiment/task API, model lists, `RunConfig`, and `pycaret` library use → `engine-workflows`.
- Editing React/Vite source, routes, or components → `web-ui`.
- Contributor Python style, package tests, release notes, and code changes → `repo-development`.

Keep operations guidance self-contained. Do not rely on a local checkout path,
private environment prefix, or secret value. Never print JWT secrets, Fernet
keys, storage credentials, SMTP passwords, or connection passwords.

Files in this skill

  • SKILL.md3.1 KB
  • references/backup-restore-and-upgrade.md6.3 KB
  • references/configuration-and-secrets.md7.9 KB
  • references/deployment-modes.md6.2 KB
  • references/gpu-workers-and-queues.md5 KB
  • references/troubleshooting.md6.3 KB
  • scripts/check_container_secret_key.sh3.9 KB
  • scripts/ops_doctor.py8.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.