Skip to content
cognitedata avatar

Integrate Atlas Chat

Exception-path skill that wires in-app useAtlasChat only when the host Atlas sidebar cannot work.

CCM score
58 of 100
skills.sh installs
1.9K
GitHub stars
6
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the in-app chat exception path for Atlas agents, gated by a check that the host sidebar cannot run in the app
  • Requires the user to explicitly ask for embedded chat and accept this non-standard path before any wiring begins
  • Blocks per-item completions over DMS rows, capping them at 5 per user action with a ceiling of 50 and caching by space:externalId:lastUpdatedTime
  • Designed for standalone apps where connectToHostApp always rejects; defers to integrate-fusion-agent otherwise

Install

$ npx -y skills add cognitedata/builder-skills --skill integrate-atlas-chat -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Integrate Atlas Agent Chat (exception path)

Stop. Use integrate-fusion-agent (Atlas / EOS sidebar) unless all of:

  1. The user asked for an in-app / embedded chat — not "add Atlas" / "add a chat"
  2. The host Atlas sidebar cannot work. There is no manifest field for this. Probe the app:
    • @cognite/app-sdk + connectToHostApp / useHostApp resolving 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.
  3. 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.

Details

Repository
github.com/cognitedata/builder-skills
Categories
AI Agents & LLM Apps, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the integrate-atlas-chat skill do?

integrate-atlas-chat wires the useAtlasChat hook into a Flows app to build a chat UI with Atlas agents. It handles installation, component structure and hook wiring, so the developer does not write the integration code by hand.

When should I use integrate-atlas-chat instead of integrate-fusion-agent?

integrate-atlas-chat is an exception path meant only for an in-app, embedded useAtlasChat chat that the Fusion EOS sidebar cannot provide, such as a standalone app. For ordinary Atlas or agent chat, integrate-atlas-chat says to use integrate-fusion-agent instead.

How do I install integrate-atlas-chat?

Run npx -y skills add cognitedata/builder-skills --skill integrate-atlas-chat -y inside your project. After installing, integrate-atlas-chat lets your agent wire useAtlasChat into the app while keeping the existing product UI.

Which skills should I run alongside integrate-atlas-chat for a full chat app?

For a full chat app, integrate-atlas-chat says to run it first, then create-client-tool once per tool, then setup-python-tools if Python tools are needed. Those steps are listed in the skill's own trigger description.

More from cognitedata/builder-skills

All 25

Similar to Integrate Atlas Chat

More AI Agents & LLM Apps