Shapes turns action-first: action leads, steps numbered, state restated. Use for ADHD-friendly output. Do not use to trim tokens; use response-compression.
日本語の概要は準備中です。原文の説明を表示しています。
Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
This skill is an orchestration hub, not a CLI. It activates inside a Claude Code session when one of the trigger keywords below appears, or when invoked explicitly:
Skill(conserve:mcp-code-execution)
The hub then routes to the relevant sub-skill modules
(mcp-subagents, mcp-patterns, mcp-validation) based on
the detected workflow shape. There is no separate install
step or CLI entry point.
code execution, MCP, tool chain, data pipeline, MECWMCP Tool Search (Claude Code 2.1.7+): When MCP tool descriptions exceed 10% of context, tools are automatically deferred and discovered via MCPSearch instead of being loaded upfront. This reduces token overhead by ~85% but means tools must be discovered on-demand. Haiku models do not support tool search. Configure threshold with
ENABLE_TOOL_SEARCH=auto:Nwhere N is the percentage.
Subagent MCP Access Fix (Claude Code 2.1.30+): SDK-provided MCP tools are now properly synced to subagents. Prior to 2.1.30, subagents could not access SDK-provided MCP tools: workflows delegating MCP tool usage to subagents were silently broken. No workarounds needed on 2.1.30+.
Claude.ai MCP Connectors (Claude Code 2.1.46+): Users logged into Claude Code with a claude.ai account may have additional MCP tools auto-loaded from claude.ai/settings/connectors. These tools contribute to the tool search threshold count. If workflows unexpectedly trigger tool search or context inflation, check
/mcpfor claude.ai-sourced connectors. Known reliability issue: connectors can silently disappear (GitHub #21817).
MCP Prompt Cache Fix (Claude Code 2.1.70+): MCP servers with instructions connecting after the first turn no longer bust the prompt cache. Previously, a late-connecting MCP server would invalidate cached prompt prefixes, increasing token costs for the rest of the session. On 2.1.70+, prompt cache reuse is preserved regardless of when MCP servers connect.
ToolSearch Reliability Fix (Claude Code 2.1.70+): Empty model responses after ToolSearch are fixed. The server was rendering tool schemas with system-prompt-style tags that could confuse models into stopping early. ToolSearch-heavy workflows (many deferred MCP tools) are now more reliable.
mcp-code-execution:assess-workflowmcp-code-execution:route-to-modulesmcp-code-execution:coordinate-mecwmcp-code-execution:synthesize-resultsmcp-code-execution:assess-workflow)def classify_workflow_for_mecw(workflow):
"""Determine appropriate MCP modules and MECW strategy"""
if has_tool_chains(workflow) and workflow.complexity == "high":
return {
"modules": ["mcp-subagents", "mcp-patterns"],
"mecw_strategy": "aggressive",
"token_budget": 600,
}
elif workflow.data_size > "10k_rows":
return {
"modules": ["mcp-patterns", "mcp-validation"],
"mecw_strategy": "moderate",
"token_budget": 400,
}
else:
return {
"modules": ["mcp-patterns"],
"mecw_strategy": "conservative",
"token_budget": 200,
}
Delegate to mcp-validation module for detailed risk analysis:
def delegate_mecw_assessment(workflow):
return mcp_validation_assess_mecw_risk(
workflow, hub_allocated_tokens=self.token_budget * 0.5
)
mcp-code-execution:route-to-modules)class MCPExecutionHub:
def __init__(self):
self.modules = {
"mcp-subagents": MCPSubagentsModule(),
"mcp-patterns": MCPatternsModule(),
"mcp-validation": MCPValidationModule(),
}
def execute_workflow(self, workflow, classification):
results = []
# Execute modules in optimal order
for module_name in classification["modules"]:
module = self.modules[module_name]
result = module.execute(
workflow,
mecw_budget=classification["token_budget"]
// len(classification["modules"]),
)
results.append(result)
return self.synthesize_results(results)
mcp-code-execution:coordinate-mecw)mcp-code-execution:synthesize-results)def synthesize_module_results(module_results):
"""Combine module results into a single status dict."""
return {
"status": "completed",
"token_savings": calculate_savings(module_results),
"mecw_compliance": verify_mecw_rules(module_results),
"hallucination_risk": assess_hallucination_prevention(module_results),
"results": consolidate_results(module_results),
}
modules/mcp-coordination.md for cross-module orchestrationmodules/mcp-patterns.md for common MCP execution patternsmodules/mcp-subagents.md for subagent delegation strategiesmodules/mcp-validation.md for MECW compliance validationWhen MECW limits exceeded:
mcp-subagents, mcp-patterns, mcp-validation)
selected based on tool-chain length and data sizesynthesize_module_results returns a dict with all four
keys: status, token_savings, mecw_compliance,
hallucination_riskまだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Shapes turns action-first: action leads, steps numbered, state restated. Use for ADHD-friendly output. Do not use to trim tokens; use response-compression.
日本語の概要は準備中です。原文の説明を表示しています。
Inverts burden of proof for code additions. Use when reviewing PRs, planning refactors, or running unbloat to challenge every addition's necessity.
日本語の概要は準備中です。原文の説明を表示しています。
Tracks per-agent token usage and flags waste in parallel dispatch. Use when evaluating parallel agent efficiency or after a multi-agent run.
日本語の概要は準備中です。原文の説明を表示しています。
Coordinates Claude agent teams via filesystem protocol. Use when orchestrating parallel agents with task dependencies. Do not use for single-agent tasks.
日本語の概要は準備中です。原文の説明を表示しています。
Evaluates API surface design, consistency, and exemplar alignment. Use when reviewing public API changes or before releasing a new API surface.
日本語の概要は準備中です。原文の説明を表示しています。
Selects architecture paradigm via research before scaffolding. Use when architecture is undecided and the choice needs justification and documentation.
日本語の概要は準備中です。原文の説明を表示しています。