
Migrate App To Flows
This orchestrates the full migration from legacy Dune app hosting to the new Flows infrastructure. It audits your current setup, fixes the old deployment key format if needed, adds the appsApi infra flag, delegates all auth wiring to setup-flows-auth, generates or updates manifest.json with network permissions scraped from your source, and swaps deploy scripts to @cognite/cli. The manifest step is the real value here since it scans for fetch and axios calls to populate the CSP automatically. Use it whenever you're moving an existing app off the old infrastructure. It's thorough and opinionated, which means less decision fatigue during what's usually a tedious process.
- skills.sh installs
- 1.7K
- GitHub stars
- 6
- last updated
- Aug 21, 2026
Install
$ npx -y skills add cognitedata/builder-skills --skill migrate-app-to-flows --agent claude-codeInstalls into .claude/skills of the current project.
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": "...", ... }]
}
Sponsors
Details
- Repository
- github.com/cognitedata/builder-skills
- Categories
- Backend & APIs, DevOps & CI/CD, Release Management, Cloud & Infrastructure, CLI & Terminal
- First seen
- Jul 14, 2026
More from cognitedata/builder-skills
All 26- Integrate Fusion Agent1.7K
- Flows Code Review1.6K
- Flows Design Review1.1K
- Flows App Brief1.1K
- Flows External App Submit1.1K
- Flows App Review298
- Skill Creator2.5K
- Code Quality2K
- Test Coverage1.9K
- Dependencies Audit1.9K
- Design1.9K
- Reveal 3d1.9K
- Integrate Todo List1.9K
- Correctness And Error Handling1.9K
- Dm Limits And Best Practices1.9K
- Integrate Atlas Chat1.9K
- Integrate File Viewer1.9K
- Security1.9K
- Setup Python Tools1.9K
- Graph Viewer1.9K
- Setup Flows Auth1.9K
- Performance1.9K
- Create Client Tool1.9K
- Pull Changes Resolve Conflicts1.9K