Create Client Tool
Scaffolds an in-app AtlasTool for useAtlasChat with TypeBox schemas and execute-function wiring, not Fusion actions.
- CCM score
- 64 of 100
- skills.sh installs
- 1.9K
- GitHub stars
- 6
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the tool file scaffold:
AtlasTooldefinition, snake_case name, TypeBoxparameters, and anexecutereturningoutputanddetails - Includes a TypeBox quick reference (
Type.String,Type.Union,Type.Optional, and related schemas) and a step to add the tool to thetoolsarray inuseAtlasChat - Shows how to render
message.toolCallsso the UI can display each tool'sdetailspayload - Designed for approved in-app chat UIs that already use
integrate-atlas-chat; EOS sidebar tools go throughintegrate-fusion-agentinstead
Install
$ npx -y skills add cognitedata/builder-skills --skill create-client-tool -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Create a Client Tool
Scaffold an AtlasTool named $ARGUMENTS. If the app has no approved in-app useAtlasChat, implement a Fusion action via integrate-fusion-agent instead.
Prerequisite: vendored src/atlas-agent/ and @sinclair/typebox from integrate-atlas-chat.
Background
Client tools let the Atlas Agent invoke browser-side logic — charts, local state, UI panels, navigation. The agent decides when to call; the app executes and returns a result.
- Agent responds with a
clientToolaction - TypeBox validates the arguments
execute()runs in the browser and returns{ output, details }output(string) is sent back to the agentdetailsis available onmessage.toolCallsfor the UI to render
Step 1 — Understand the codebase
Before writing anything, read:
- The file where
useAtlasChatis called (oftensrc/App.tsxor a chat hook) to find wheretoolsis passed — imports are typically from./atlas-agent/reactafterintegrate-atlas-chat - Any existing tool definitions to match the file/naming conventions
Step 2 — Define the tool
Details
- Repository
- github.com/cognitedata/builder-skills
- Categories
- Frontend & UI Code, AI Agents & LLM Apps
- First seen
- Jun 3, 2026
Questions
What does the create-client-tool skill do?
It scaffolds an AtlasTool for an approved in-app useAtlasChat interface, writing the TypeBox parameter schema, the execute function and the hook wiring. It also explains how to render the returned details in the message list.
How do I install create-client-tool?
Run npx -y skills add cognitedata/builder-skills --skill create-client-tool -y inside your project. Once installed, the agent can create AtlasTool definitions for tools that fetch data, render UI, call APIs or show charts.
What do I need before using create-client-tool?
The vendored src/atlas-agent folder and the @sinclair/typebox dependency from the integrate-atlas-chat skill must be in place first. Without them the tool file has no types or schema library to import.
Where does create-client-tool sit in its category?
It is listed under Frontend & UI Code, alongside vercel-react-best-practices, web-design-guidelines and design-taste-frontend. Its focus is narrower: building Atlas agent tools, not general interface guidance.
More from cognitedata/builder-skills
All 25- Pull Changes Resolve Conflicts1.9K
- Use Topbar1.9K
- Migrate App To Flows1.7K
- 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
Similar to Create Client Tool
More Frontend & UI Codesetup-python-toolsSkillcognitedata/builder-skills1.9K installsClient-side Pyodide Python tool execution for in-app Atlas chat, wired via usePyodideRuntime and pythonRuntime.
integrate-todo-listSkillcognitedata/builder-skills1.9K installsAdds a TodoWrite tool and task panel to in-app Atlas chat, for apps already using useAtlasChat.
create-toolSkillvapiai/skills981 installsReusable Vapi tool management that creates, inspects, attaches, and verifies native, integration, API Request, function, and MCP tools.
Agent-Native AnalyticsMCP serverbuilderio7.8K starsOpen-source framework for agents that share actions, data, and UI with a web app.
toolsSkillassistant-ui/skills6.8K installsDeclarative toolkit authoring for assistant-ui, with build-time splitting of backend and browser executors across client and server.
Agent-Native DesignMCP serverbuilderio7.8K starsAgent-Native framework for building agents that edit visual designs and share data with a UI.