/bifrost:buildfrom bifrost
Builds and modifies Bifrost platform resources including apps, workflows, forms, agents, tables, files, configs, integrations, and events. Covers local preview, testing, deployment planning, and handoff.
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.
Read when SKILL.md points to them.
Bifrost is an open-source platform for building apps, workflows, forms, and agents, with foundational features such as managed tables and files. Use this skill to plan, build, test, preview, and deploy work on the Bifrost platform.
Follow the process below for every task. Load only the references routed for the current artifact.
These App and Solution workflows require Bifrost CLI 1.2.3 or newer. The selected
instance may enforce a newer minimum through /api/version; when the CLI gate
blocks, install the CLI served by that instance before continuing.
Confirm the CLI exists and inspect the connection from the directory where commands will run:
command -v bifrost
bifrost auth default
If the CLI or authentication is not configured, route the user to bifrost:setup.
A sandbox may be unable to read the host credential store. If authentication appears absent, repeat the read-only bifrost auth default check with host access before asking the user to log in again.
First choose which of four working models owns the change. Workspace here means the selected instance's loose _repo source and live loose entities; it does not mean global entity scope.
| Working model | Use it when | Authoring and lifecycle | Read next |
|---|---|---|---|
| Workspace | Maintaining a v1 app, building a loose workflow/entity, or intentionally creating source/resources shared at the instance level | Edit _repo source with bifrost files; create and mutate its scoped entity records directly with dedicated CLI commands. Commands target the selected instance directly; v1 app source remains draft until published. | references/repository.md |
| App | Building one normal Vite/React App in its own git repository while workflows, tables, files, configs, and integrations remain live platform resources | Create or bind with bifrost app create / app bind; develop with bifrost app start; deliver only the App bundle with bifrost app deploy. Source stays local and never enters _repo or a manifest. | references/apps-independent.md |
| Solution | Building a cohesive, portable, versioned app or automation package that should own and deploy its definitions together | Edit local source and .bifrost manifests; preview with bifrost solution start; deliver with bifrost solution deploy. Keep allow_outbound_access: false. | references/solutions.md |
| Solution supported by the Workspace | A Solution intentionally depends on eligible shared _repo modules, registered loose workflows, tables, or files | Author and deploy Solution-owned definitions locally, but manage each shared Workspace dependency separately through its own CLI/file path. Set allow_outbound_access: true; this adds runtime fallback, not ownership or permission. | references/solutions.md and references/solution-resource-access.md |
Use bifrost.solution.yaml at the project root as the Solution ownership marker. If it exists, inspect allow_outbound_access and allow_inbound_access to distinguish the two Solution models. Without it, a project-level .env containing BIFROST_APP_ID identifies an independent App; an ordinary loose checkout without either marker uses the Workspace model. If starting inside a nested folder, locate the root with ordinary file discovery; do not use a custom shell loop.
For net-new work, confirm the model with the user before scaffolding. Use an App when one independently deployed frontend should consume live platform resources. Prefer a Solution when the frontend and its workflows, tables, configs, or other definitions must travel and reconcile as one installable package. Use the Workspace for deliberately loose, shared, or existing v1 content. Enable Workspace support for a Solution only when the shared dependencies are intentional and understood, never as a default convenience.
Then establish the exact instance and, for either Solution model, the install that the CLI resolves. Read .env in the intended CLI invocation directory, normally the project or Solution root. Parent-directory .env files are not selected implicitly. Inspect these optional fields when present:
BIFROST_API_URLBIFROST_APP_IDBIFROST_SOLUTION_IDBIFROST_SOLUTION_SLUGBIFROST_SOLUTION_ORG_IDBIFROST_SOLUTION_SCOPETreat .env as local instance/App/install selection, not portable source. Do not commit it. A normal Bifrost project .env should not contain access or refresh tokens; report only the selector and binding fields above. An App clone uses bifrost app bind to recreate BIFROST_API_URL and BIFROST_APP_ID. Without an explicit install binding, Solution commands resolve a unique install by portable slug and print --solution <id> choices when several are available. If Solution deploy finds no install, it requires --org <ref> or --global before creating one.
Compare Current connection and Default connection from bifrost auth default:
.env selects a non-default instance, tell the user which instance and install are selected and offer the saved default before material work.BIFROST_API_URL from .env returns that directory to the saved default connection. Use --url for a one-command override; use app bind or solution bind only when intentionally remembering a target.Security is required for every build. Read and follow the security guide unless the user explicitly opts out for a defined scope. Use the Files and Tables SDKs directly where appropriate, and use workflows when the operation needs them. Before marking the build complete, verify that intended access succeeds and out-of-scope access is denied. Unrestricted rules require explicit user approval.
If this is an App, state its local project, selected instance, bound App, and intended runtime organizations. If this is a Solution, state its name/slug, selected instance, resolved install, and install scope. Then confirm the requested outcome and intended users.
For every material change, present a concise plan and get confirmation before editing. A small, well-bounded bug fix does not need ceremony. The plan must identify:
Keep the access tuple (organization, access_level, role_ids) compatible across an app and every workflow, form, or agent it calls, unless a specific entity intentionally requires different access than the rest. Record that exception and verify that every intended caller can still traverse the dependency chain. An entity's access settings grant entry to that entity. Verify the downstream checks under its actual execution authority.
Load the artifact references routed below and follow the working model selected in step 1. Use curated references for the method and generated appendices or --help for exact syntax; never infer a familiar command or flag.
Before writing code, read best-practices/workspace.md, plus the best-practices/ file for each area touched (workflows.md, integrations.md, data.md, apps.md; index in best-practices/README.md). References teach the surface; best practices are the rules that keep it from leaking data across users and organizations. Do not mix authoring paths: Workspace entities mutate live; independent App source changes locally and only its compiled artifact deploys; Solution-owned definitions change through local source and deploy. If an App or a Solution supported by the Workspace needs changes on both sides, track them as separate change sets with separate ownership, access, verification, and delivery effects.
Use test-driven development for behavior: define the acceptance result, write a focused failing test when useful, implement the change, and make it pass. Do not create contrived tests for visual-only acceptance; verify the rendered result instead.
Before adding workflow logic, search for an existing module that already owns the domain or integration behavior. Keep workflows as thin orchestration; put reusable business and integration logic in modules.
Treat app start and solution start as connected development, not data sandboxes. Table, managed-file, config, and integration writes can affect the selected instance.
Run the relevant automated tests, type checks, builds, and end-to-end behavior. Exercise the primary path and important failures.
For user-facing apps, inspect the rendered result. Verify:
Give the user the exact local preview command or URL when possible. Fix material polish problems before calling the work complete.
Summarize what changed and what was verified. Separate source changes from live platform mutations and undeployed work. Call out production-sensitive effects, then offer the appropriate deploy, publish, commit, or push step when the user is ready. Never imply that deployment or publication occurred when it did not.
Keep these layers distinct:
_repo/live records, one local App repository, or local Solution source.allow_outbound_access changes this layer only.Therefore, a Solution supported by the Workspace may call an eligible loose workflow without owning it; that workflow keeps its own registration and access controls. A globally scoped Solution entity is still deploy-managed. Shared fallback can make a table or file readable without making it writable or Solution-owned.
These relationships produce the following hard boundaries:
bifrost solution deploy; do not live-mutate their managed records.bifrost app deploy builds and activates the App artifact; it does not capture, copy, or own the live workflows, tables, files, configs, or integrations the App calls._repo source changes through direct bifrost files commands. Writing source does not replace entity creation or workflow registration..bifrost/*.yaml is Solution source inside a Solution. Outside a Solution, discover and mutate live entities with their CLI commands rather than treating an exported manifest as live state.allow_outbound_access is a runtime fallback gate, not install scope, global entity permission, or an authorization bypass.allow_inbound_access gates outside callers targeting this install per-call with solution=; it is not install scope or an authorization bypass, and a targeted call is not a delegated user identity.bifrost api, confirm the endpoint in generated/openapi-digest.md; it addresses the Bifrost platform API only, never a third-party integration API.| Need | Load for the task |
|---|---|
| Workflows, integrations, tables/files/configs, or App UI | best-practices/workflows.md, integrations.md, data.md, or apps.md per area (best-practices/README.md routes them) |
| Create, bind, start, deploy, or migrate an independent App | references/apps-independent.md, references/apps-v2.md, references/app-quality.md, and references/web-sdk-v2.md |
| Create, bind, start, capture, deploy, export, or install a Solution | references/solutions.md |
Read or write instance _repo source; maintain loose modules, workflows, or v1 apps | references/repository.md |
| Author, register, execute, rename, or expose a Python workflow | references/workflows.md and the relevant section of references/python-sdk.md |
| Build or modify a V2 App inside a Solution | references/apps-v2.md, references/app-quality.md, and references/web-sdk-v2.md |
| Maintain an existing inline v1 app | Read references/apps-v1.md and references/app-quality.md; search references/platform-api.md only for the exact v1 export being used |
| Create or change forms, agents, configs, integrations, events, orgs, roles, or claims | references/entities.md |
| Define a table, write policies, or use table data | references/tables.md |
| Store, list, upload, download, or permission managed runtime/user files | references/files.md |
| Use resources outside a Solution install | references/solution-resource-access.md |
| Work with Bifrost through MCP without the CLI or local source | references/mcp-mode.md |
| Need an exact command or flag | generated/cli-reference.md |
| Need an exact Python or web SDK signature/export | the matching file under generated/ |
| Need to confirm a platform endpoint | generated/openapi-digest.md |
best-practices/README.md (opens in a new tab)best-practices/apps.md (opens in a new tab)best-practices/data.md (opens in a new tab)best-practices/integrations.md (opens in a new tab)best-practices/security.md (opens in a new tab)best-practices/workflows.md (opens in a new tab)best-practices/workspace.md (opens in a new tab)generated/cli-reference.md (opens in a new tab)generated/openapi-digest.md (opens in a new tab)generated/operations.md (opens in a new tab)generated/python-sdk-signatures.md (opens in a new tab)generated/web-sdk-surface.md (opens in a new tab)references/app-quality.md (opens in a new tab)references/apps-independent.md (opens in a new tab)references/apps-v1.md (opens in a new tab)references/apps-v2.md (opens in a new tab)references/entities.md (opens in a new tab)references/files.md (opens in a new tab)references/mcp-mode.md (opens in a new tab)references/platform-api.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/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./setupSet up Bifrost SDK - install CLI, authenticate, configure MCP server. Use when user needs to get started with Bifrost or has incomplete setup.npx claudepluginhub gobifrost/bifrost --plugin bifrostOther plugins' skills for the same job