ai-code-mode

Official

Execute sandboxed TypeScript safely at scale.

AuthorTanStack
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill bridges language models and sandboxed TypeScript so assistants can deterministically execute code without exposing secrets or unstable runtime contexts.

Core Features & Use Cases

  • Multi-driver execution: createCodeModeTool supports Node, QuickJS, and Cloudflare isolates with configurable timeouts, memory limits, and platform-specific considerations.
  • Persistent skill libraries: codeModeWithSkills manages trust strategies and storage backends so reusable snippets become callable tools backed by tool registries.
  • Observability and integration: Custom events such as code_mode:execution_started, code_mode:skill_call, and skill:registered enable client-side progress displays inside chat experiences.

Quick Start

Use ai-code-mode to wire a createCodeMode tool with your preferred isolate driver and run TypeScript logic from chat messages.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ai-code-mode
Download link: https://github.com/TanStack/ai/archive/main.zip#ai-code-mode

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.