Setup Python Tools
Client-side Pyodide Python tool execution for in-app Atlas chat, wired via usePyodideRuntime and pythonRuntime.
- 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 installing pinned
pyodide@0.29.3, addingusePyodideRuntime, and passingpythonRuntimeintouseAtlasChatwithout per-tool config - Includes the required
python.ts,pyodide.ts,pyodide-react.ts, andpyodide-runtime.tsfiles copied fromintegrate-atlas-chat - Provides loading and error UI above the chat input, and disables input until the Python runtime is ready
- Designed for Flows apps with their own chat UI, not the Atlas or EOS sidebar, which runs Python tools from agent config
Install
$ npx -y skills add cognitedata/builder-skills --skill setup-python-tools -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Set Up Python Tool Execution
Add client-side Pyodide execution for $ARGUMENTS. Skip this if the app uses the Atlas / EOS sidebar (integrate-fusion-agent).
Prerequisite: src/atlas-agent/ from integrate-atlas-chat, plus @sinclair/typebox. Copy python.ts, pyodide.ts, pyodide-react.ts, pyodide-runtime.ts from integrate-atlas-chat/code/ into src/atlas-agent/.
CDF runPythonCode tools arrive as toolConfirmation + clientTool. Wire usePyodideRuntime and pass pythonRuntime to useAtlasChat — no PythonToolConfig entries. Pyodide is ~30MB, cached after first load.
Step 1 — Understand the app
Read these files before touching anything:
package.json— detect package manager and existing deps- The component that calls
useAtlasChat— understand current tools/config
Step 2 — Install Pyodide
Install exactly pyodide@0.29.3 using the app's package manager.
This version must match the CDN artifacts loaded at runtime — installing a different version will cause errors.
- pnpm →
pnpm add pyodide@0.29.3 - npm →
npm install pyodide@0.29.3 - yarn →
yarn add pyodide@0.29.3
Details
- Repository
- github.com/cognitedata/builder-skills
- Categories
- Frontend & UI Code, AI Agents & LLM Apps
- First seen
- Jun 3, 2026
Questions
What does the setup-python-tools skill do?
setup-python-tools adds client-side Pyodide Python execution to an in-app useAtlasChat UI, wiring usePyodideRuntime and passing pythonRuntime into useAtlasChat. It also handles Pyodide installation, hook setup, loading UI, and chat hook wiring. It is for in-app chat only and skips apps using the Atlas or EOS sidebar.
How do I install setup-python-tools?
Run npx -y skills add cognitedata/builder-skills --skill setup-python-tools -y in your project. After installing, setup-python-tools lets the agent set up Pyodide tool execution for an already-approved in-app chat.
What does setup-python-tools need before I use it?
setup-python-tools requires the src/atlas-agent folder from integrate-atlas-chat, plus @sinclair/typebox. You must also install pyodide at exactly version 0.29.3 to match the CDN artifacts loaded at runtime.
Where does setup-python-tools stand in the Frontend and UI Code category?
setup-python-tools sits in the Frontend & UI Code category alongside vercel-react-best-practices, web-design-guidelines and design-taste-frontend. Its focus is narrower, covering only Pyodide Python tools for in-app chat.
More from cognitedata/builder-skills
All 25- Graph Viewer1.9K
- Setup Flows Auth1.9K
- Performance1.9K
- Create Client Tool1.9K
- 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
Similar to Setup Python Tools
More Frontend & UI Codecreate-client-toolSkillcognitedata/builder-skills1.9K installsScaffolds an in-app AtlasTool for useAtlasChat with TypeBox schemas and execute-function wiring, not Fusion actions.
integrate-todo-listSkillcognitedata/builder-skills1.9K installsAdds a TodoWrite tool and task panel to in-app Atlas chat, for apps already using useAtlasChat.
setup-agent-analyticsPluginanthropics/claude-plugins-official48.1K starsDetect AI agents in your codebase and instrument them with Pendo Agent Analytics via the best-fit path: Python SDK, TypeScript SDK, client-side trackAgent(), or
Roblox StudioMCP serverroblox505 starsConnects Roblox Studio to AI clients for running code, inserting models, and controlling play mode.