code-mode
CommunityEnable sandboxed code mode for MCP servers
Authorchenhunghan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Reduces context size by enabling a code-mode workflow where LLMs generate small processing scripts that run against large API responses in a sandboxed runtime, ensuring only the script's output enters the context.
Core Features & Use Cases
- Interactive planning to understand the MCP server and data shapes.
- Sandbox-selected code execution tool to process raw API responses.
- Benchmarking to verify context-size reductions before/after.
- Language-agnostic: supports TypeScript/JavaScript, Python, Go, Rust and more.
Quick Start
Ask your agent to add code mode to an MCP server to start reducing context by executing sandboxed scripts.
Dependency Matrix
Required Modules
None requiredComponents
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: code-mode Download link: https://github.com/chenhunghan/code-mode-skill/archive/main.zip#code-mode Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.