
Integrate Fusion Agent
Wires your Flows or Dune app into Fusion's built-in PAIA agent panel using @cognite/app-sdk. It handles three pieces: opening the agent sidebar from a button, sending contextual messages to inject app state into the chat, and registering an agent server so PAIA can read your app's resources and call actions back into it. The skill sets up the correct lifecycle with graceful fallback when running outside Fusion, uses Comlink proxy patterns that won't break React state, and scaffolds a clean separation between action definitions and registration hooks. Saves you from reading the SDK docs and gets the boilerplate right the first time.
- skills.sh installs
- 1.7K
- GitHub stars
- 6
- last updated
- Aug 21, 2026
Install
$ npx -y skills add cognitedata/builder-skills --skill integrate-fusion-agent --agent claude-codeInstalls into .claude/skills of the current project.
Files
Integrate Atlas / EOS Sidebar
Default AI path: the platform Atlas sidebar (EOS / Fusion PAIA) via @cognite/app-sdk. Do not embed useAtlasChat, vendor atlas-agent, or call third-party LLM APIs.
integrate-atlas-chat only if the user explicitly requires in-app chat and connectToHostApp cannot provide the sidebar (standalone app; always rejects). There is no manifest field for this.
Implement only what is needed:
- Open — Topbar Atlas button;
sendAgentLayoutModefor in-app triggers - Message —
sendAgentMessageto inject context - Server — resources (app state) and actions (tools)
Step 0 — Read the app
package.json— package manager,@cognite/app-sdksrc/App.tsx— structure, existing SDK usage
Ask which of the three capabilities are needed. Do not offer an in-app chat unless they already insisted.
Step 1 — Install
pnpm add @cognite/app-sdk (or npm/yarn). Minimum 0.3.1.
Step 2 — Connect to the host
connectToHostApp rejects outside Fusion (standalone vite dev). Catch that; hide agent triggers when api is null.
Sponsors
Details
- Repository
- github.com/cognitedata/builder-skills
- Categories
- Backend & APIs, Documentation, AI & Agent Building
- First seen
- Jul 14, 2026
More from cognitedata/builder-skills
All 26- 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
- Use Topbar1.9K