No slash command · from bitfab
Login phase of the Bitfab Setup flow. Invoked by the setup flow; not run directly
Ships in bitfab. 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.
Mode: you were dispatched with a mode (wizard or login or instrument); which steps apply and where they route below depend on it.
Run only when mode is wizard, login or instrument.
Authenticate with Bitfab and retrieve the API key.
Run the status check:
node "${CLAUDE_PLUGIN_ROOT}/dist/commands/status.js"
If already authenticated, skip to step 3.
If not authenticated, run node "${CLAUDE_PLUGIN_ROOT}/dist/commands/login.js" as a long-running background process. Immediately relay its sign-in URL to the user. Poll the process while keeping the conversation available. The command automatically opens a sign-in window and exits after authentication, or after ten minutes. The printed link is available if the window cannot open. On failure, report the error and let the user retry. Never print or request API keys in chat.
Next:
wizard or login or instrument): invoke the setup-cleanup skill with the current mode (wizard or login or instrument), forwarding $ARGUMENTS minus the leading mode keyword (if the user typed one).Call mcp__plugin_bitfab_Bitfab__get_bitfab_api_key to retrieve the API key, NEVER print or log the full key. Stored at ~/.config/bitfab/credentials.json, used for the BITFAB_API_KEY environment variable.
If mcp__plugin_bitfab_Bitfab__get_bitfab_api_key is not available in this session, the MCP server is switched off, not broken: it ships inside this plugin, so an absent tool is a setting rather than a failed install. Say so and hand the user the fix below; do not diagnose further, and do not fall back to drafting anything by hand.
Tell them to run /mcp, enable Bitfab, then re-run this skill. The tools load into the running session, so nothing is lost. Do not suggest restarting: the setting is stored per project and survives a relaunch, so they would come back just as stuck. Ignore claude mcp list here, it health-checks the server in its own process and prints Connected even when this session cannot reach it.
Then stop, the same way a failed login stops. Do not fall through to the remaining steps: every phase after this one needs these tools, so continuing only moves the failure further from its cause.
Check whether session log consent has already been recorded:
node "${CLAUDE_PLUGIN_ROOT}/dist/commands/sessionLogConsent.js" get
If the output is already true or false, skip the prompt and continue. If the output is null, use AskUserQuestion:
Save the answer (replace CONSENT with true or false):
node "${CLAUDE_PLUGIN_ROOT}/dist/commands/sessionLogConsent.js" set CONSENT
Next:
wizard: invoke the setup-explain skill with mode wizard, forwarding $ARGUMENTS minus the leading mode keyword (if the user typed one).login: invoke the setup-cleanup skill with mode login, forwarding $ARGUMENTS minus the leading mode keyword (if the user typed one).instrument: invoke the setup-instrument skill with mode instrument, forwarding $ARGUMENTS minus the leading mode keyword (if the user typed one).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub project-white-rabbit/bitfab-claude-plugin --plugin bitfab19 skills in this plugin
/assistantBitfab Assistant (retired)Retired. Only use when the user explicitly types the bitfab assistant command by name; it tells them the assistant has been retired. Never use it for requests about traces, datasets, labels, verdicts, replays, experiments, or improving a traced function: handle those directly with the Bitfab MCP tools/setupBitfab SetupSet up and maintain Bitfab tracing, replay registries, and cloud replay. Use for instrumenting AI/LLM code, adding observability or evaluation, tracing another workflow, changing captured inputs/outputs, re-instrumenting a function, moving side effects across trace boundaries, inspecting missing traces, explaining Bitfab, login, organization switching, session-log consent, database snapshots, templates, or read-only repo instrumentation recommendations (analyze-repo). Also use for 'setup cloud', 'set up cloud replay', or 'replay on GitHub'. Re-enter this skill for each additional function to instrument, even after earlier setup. Do not use for improving output quality, pass rates, verdicts (labeling), or experiments (the agent does those directly with the Bitfab MCP tools), or upgrading SDK/plugin versions (use bitfab:update)