No slash command · from hypervibe
Internal skill that installs Bitwarden CLI, connects the user's account, and opens the daily vault session. Called automatically by other skills when a missing vault is detected.
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.
/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.You set up an encrypted vault (Bitwarden) where the user's global keys (Cloudflare, Neon, email, etc.) will live - the ones they reuse across all their projects. Instead of sitting in plain text in system variables, they are encrypted and you read them on demand after a daily unlock.
Script vocabulary (internal):
INSTALL="${CLAUDE_SKILL_DIR}/../../scripts/vault/install-bw.mjs",VAULT="${CLAUDE_SKILL_DIR}/../../scripts/vault/vault.mjs",LAUNCH="${CLAUDE_SKILL_DIR}/../../scripts/vault/launch.mjs".
Detect the OS silently:
uname -s 2>/dev/null || echo "Windows"
Darwin→mac, MINGW/MSYS/Windows→windows, Linux→linux.
Install the Bitwarden tool (idempotent, does nothing if it is already there):
node "${CLAUDE_SKILL_DIR}/../../scripts/vault/install-bw.mjs"
OK → already present, say nothing.INSTALLED... → say "I installed the vault tool." The PATH may not be active in the current terminal - for the rest of THIS session, export the bin folder:
export PATH="$PATH:$HOME/.hypervibe/bin:/c/Users/$USERNAME/.hypervibe/bin"export PATH="$PATH:$HOME/.hypervibe/bin"ERROR: ... → report it to the user and offer the official manual install (https://bitwarden.com/help/cli/), non-blocking. NEVER improvise a download of bw/bw.exe yourself (ad-hoc PowerShell Invoke-WebRequest, direct curl, etc.): running an unscripted external binary triggers an authorization prompt and is not reliable. If you think the install failed for a transient reason (network), re-run the same install-bw.mjs once; otherwise, route to the official manual install.⚠️ Two indicators exist, do not confuse them:
node "$VAULT" status (the Hypervibe session) = the ONLY source of truth for knowing whether the vault is OPEN (unlocked / locked / expired). This is what matters for reading/writing keys.node "$VAULT" account is used only to know whether an account is connected on the machine ("signedIn": true or false). It unlocks nothing, so it says nothing about whether the vault is open: NEVER use it to decide whether the vault is open, otherwise you would trigger an unnecessary unlock. ⚠️ Never ask the bw tool itself (bw status): on Windows it can read another sign-in folder than the plugin's, and would call a connected machine unauthenticated.Check FIRST whether the vault is already open (the most frequent case during the day):
node "${CLAUDE_SKILL_DIR}/../../scripts/vault/vault.mjs" status 2>/dev/null
unlocked → the vault is already open, it is ready: go directly to Step 6 (offer NEITHER login NOR unlock).locked or expired → the vault is not open: you need to determine whether the connection is missing or just the unlock → continue below.Only then, look at the account state (login):
node "${CLAUDE_SKILL_DIR}/../../scripts/vault/vault.mjs" account 2>/dev/null # {"signedIn": true|false, "account": ...}
"signedIn": false → no account connected on this machine (this does NOT say whether an account exists elsewhere) → Step 3 (login). It is also the answer when the bw tool cannot run here: the windows (launch.mjs login/unlock/add) reinstall the tool automatically if it is missing, and the sign-in window says so when an account is in fact already connected."signedIn": true → an account is already connected (account names it), only the unlock is missing → Step 5 (unlock). Do NOT log in again."signedIn": false only means "not connected on this machine", not "no account". Do NOT open the signup page by default. First, ask the question via the AskUserQuestion tool:
Question: "Do you already have a Bitwarden account (the vault)?"
- Yes, in Europe: account created on
vault.bitwarden.eu(the most common case). → we go straight to the connection (Step 4, EU server).- Yes, in the United States: account created on
vault.bitwarden.com. → connection Step 4, US server.- No, I don't have one yet: → we create the account (Step 3bis), then connect.
- I'm not sure: treat as "No" (we create an EU account; if the connection later fails because an account already existed, we will adjust).
Remember the chosen region: it sets the --server for the login.
https://vault.bitwarden.euhttps://vault.bitwarden.comDepending on the answer:
We are going to create a vault for your access keys. It is free and takes 2 minutes.
- I will open the signup page for you. Create your account with your email.
- Choose a strong master password. Very important: it is the only key to the vault. If you forget it, no one (not even Bitwarden) can recover it, and all the content would be lost. Write it down somewhere offline (a piece of paper in a drawer).
- Enable two-factor authentication (Settings, Security, Two-step Login, via an app like Google Authenticator): recommended, this vault holds sensitive access keys.
Open the signup page (EU region, data hosted in Europe):
node "${CLAUDE_SKILL_DIR}/../../scripts/open-url.mjs" "https://vault.bitwarden.eu/#/register" 2>/dev/null
Wait for the user to confirm they have created their account (and enabled 2FA). Account region = EU.
A window will open to connect you to your vault: a text window, often black. That is expected, and nothing in it can break: a typo is undone by starting again. If you do not see it, it opened behind this one: look for it in the taskbar at the bottom of the screen (Windows) or in the Dock (Mac). Enter your email then your master password (you will see asterisks appear). This information stays in the window, I never see it.
If two-factor authentication is enabled, a code will be requested right after: depending on your configuration it arrives in your authenticator app (Google Authenticator, etc.) or by email (the email is sent at the moment of connection, check your inbox). Copy the code into the window.
Launch the connection with the server of the region remembered at Step 3 (EU by default; US only if the user said they have a US account):
# Europe / new account:
node "${CLAUDE_SKILL_DIR}/../../scripts/vault/launch.mjs" login --lang <LANG> --server https://vault.bitwarden.eu
# (US account: replace with --server https://vault.bitwarden.com)
The command blocks until the window is closed and now returns the real exit code (0 = success, 8 = no internet, any other non-zero = failure: wrong password or wrong 2FA code). Exit 8: the vault's server did not answer, nothing was refused; say in one sentence that internet is needed to sign in to the vault, wait for the user to say they are connected again, then launch the same window once more. Never speak of wrong credentials for an exit 8. NEVER assume success just because the window closed. Always re-check with node "${CLAUDE_SKILL_DIR}/../../scripts/vault/vault.mjs" account:
"signedIn": true → connection succeeded, go to Step 5."signedIn": false → the connection failed: explain it to the user and offer to retry (wrong credentials or wrong 2FA code; or wrong region: if they thought they were on EU but it did not work, retry with the US server). The window already asked 3 times before closing, so a failure here means three wrong attempts: ask the user before opening another one, never relaunch it on reflex. Do not move on to Step 5 until vault.mjs account confirms the connection.Last step: we open the vault. A window will open - type your master password. The vault stays open for 12h, then it locks itself for real: after that, a window asks for it again at the first need.
node "${CLAUDE_SKILL_DIR}/../../scripts/vault/launch.mjs" unlock --lang <LANG>
Blocks until closed. Exit 8 = no internet: the server did not answer and the password was not asked; say in one sentence that internet is needed to open the vault, wait for the user to be connected again, then run the same command once more, never in a loop and never speaking of a wrong password. The window self-repairs and re-checks the state before unlocking: if the bw tool is missing, it reinstalls it automatically; if it shows "No account connected" (vault.mjs account = "signedIn": false), do NOT loop back on the unlock, return to Step 3 (login) first. Then confirm the result:
node "${CLAUDE_SKILL_DIR}/../../scripts/vault/vault.mjs" status
unlocked → ✅ success.locked/expired → the unlock did not complete: the window already asked for the password 3 times, so offer Step 5 again once only, and only after asking. If it fails again with "not connected", it is a login problem (Step 3), not an unlock one: do not insist on the unlock.✅ Your vault is ready!
From now on, your important access keys (Cloudflare, database, email...) will be stored there securely. When I need them, I read them directly - you have nothing to copy over. Just one thing: when the vault is closed, I will ask you for your master password (a small window will open). It stays open twelve hours, then it locks itself again, for your safety.
If _add-keyring was called by /start, hand control back to /start. Otherwise, it is done.
DATABASE_URL, AUTH_SECRET...) stay in the .env + Vercel - do not put them here._get-secret skill (read into a shell variable + auto-unlock, never display the value).node "$LAUNCH" add --name <ITEM> --service <S> --fields "f1:secret,f2:text" (entry in the window, never via Claude).~/.hypervibe/bw-session (outside the plugin folder, survives updates). It lasts 12 hours, then the vault is really locked (bw lock, the file removed): by a lock scheduled at the unlock, by the first read after the end, and at the start of a Claude Code session (scripts/vault/session.mjs).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`)./add-agent-dashboardAdd a monitoring screen for AI agents in the project admin: cost, run history, turn-by-turn traces, and a button to launch a run by hand. Installed when an agent is created, safe to re-run./add-aiAdd AI to an existing Next.js project: chat assistant, content processing, or generation. Estimates the cost from live prices and provisions a spending-capped key before writing any code. Model-independent through OpenRouter./add-analyticsAdd Google Analytics (GA4) to an existing Next.js project. Includes RGPD cookie consent banner./add-authAdd NextAuth (Auth.js) authentication to an existing T3 project. One structured question decides the mode - admin (fixed login in env vars) or users (DB-backed email+password with signup, signin, account page, delete account, and optional forgot-password if email is configured). OAuth providers (Google, GitHub) are offered as optional add-ons AFTER the user-credentials baseline, never as a replacement. This skill is an orchestrator - it delegates the actual implementation to `_setup-auth-admin` or `_setup-auth-users` depending on the chosen mode.Other plugins' skills for the same job