About integrate-atlas-chat
An exception-path skill for integrating Atlas Agent chat into an app's own interface when the host Atlas sidebar cannot be used and the user has approved this approach. It directs implementers to check host compatibility first and preserve the existing product UI.
Key features
- 01Requires explicit approval for embedded chat
- 02Checks whether the host sidebar works
- 03Uses the Atlas chat integration guide
- 04Keeps the existing product interface
Use cases
- 01Adding embedded Atlas chat to a standalone app
- 02Choosing between the host sidebar and in-app chat
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ cognitedata/ builder-skills --skill integrate-atlas-chatAfter installing, type/integrate-atlas-chatin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
code/client.tsindex.tspyodide-react.tspyodide-runtime.tspyodide.tspython.tsreact.tssession.test.tssession.tstypes.tsvalidation.test.tsvalidation.tsDetails
From the project READMEIntegrate Atlas Agent Chat (exception path)
Stop. Use integrate-fusion-agent (Atlas / EOS sidebar) unless all of:
- The user asked for an in-app / embedded chat — not "add Atlas" / "add a chat"
- The host Atlas sidebar cannot work. There is no manifest field for this. Probe the app:
@cognite/app-sdk+connectToHostApp/useHostAppresolving inside Fusion/EOS → sidebar works; do not continue- Standalone-only (host connect always rejects; app is never loaded in Fusion) → in-app chat is allowed
- If unsure, ask. Default to the sidebar.
- The user accepted this as the non-standard path
Then follow https://docs.cognite.com/cdf/flows/guides/ai_agent_integration and wire useAtlasChat for $ARGUMENTS. Keep the product UI; do not replace the app with a chat view.
Do not map send() / chat completions over DMS rows. If per-item completions are required: 5 per user action, ceiling 50, cache by space:externalId:lastUpdatedTime. See integrate-fusion-agent.