Tensorlake Skill
Up-to-date Tensorlake knowledge for AI coding agents. A lightweight skill that teaches Claude Code, OpenAI Codex, Google ADK, and other coding agents how to write correct Tensorlake code — by routing them to live documentation at docs.tensorlake.ai
Why This Exists
AI coding agents hallucinate Tensorlake APIs. Their training data don't have the knowledge, so they invent function signatures, miss new features, and reference removed endpoints. This skill fixes that: when an agent detects a Tensorlake-related task, it fetches the live docs and uses them as the source of truth.
It covers the Python SDK (pip install tensorlake), TypeScript SDK (npm install tensorlake), and CLI (curl -fsSL https://tensorlake.ai/install | sh).
What is a "skill"?
A skill is a small markdown instruction file that teaches an AI coding agent how to use a specific tool or library — similar in spirit to an MCP server, but lighter weight and model-agnostic. The agent reads the skill on activation, follows its instructions (e.g., "fetch live docs before writing code"), and applies the result to your task. No server to run, no extra runtime — just a file the agent reads.
Example
Without the skill:
User: Build me a Tensorlake sandbox that runs untrusted Python and exposes port 8000.
Agent: (writes code referencing Sandbox.new() — an API that doesn't exist in current SDK)
With the skill:
User: Build me a Tensorlake sandbox that runs untrusted Python and exposes port 8000.
Agent: (skill triggers → fetches https://docs.tensorlake.ai/llms.txt → loads sandboxes/lifecycle.md → writes correct code using current tensorlake.Sandbox.create() API)
What This Skill Does
When it triggers, the skill instructs the agent to:
- Verify the SDK is installed and
TENSORLAKE_API_KEY is configured.
WebFetch https://docs.tensorlake.ai/llms.txt to get the current doc index.
- From that index, fetch the
.md page(s) relevant to the task and use them as the source of truth.
- Only on fetch failure, fall back to
references/feature_lookup.md, which routes features and keywords to a bundled snapshot.
It also enforces a few guardrails: verify every symbol against the live docs or installed package before suggesting code, prefer live docs over snapshots when they disagree, and never request, embed, or print API keys.
When It Triggers
The skill activates when the user mentions Tensorlake or sandboxes, or asks the agent to do anything that maps to the Tensorlake product surface — for example:
- Run LLM-generated or untrusted code in an isolated sandbox
- Persist a sandbox across sessions via suspend/resume, or fork from a snapshot
- Build a custom sandbox image, expose a port, or configure egress allowlists
- Fan out parallel sandboxes from Python with the async SDK (
AsyncSandbox + asyncio.gather)
- Open local tunnels to a sandbox for non-HTTP protocols (VNC, Postgres, Redis, custom binary)
- Drive Chrome over CDP with Playwright or
chrome-devtools-mcp (browser automation, scraping)
- Drive PTY/interactive shells or computer-use / desktop automation
- SSH into a sandbox, transfer files via
scp/sftp/rsync, or set up port forwarding (-L / -D / -R)
- Use a named sandbox as a remote dev environment (VS Code Remote-SSH, JetBrains Gateway, Cursor) with idle-suspend and resume-by-name
- Build sandbox images from OCI base images (
python:3.12-slim, node:22-alpine, ghcr.io/...) in addition to tensorlake/* bases
- Run Harbor evaluations (Terminal-Bench, SWE-Bench, Aider Polyglot) or RL rollouts in per-trial sandboxes
- Bundle agent skills (Claude Code, Codex, Cursor, Cline, Windsurf, Copilot, Google ADK) inside a sandbox image
- Build durable workflows or multi-agent orchestration with the Applications SDK
- Ask questions about Tensorlake APIs or documentation
It works alongside any LLM provider (OpenAI, Anthropic) and any agent framework (Claude Agents SDK, OpenAI Agents SDK, LangChain, etc.) — Tensorlake is the infrastructure layer.
Supported Agents
Installation
Quick Install
Any Agent
npx skills add tensorlakeai/tensorlake-skills
Works with Claude Code, Cursor, Cline, GitHub Copilot, Windsurf, and more via skills.sh.