name: optimize-model
description: Deeply optimize a Xatu CBT transformation model query using live ClickHouse evidence. Use when performance analysis is requested for models/transformations/*.sql, including dependency rendering, schema introspection (SHOW CREATE with _local table checks), cache-aware benchmarking, and high-impact recommendations without editing model files.
compatibility: Requires Bash 3.2+, Python 3, jq, HTTP access to ClickHouse on port 8123, and internet access for web research.
Optimize Model (Agent Skills Adapter)
Canonical workflow: ../../.claude/skills/optimize-model/SKILL.md.
Shared resources: ./scripts/, ./references/.