No slash command · from hypervibe
Internal migration helper invoked by /start that consolidates legacy Cloudflare workers (db-backup, quota-monitor, cron-dispatcher) into a unified shared worker (hypervibe-jobs). Self-detecting, safe, and transitional.
Ships in hypervibe. 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.
None: SKILL.md is the whole skill.
Invoked by /start when it detects legacy background workers on the machine. Users never call this directly: the user-facing instruction is simply "re-run /start".
/bootstrap carries no language signal by itself). If nothing in the conversation gives a signal, fall back to the OS locale (node -e "console.log(Intl.DateTimeFormat().resolvedOptions().locale)") before defaulting to English. ALWAYS reply in that language for every user-facing message: questions, progress, confirmations, summaries, errors - including any example text quoted in this skill, which is illustrative and must be translated, never sent verbatim.Older Hypervibe versions could set up to three separate background mechanisms on the user's Cloudflare account: database backups, quota alerts, and scheduled task triggers. Version 2.5 unifies all three into ONE mechanism ("your shared clock", technically hypervibe-jobs), living in a small git-versioned folder, using a single Cloudflare cron slot in total. Same schedules, same behavior, safer bookkeeping, and it frees up to 2-3 slots.
for d in ~/.db-backup-worker ~/.quota-monitor-worker ~/.cron-dispatcher; do
[ -f "$d/wrangler.toml" ] && echo "LEGACY: $d"
done
[ -f ~/.hypervibe-jobs/jobs.js ] && echo "UNIFIED: present"
LEGACY: line then there is nothing to migrate. Tell the user, in one friendly sentence, that everything is already up to date (fresh install, or already migrated) and STOP here. Do not run any of the following steps. (This is the expected result for anyone who never used a pre-2.5 version.)LEGACY: lines then continue. List them to the user in plain words (which of the three old mechanisms they have) and tell them you will consolidate them, safely, step by step.The migration reads the Cloudflare token (and the Neon/Brevo keys, for backups/quota) from the vault. Ensure it is unlocked (follow _ensure-vault): node "${CLAUDE_SKILL_DIR}/../../scripts/vault/vault.mjs" status then if locked/expired, run launch.mjs unlock (tell the user a window is opening for their master password); if the vault does not exist, delegate to _add-keyring. Then load the Cloudflare env + PATH:
eval "$(node "${CLAUDE_SKILL_DIR}/../../scripts/wrangler-env-init.mjs")"
node "${CLAUDE_SKILL_DIR}/../../scripts/shared-worker/ensure.mjs" --dry-run
The dry run changes nothing and says whether the real run would deploy: status: "not-scaffolded" (first setup, the clock would be created and deployed), "would-deploy" (the clock is behind or missing on the account; reasons says why), or "in-step" (nothing would change). In step: do not run the real command, treat the dry run's JSON as the provisioning result (it carries dir, workerName, workerUrl, jobs; read its status as already_present). Otherwise, say in one sentence what is about to happen on the user's Cloudflare account, then run the real command below; the guardrail asks for confirmation at that moment, and that question is the user's yes (outside review, 3.1.6):
node "${CLAUDE_SKILL_DIR}/../../scripts/shared-worker/ensure.mjs"
Parse the JSON. Expect ok: true (status: "created" or "already_present"). Keep workerUrl. On ok: false, stop and explain the howTo in plain words (usually: run /start to enable Cloudflare).
node "${CLAUDE_SKILL_DIR}/../../scripts/shared-worker/migrate-live.mjs" --put-secrets
Parse the JSON:
migrated - what was carried over (backup targets, quota config, scheduled pings). Recap it in plain words.skipped entries about mechanisms the user does not have are NORMAL, not errors.uploadedSecrets / missingSecrets - with --put-secrets the Neon/Cloudflare/Brevo keys are uploaded from the vault automatically. If anything remains in missingSecrets, follow the guidance in the output.pingSecretsToReupload (only when an old cron-dispatcher existed) - these secret VALUES cannot be read back from Cloudflare. For each name (e.g. CRON_SECRET_MYAPP), the value lives in the matching project's .env file under CRON_SECRET. If you know where that project is, upload it from there: the value goes from that .env to the Worker without passing through the conversation, and nothing is sent when it is absent:
V=$(node "${CLAUDE_SKILL_DIR}/../../scripts/env-value.mjs" --project-dir "<that project's folder>" CRON_SECRET) && [ -n "$V" ] \
|| { echo "CRON_SECRET is not in that project's .env: nothing was uploaded."; exit 1; }
cd ~/.hypervibe-jobs && printf '%s' "$V" | npx wrangler secret put <NAME>
Otherwise ask the user where that project's folder is. Until a secret is uploaded, that specific scheduled task is skipped with a harmless log line, nothing crashes. Tell the user which ones still need their key.ADMIN=$(node "${CLAUDE_SKILL_DIR}/../../scripts/_read-user-env.mjs" HYPERVIBE_JOBS_ADMIN_TOKEN)
printf 'header = "Authorization: Bearer %s"\n' "$ADMIN" | curl -s --config - "<workerUrl>/status"
Check every migrated job is listed with the right schedule (nextDue populated). Then force a real run of ONE migrated job and verify its effect. If workerUrl is null (controlPlane: "off": the account has no workers.dev address), these two calls cannot answer: verify through cd ~/.hypervibe-jobs && npx wrangler tail at the next scheduled run instead, and say so.
printf 'header = "Authorization: Bearer %s"\n' "$ADMIN" | curl -s --config - -X POST "<workerUrl>/trigger?name=neon-backups&target=<one migrated target>" (one database: all of them at once is refused beyond ten), wait ~30 seconds, then verify via the Neon API that a fresh branch named bk-<project>-r-<today> exists on that target (Neon key from the vault). This is the strong proof.cd ~/.hypervibe-jobs && npx wrangler tail while triggering).Do not continue until a verification passes. If it fails, say so honestly, LEAVE the legacy mechanisms in place (they still work), and troubleshoot.
Show the user what will be removed and why it is now safe (the shared clock is deployed and verified; this frees their Cloudflare slots). Ask for an explicit yes. Then run the exact commands from the migration output's decommission_after_verification (a worker deletion in each legacy folder), and ARCHIVE the folders rather than deleting them:
# for each legacy folder that existed (uses today's date):
D=$(date +%Y-%m-%d)
[ -d ~/.db-backup-worker ] && mv ~/.db-backup-worker ~/.db-backup-worker-decommissioned-$D
[ -d ~/.quota-monitor-worker ] && mv ~/.quota-monitor-worker ~/.quota-monitor-worker-decommissioned-$D
[ -d ~/.cron-dispatcher ] && mv ~/.cron-dispatcher ~/.cron-dispatcher-decommissioned-$D
Tell the user the archived folders can be deleted after a few healthy cycles (for example after the next 1st-or-15th backup run).
If the user prefers NOT to decommission yet: fine, stop here. Warn them that until they do, the old and new mechanisms both run (duplicate backups each cycle, and the freed Cloudflare slots stay occupied), and they can re-run /start any time to finish.
Summarize: what was migrated, what was verified (with the concrete proof, e.g. "a fresh backup was created a minute ago"), how many Cloudflare slots were freed, where the shared clock lives now (~/.hypervibe-jobs/, versioned and safe), and how to interact with it from now on: just ask Claude ("show my scheduled tasks", "run a backup right now", "change the quota alert threshold"). No further action is needed unless some pingSecretsToReupload remain.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub flavien-ia/hypervibe-craft --plugin hypervibe90 skills in this plugin
/accessibilityAccessibility audit of a Next.js app: reads the code (images, buttons, links, form fields, keyboard, focus, zoom, motion), measures the live pages with PageSpeed Insights, explains each problem plainly, then applies the fixes the user approves./add-2faAdd two-factor authentication (2FA TOTP) to an existing T3 project's login. Orchestrator - asks which authenticator app the user wants, detects whether the project uses admin auth (single fixed login) or user accounts, and delegates to the right setup. Admin mode - 2FA is mandatory for the single admin, secret + backup codes stored in the Bitwarden vault. User mode - 2FA is optional per user, each user enables it from their account page, secrets + backup codes stored per-user in the database. Requires the project to already have hypervibe auth (`/add-auth`)./Other plugins' skills for the same job