Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

local-convex

БесплатноБез исполняемых скриптовНе проверен

Operate Joel's local self-hosted Convex setup with Central Postgres and NAS-backed Garage/S3-compatible object storage. Use when: 'local convex', 'self-hosted…

joelhooksот joelhooks★ 69 звёзд на GitHub

Об этом скилле

Local Convex

For private addresses, accounts, ports, and host roles, see .brain/resources/operator-network-context.svx in the private dark-wizard repo and the tailnet-topology skill. Replace angle-bracket placeholders with the configured values before running commands.

Operate Joel's local self-hosted Convex setup. This is not generic Convex advice. It is the local joelclaw path: Central Postgres for database state and Garage on <nas> for S3-compatible object storage. The custom MinIO install is now a rollback/reference path. ASUSTOR MinIO CE is only a temporary smoke-test reference.

Canonical Sources

Read these before mutating the setup:

  • Project note: /Users/joel/.brain/projects/convex-self-hosting-local.svx
  • Garage installer: /Users/joel/Documents/Codex/2026-06-17/we-re-setting-up-durable-self/outputs/install-three-body-convex-garage.sh
  • Legacy MinIO runbook: /Users/joel/Documents/Codex/2026-06-17/we-re-setting-up-durable-self/outputs/three-body-convex-minio-runbook.md
  • Legacy MinIO installer: /Users/joel/Documents/Codex/2026-06-17/we-re-setting-up-durable-self/outputs/install-three-body-convex-minio.sh

If those disagree, prefer the brain project note for current truth, then verify live state with non-secret health checks.

Current Local Topology

  • NAS host: <nas>
  • Tailnet IP: <tailnet-ip>
  • Prefer the tailnet IP in machine config and smoke tests. Treat <nas> as a human label, not the Convex S3 endpoint.
  • NAS model: AS6508T
  • ADM: 5.1.3.RI81
  • Database state: Central Postgres, not NAS storage.
  • Central Postgres runs as the joelclaw service user:
    • binary: /opt/homebrew/opt/postgresql@17/bin/postgres
    • data: /Users/Shared/joelclaw/data/postgres
    • config: /Users/Shared/joelclaw/etc/postgres/postgresql.conf
    • TCP: 127.0.0.1:5432
    • socket: /Users/Shared/joelclaw/run/.s.PGSQL.5432
    • auth: local socket uses peer auth; TCP uses SCRAM password auth.
  • Canonical object storage: Garage on <nas>.
  • Garage S3 API: http://<tailnet-ip>:<service-port>
  • Garage data: <nas-hdd-export>/s3/garage/data
  • Garage metadata: <nas-hdd-export>/s3/garage/meta
  • Garage snapshots: <nas-hdd-export>/s3/garage/snapshots
  • Garage Compose path on NAS: <nas-export>/s3/garage-compose/compose.yaml
  • Garage Convex S3 env on NAS: <nas-hdd-export>/s3/garage-compose/convex-s3.env
  • Garage redacted Convex S3 env on NAS: <nas-hdd-export>/s3/garage-compose/convex-s3.redacted.env

Custom MinIO is a rollback/reference path, not canonical:

  • Custom MinIO API: http://<tailnet-ip>:<service-port>
  • Custom MinIO console: http://<tailnet-ip>:<service-port>
  • Custom MinIO data: <nas-hdd-export>/s3/minio/data
  • Custom MinIO Compose path on NAS: <nas-export>/s3/minio-compose/compose.yaml
  • Custom MinIO Convex S3 env on NAS: <nas-hdd-export>/s3/minio-compose/convex-s3.env

ASUSTOR MinIO CE is not canonical:

  • CE API: http://<tailnet-ip>:<service-port>
  • CE console: http://<tailnet-ip>:<service-port>
  • CE data: /share/MinIOCE/data
  • CE login verified during setup: minioadmin / minioadminPassWD9001
  • CE exists only as a temporary smoke-test reference and should be uninstalled after the custom path is proven through Convex.

Convex Buckets

Garage should have these Convex buckets:

  • joelclaw-local-usw2-convex-exports
  • joelclaw-local-usw2-convex-snapshot-imports
  • joelclaw-local-usw2-convex-modules
  • joelclaw-local-usw2-convex-files
  • joelclaw-local-usw2-convex-search

Convex Env Shape

Use the generated secret values from the NAS env file. Do not print them in chat.

AWS_REGION=usw2
S3_ENDPOINT_URL=http://<tailnet-ip>:<service-port>
AWS_S3_FORCE_PATH_STYLE=true
AWS_ACCESS_KEY_ID=<from <nas-hdd-export>/s3/garage-compose/convex-s3.env>
AWS_SECRET_ACCESS_KEY=<from <nas-hdd-export>/s3/garage-compose/convex-s3.env>
S3_STORAGE_EXPORTS_BUCKET=joelclaw-local-usw2-convex-exports
S3_STORAGE_SNAPSHOT_IMPORTS_BUCKET=joelclaw-local-usw2-convex-snapshot-imports
S3_STORAGE_MODULES_BUCKET=joelclaw-local-usw2-convex-modules
S3_STORAGE_FILES_BUCKET=joelclaw-local-usw2-convex-files
S3_STORAGE_SEARCH_BUCKET=joelclaw-local-usw2-convex-search

Health Checks

Prefer checks that do not reveal secrets:

tailscale ping --timeout=5s --c 2 <nas>
nc -vz -w 5 <tailnet-ip> <object-api-port>
curl -sS -m 5 -o /tmp/garage-root.out -w '%{http_code}\n' http://<tailnet-ip>:<service-port>/

Garage does not allow anonymous S3 access; a 403 AccessDenied response from / proves the API is reachable.

For MinIO rollback/reference only:

curl -fsS -m 5 http://<tailnet-ip>:<service-port>/minio/health/ready
nc -vz -w 5 <tailnet-ip> <s3-api-port>
nc -vz -w 5 <tailnet-ip> <object-console-port>

For CE reference only:

curl -fsS -m 5 http://<tailnet-ip>:<service-port>/minio/health/ready

NAS Access Rules

  • Use one SSH session at a time. <nas> has reset SSH handshakes after bursts of concurrent probes.
  • Back off after `kex_exchange_iden
Полный SKILL.md на GitHub

Установить local-convex в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл local-convex?

Operate Joel's local self-hosted Convex setup with Central Postgres and NAS-backed Garage/S3-compatible object storage. Use when: 'local convex', 'self-hosted convex', 'Convex S3', 'Convex Garage', 'Garage', 'Convex MinIO', 'Convex buckets', 'run Convex locally', or any task wiring/debugging the local Convex runtime.

Как установить скилл local-convex?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл local-convex запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить local-convex с