Skill / SKILL.md

Mcp Code Execution

Archive228/lab-skills

Cut agent token consumption by calling MCP servers through generated code instead of direct tool invocations: present tools as typed wrapper files on a filesystem, discover them progressively, and keep intermediate data in the execution environment (Anthropic measured 150,000 → 2,000 tokens, a 98.7% saving). Trigger when an agent connects to many MCP servers/tools, when tool definitions eat a large share of the context window before work starts, when workflows pipe large intermediate results (transcripts, spreadsheets) between tools, or when sensitive data should not enter model context.
3 views 10 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Cut agent token consumption by calling MCP servers through generated code instead of direct tool invocations: present tools as typed wrapper files on a filesystem, discover them progressively, and keep intermediate data in the execution environment (Anthropic measured 150,000 → 2,000 tokens, a 98.7% saving). Trigger when an agent connects to many MCP servers/tools, when tool definitions eat a large share of the context window before work starts, when workflows pipe large intermediate results (transcripts, spreadsheets) between tools, or when sensitive data should not enter model context.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Archive228/lab-skills' skill-source

Use the complete skill-source/skills/mcp-code-execution directory with your client’s skill installer.

  • skills/mcp-code-execution

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/mcp-code-execution

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
8d3d3dfc07b2aa77d23df4d704ee5c45d8f5bf3e47cab654a3913cd57734a54f
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills