/bifrost:setupfrom bifrost
Guides users through installing the Bifrost CLI, authenticating, and optionally configuring the MCP server. Checks current setup state and resumes from where the user left off.
Ships in bifrost. 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.
Before running any commands, introduce the setup process to the user:
Bifrost SDK Setup
I'll help you set up the Bifrost SDK. This involves three steps:
- Install the CLI - A command-line tool for developing and testing workflows
- Authenticate - Log in to your Bifrost instance
- Configure MCP - Connect Claude Code to Bifrost's tools
Let me check your current setup status...
Bifrost stores credentials separately for each instance URL, so several
connections can coexist on one computer. Only .env in the exact invocation
directory selects a URL; ancestor dotenv files are never discovered
implicitly. Credentials remain in the global store keyed by URL and are never
loaded from .env. Without that local selector, the CLI uses the user's saved
default transparently.
bifrost auth default only reports these values; it changes nothing. Only
bifrost auth use <url> changes the saved default, so never run it unless the
user explicitly asks to change their default connection.
Run this command to check environment (set by SessionStart hook):
echo "SDK: $BIFROST_SDK_INSTALLED | Login: $BIFROST_LOGGED_IN | MCP: $BIFROST_MCP_CONFIGURED"
echo "Python: $BIFROST_PYTHON_CMD ($BIFROST_PYTHON_VERSION) | Pip: $BIFROST_PIP_CMD | OS: $BIFROST_OS"
command -v bifrost >/dev/null && bifrost auth default
The environment flags are hints. When the CLI is installed, the read-only
bifrost auth default output is the source of truth for the current folder.
If a Codex sandbox reports no credentials, rerun that command with host access
from the exact intended workspace before entering the Login flow. Sandboxing
can hide the OS keyring; a successful host probe means the user is already
logged in and the existing connection must be reused.
Based on the environment state:
/bifrost:buildbifrost api, bifrost watch) handles most operations. MCP is only needed for creating forms/apps/agents and knowledge search. Ask if they want to configure it.If BIFROST_OS=windows or the shell appears to be native PowerShell/CMD:
.\Initialize-Bifrost.ps1 (the
PowerShell counterpart to setup.sh): it generates .env, runs
docker compose up -d, and prints the access URL. Docker Desktop must be
installed with the WSL2 backend enabled. (-Domain, -Force, and
-NoStart switches are available; -Force regenerates secrets.)./debug.sh / ./test.sh against the
source), the recommended environment is Linux or macOS. On Windows these
Bash scripts work through Git Bash (e.g.
& 'C:\Program Files\Git\bin\bash.exe' -lc './debug.sh up') or Ubuntu on
WSL2 with Docker Desktop WSL integration — but native PowerShell does not run
them. There is intentionally no PowerShell port of debug.sh/test.sh.claude --version for Claude Codecodex --version for Codexcode --version for VS Code
If none are installed, tell the user to install at least one before MCP or
source-development setup. CLI-only usage can proceed without a coding tool.skills/setup. If it is
a plain file containing ../.claude/skills/bifrost-setup instead of a
directory/symlink, tell the user this is a Git symlink checkout issue:
enable Developer Mode, set git config --global core.symlinks true, reclone,
or run bifrost skill update after CLI installation.If BIFROST_PYTHON_CMD is empty: Python 3.11+ is required. Install based on OS:
sudo apt install python3.11brew install [email protected]winget install --id Python.Python.3.11 -e. If winget fails with
0x8a15000f, run Set-WinHomeLocation -GeoId 244, winget source reset --force, and winget source update, then retry. If winget is still broken,
install Python directly from python.org. Reopen PowerShell and verify with
py -3.11 --version.If BIFROST_PIP_CMD is empty: Need pipx (recommended for CLI tools on modern systems):
sudo apt install pipx && pipx ensurepathbrew install pipx && pipx ensurepathpy -3.11 -m pip install --user pipx
then py -3.11 -m pipx ensurepath and reopen PowerShellIf Windows only reports python.exe from Microsoft\WindowsApps, that is the
Microsoft Store launcher alias, not an installed Python. Install Python with
winget or python.org, then use py -3.11 explicitly. Do not use plain
python until Get-Command python no longer points at WindowsApps.
If bifrost auth default already shows the intended current connection, reuse
that URL and do not log in again.
Otherwise: Ask the user: "What is your Bifrost instance URL? (e.g., https://yourcompany.gobifrost.com)"
Do NOT suggest placeholder URLs - every Bifrost instance has a unique URL provided by the user's organization.
BIFROST_DEV_URL is an optional override for preview and platform links. Do
not use it as evidence of the authenticated CLI connection; when it is absent,
the authenticated current connection is the default link base.
Use the detected pip command (from $BIFROST_PIP_CMD):
$BIFROST_PIP_CMD {url}/api/cli/download/bifrost-cli.tar.gz
On native Windows, prefer:
py -3.11 -m pipx install --force {url}/api/cli/download/bifrost-cli.tar.gz
Verify with:
bifrost help
If bifrost is not on PATH yet, open a new PowerShell window or run it from
%USERPROFILE%\.local\bin\bifrost.exe.
Treat these as three independent update planes. Updating one does not update the others; update the CLI first because it supplies the SDK-update command.
pipx install --force {url}/api/cli/download/bifrost-cli.tar.gz
bifrost --version
On native Windows, use
py -3.11 -m pipx install --force {url}/api/cli/download/bifrost-cli.tar.gz.cd /path/to/solution
bifrost solution sdk update
Review and commit the changed vendored SDK files, then rerun
bifrost solution start and confirm any stale-SDK warning is gone.codex plugin marketplace upgrade bifrost
codex plugin list
If the installed version remains stale, refresh its cached content:
codex plugin remove bifrost@bifrost
codex plugin add bifrost@bifrost
codex plugin list
Start a new Codex task (or restart Codex) afterward; the current task keeps
the skill text it loaded at startup.Run login from the project folder the user wants connected:
bifrost login --url {url}
bifrost auth default
This opens a browser for authentication. On Windows, credentials are stored in
Windows Credential Manager when keyring is available, with
%APPDATA%\Bifrost\credentials.json as the fallback. On Linux/macOS, keyring is
used when available with ~/.bifrost/credentials.json as the fallback. Login
also writes the URL to the current folder's .env, selecting that connection
for commands run there. Tokens for other instance URLs remain available.
For the repository's local debug stack, use the bifrost-debug skill instead;
it knows the default [email protected] / password credentials and creates a
dedicated scratch-folder selector without changing the saved default.
To disconnect a specific instance, use bifrost logout --url {url}. It clears
that URL's stored credentials and offers to remove a matching folder selector.
MCP setup is coding-tool specific.
Check existing configuration:
claude mcp list
If bifrost exists with wrong URL: Ask user if they want to update it.
Add/update MCP server:
claude mcp remove bifrost 2>/dev/null; claude mcp add --transport http bifrost {url}/mcp
If the user is using Codex or another agent CLI, do not run claude mcp.
Tell them SDK-first development works with bifrost watch and bifrost api.
Configure that tool's MCP settings only if its MCP command/config format is
available in the current environment.
If MCP was configured, tell the user:
Setup complete! Please restart Claude Code for the MCP server to take effect.
After restarting, you can use
/bifrost:buildto create workflows, forms, and apps.
If MCP was skipped (SDK-first only), tell the user:
Setup complete! You're ready to use
/bifrost:buildfor SDK-first development.Use
bifrost watchto auto-sync file changes andbifrost apifor platform operations. MCP can be added later if you needcreate_form,create_app, or knowledge search.
curl -L {url}/api/cli/download/bifrost-cli.tar.gz -o /dev/null -w "%{http_code}"--no-browser flag and copy the URL manuallyclaude mcp listgit is missing, install Git in the shell where setup is running.python opens the Microsoft Store or prints the Store alias message,
install Python with winget install --id Python.Python.3.11 -e or the
python.org installer, then use py -3.11.bifrost run ... -p '{"name":"Alice"}' example fails in native PowerShell with invalid JSON, escape the quotes: -p '{"name":"Alice"}'`.bifrost push workflows/foo.py fails, push a directory instead:
bifrost push workflows or bifrost push ..0x8a15000f, reset the Windows region and winget
sources: Set-WinHomeLocation -GeoId 244, winget source reset --force,
winget source update.wsl --install or VirtualMachinePlatform changes make the VM reboot into
repair, stop platform setup on that VM and continue CLI-only setup natively.
That host likely needs nested virtualization/WSL support fixed before Docker
Desktop can work.skills/setup is a symlink/directory or a plain text file. Use WSL or run
bifrost skill update.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/buildBuild or modify Bifrost apps, workflows, forms, agents, tables, managed files, configs, integrations, events, and related platform resources. Use for independent or Solution-owned V2 Apps, loose instance _repo/v1 content, local preview and testing, deployment planning, or MCP-only Bifrost work. Covers instance and install targeting, source ownership, access controls, testing, app design and theming, visual QA, and deployment handoff./copilot-cowork-packageUse when the user wants to turn a Bifrost agent into a Microsoft 365 Copilot Cowork
plugin (.zip with manifest.json + skills/SKILL.md + agentConnectors pointing at the
agent's MCP server). Trigger phrases — "/copilot-cowork-package", "turn my <agent> into a
Copilot skill", "package this agent for M365 Copilot", "make a Cowork plugin for
<agent>", "convert agent to Copilot plugin".
/migrateMigrate a legacy Bifrost v1 inline App into either an independent V2 App backed by live platform resources or a clean, installable V2 Solution with captured backing entities. Use for v1-to-v2 modernization, App cutover, Solution capture, or workspace cleanup. Trigger phrases — "migrate this app", "migrate this app to a solution", "move X into a solution", "v1 to v2", "/migrate", "convert my app to v2", "capture these workflows into a solution"./rewst-migrationMigrate Rewst automation to Bifrost. Guide private GraphQL API extraction with the user's session credential, inventory integrations and workflow dependencies, prepare an autonomous execution plan, and implement, test, cut over, and retire automations.npx claudepluginhub gobifrost/bifrost --plugin bifrostOther plugins' skills for the same job