/si-coder:sc-convex-cloudfrom si-coder
Deploys and debugs Convex Cloud (managed) backends using CONVEX_DEPLOY_KEY, injects NEXT_PUBLIC_CONVEX_URL, and probes deployment health endpoints.
Ships in si-coder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use this skill when the user wants to deploy, debug, or maintain a Convex Cloud (managed) backend — the online-path counterpart to /sc-convex (self-hosted on Dokploy). The repo lives at https://github.com/rahmanef63/si-coder-agent.
flowchart LR
A["/sc-convex-cloud"] --> B["scripts/deploy-cloud.js<br/>CONVEX_DEPLOY_KEY (env, never echoed)"]
B --> C["npx convex deploy<br/>→ Convex Cloud"]
C --> D["inject NEXT_PUBLIC_CONVEX_URL<br/>into the build"]
D --> E["probe /version (*.convex.cloud)<br/>+ JWKS (*.convex.site)"]
E --> F["ready ✅"]
For a direct Convex Cloud source=sc named connection, execute credential-dependent helpers through sc run -- ..., for example:
sc run -- node skills/sc-convex-cloud/scripts/deploy-cloud.js --help
The plain node scripts/... examples below describe the script interface. Do not export CONVEX_DEPLOY_KEY globally merely to satisfy them. Composio-backed connections execute through Composio rather than sc run.
Prefer an existing project-owned release wrapper because it owns environment isolation, custom domains and verification. Otherwise use scripts/deploy-cloud.js. Do not instruct the user to run npx convex deploy interactively, nor to hand-set NEXT_PUBLIC_CONVEX_URL. The deploy key is passed via the script's env and never echoed. If a deploy fails, debug it with scripts/check-cloud.js and fix root cause — do not punt the Convex CLI call to the user.
CONVEX_DEPLOY_KEY — production (or preview) deploy key for the Cloud deployment. Required.CONVEX_DEPLOYMENT — optional local-dev marker written by npx convex dev. NOT used in CI.If CONVEX_DEPLOY_KEY is missing, route the user to /sc-onboarding.
NEXT_PUBLIC_CONVEX_URL; other frameworks may use PUBLIC_CONVEX_URL or a compatibility bridge. Set --cmd-url-env-var-name only to the actual consumer.env, never interpolate it into a shell command string.CONVEX_DEPLOY_KEY only on the matching env: a prod key → Production only; a preview key → Preview only. Never set CONVEX_DEPLOYMENT in CI.npx convex deployment token create <name> --prod --save-env).Read the main sc delivery workflow for auth/email or domain changes.
Convex function env is separate from frontend-host env. Verify the exact
deployment and use --prod for production env/run operations that support it.
Do not shell-source dotenv or let ambient self-hosted/dev selectors override the
project release credential. Never dump env values during diagnosis.
Deploy the backend provider code, then verify a production capability query and
the actual UI/provider flow; redeploying only the frontend is insufficient.
| Variable | Format | Purpose |
|---|---|---|
CONVEX_DEPLOY_KEY | prod:<name>|eyJ2… or preview:… | Authenticates npx convex deploy against the Cloud deployment (SECRET) |
CONVEX_DEPLOYMENT | prod:<name> / deployment name | Optional local-dev marker only; leave blank in CI |
All scripts live in skills/sc-convex-cloud/scripts/ (repo-relative; the usage blocks below assume this cwd). On install, this skill is symlinked into ~/.claude/skills/sc-convex-cloud/, so the same paths resolve there too.
deploy-cloud.jsRun a Convex Cloud deploy. Coupled build (default) runs the frontend build via --cmd and injects NEXT_PUBLIC_CONVEX_URL; --backend-only pushes just the backend (when Vercel runs the coupled build itself). Prints NEXT_PUBLIC_CONVEX_URL=<url> — never the deploy key.
node scripts/deploy-cloud.js \
[--build-cmd 'npm run build'] \
[--url-env NEXT_PUBLIC_CONVEX_URL] \
[--backend-only] \
[--message "deploy message"] \
[--cwd <path>]
check-cloud.jsProbe a Cloud deployment's /version (on the *.convex.cloud host) + /.well-known/jwks.json (on the *.convex.site host — that's where @convex-dev/auth serves JWKS). Derives the URL from CONVEX_DEPLOY_KEY when --url is omitted. Prints a status table. /version is required; JWKS is advisory (a deployment without @convex-dev/auth has none) and only gates the exit code when you pass --expect-auth. Exits 2 if a required probe is not ok.
node scripts/check-cloud.js --url https://<name>.convex.cloud
# require JWKS too (the deployment is expected to run @convex-dev/auth):
node scripts/check-cloud.js --url https://<name>.convex.cloud --expect-auth
# or, deriving from the prod deploy key:
node scripts/check-cloud.js
| Symptom | Cause | Fix |
|---|---|---|
| Client connects to wrong backend | NEXT_PUBLIC_CONVEX_URL not injected | Ensure --cmd-url-env-var-name NEXT_PUBLIC_CONVEX_URL is set on the coupled build |
Browser shows CONVEX_URL unset | Missing NEXT_PUBLIC_ prefix override | Pass --url-env NEXT_PUBLIC_CONVEX_URL (default) — never the bare CONVEX_URL |
JWKS (*.convex.site) not 200 | @convex-dev/auth keys not configured on the deployment (or a probe pointed at the wrong host) | JWKS is served on *.convex.site, NOT *.convex.cloud; configure @convex-dev/auth keys on the deployment via the dashboard / env. Advisory unless check-cloud.js --expect-auth |
deploy-cloud.js exits 1 immediately | CONVEX_DEPLOY_KEY missing | Set it (route to /sc-onboarding) — never run the CLI by hand |
check-cloud.js cannot derive URL | preview key (branch-derived name not in key) | Pass --url https://<name>.convex.cloud explicitly |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (rahmanef63/si-coder-agent) — no native marketplace selected
npx claudepluginhub p/rahmanef63-si-coder27 skills in this plugin
/scMain SI-Coder entry point for non-technical users. Turn a plain-language idea or existing web app into a working product, improve frontend quality across UI/UX/DX/AX, and publish it. Route automatically while keeping technical details optional./sc-allTurn a plain-language web-app goal into a working live app. Designed for non-technical users: choose architecture and hosting automatically, connect accounts safely, create/publish code, data, domain and verification end-to-end, delegate user-facing frontend quality to sc-fe, and expose technical details only when needed or requested./sc-axSI-Coder Agent Experience (AX) skill. Make projects, tools, workflows, and frontend actions easy for coding agents to discover, understand, invoke correctly, observe, recover, resume, and verify with low context/token waste.Other plugins' skills for the same job