Migrate App To Flows
Step-by-step migration of a legacy Dune app to Flows app hosting, with auth, manifest, and deploy updates.
- CCM score
- 64 of 100
- skills.sh installs
- 1.7K
- GitHub stars
- 6
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full migration path: audit,
app.jsonupdate, auth setup,manifest.jsonnetwork permissions, and deploy script changes - Includes a legacy fix that renames
deploymenttodeploymentsas an array, then sets"infra": "appsApi" - Enforces a Content Security Policy through
manifest.json, listing external origins used byfetch,axios, orXMLHttpRequestcalls - Designed for teams moving existing Dune apps to Flows, triggered by requests like "migrate to Flows"
Install
$ npx -y skills add cognitedata/builder-skills --skill migrate-app-to-flows -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Migrate App to Flows Infrastructure
Orchestrates the full migration of a legacy Dune app to the new Flows app hosting (appsApi). Works through each area in order, skipping any already in the correct state.
Step 1 — Audit current state
Read app.json, package.json, vite.config.ts, and manifest.json (if present).
Report a concise summary before making any changes:
Migration audit:
✗ app.json: missing infra field → will add "infra": "appsApi"
✗ Auth: DuneAuthProvider in use → will run setup-flows-auth
✗ manifest.json: missing → will create
✓ Deploy script: already uses @cognite/cli
Then proceed through Steps 2–5.
Step 2 — Update app.json
If infra is already "appsApi", skip this step. Otherwise:
Fix legacy deployment key format first. Many POC apps use "deployment" (singular, plain object). The CLI requires "deployments" (plural, array). If the file has the old format, rename the key and wrap the value in an array before proceeding:
// Before (legacy)
{
"deployment": { "org": "...", "project": "...", ... }
}
// After (correct)
{
"deployments": [{ "org": "...", "project": "...", ... }]
}
Details
- Repository
- github.com/cognitedata/builder-skills
- Categories
- DevOps & Cloud, Backend & APIs
- First seen
- Jul 14, 2026
Questions
What does the migrate-app-to-flows skill do?
It migrates a legacy Dune app to the new Flows app hosting infrastructure. It audits the current state, updates app.json to appsApi infra, wires up auth through setup-flows-auth, creates or updates manifest.json network permissions, and switches deploy scripts to @cognite/cli.
How do I install the migrate-app-to-flows skill?
Run npx -y skills add cognitedata/builder-skills --skill migrate-app-to-flows -y in your project. The skill then guides the agent through migrating your legacy Dune app step by step.
Which skills lead the DevOps & Cloud category this skill belongs to?
Within DevOps & Cloud, this skill sits alongside azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage. It focuses on moving Dune apps to Flows hosting rather than Azure resources.
Who should use the migrate-app-to-flows skill?
It is for developers with an existing legacy Dune app who want to move it to Flows Custom App infrastructure. It applies when you ask to migrate to Flows, move from Dune to Flows, or migrate a legacy app.
More from cognitedata/builder-skills
All 25- Integrate Fusion Agent1.7K
- Flows Code Review1.6K
- Flows Design Review1.1K
- Flows App Brief1.1K
- Flows External App Submit1.1K
- Skill Creator2.5K
- Code Quality2K
- Test Coverage1.9K
- Dependencies Audit1.9K
- Reveal 3d1.9K
- Design1.9K
- Integrate Todo List1.9K
- Correctness And Error Handling1.9K
- Dm Limits And Best Practices1.9K
- Integrate Atlas Chat1.9K
- Security1.9K
- Integrate File Viewer1.9K
- Setup Python Tools1.9K
- Graph Viewer1.9K
- Setup Flows Auth1.9K
- Performance1.9K
- Create Client Tool1.9K
- Pull Changes Resolve Conflicts1.9K
- Use Topbar1.9K
Similar to Migrate App To Flows
More DevOps & Cloudsandbox-migrate-to-nextcloudflare/skills91.9K installsMigration guide that ports stable @cloudflare/sandbox apps to the SDK 1.0 @next preview in ordered steps.
setup-flows-authcognitedata/builder-skills1.9K installsSet up Flows auth for React apps by detecting the classic or Apps API flow from app.json.
deno-deploydenoland/skills393 installsCatalog entry for deno-deploy: guidance for deploying Deno apps to Deno Deploy with the deno deploy CLI.
python-appservice-deploymicrosoft/azure-skills432.6K installsDeploy Python Flask, Django, and FastAPI code to Azure App Service Linux, creating missing resources first.
integrate-fusion-agentcognitedata/builder-skills1.7K installsIntegrate the Fusion PAIA agent panel into a Flows/Dune app with contextual messages, app state, and actions.