code-mode
Installation
SKILL.md
Code Mode
Write and execute Bun scripts that call MCP tools programmatically — multiple calls on a single persistent connection, without returning to the LLM between each call.
When to use
- Multi-tool orchestration: 3+ MCP tool calls where intermediate results feed into subsequent calls
- Batch operations: Repeated calls with different parameters (e.g., process a list of items)
- Cross-server workflows: Combining results from different MCP servers
- Token-heavy tool sets: Servers with many tools (like figma-console's 63+) where loading all schemas wastes context
When NOT to use
- Simple single-tool calls → use the normal tool-call loop
- Tools that require interactive OAuth → authenticate via
claude mcpfirst, then use code-mode - Operations that need human approval between steps → use normal tool-call loop