use-existing-viz
Installation
SKILL.md
Pre-requisites
- Set up Holistics MCP
Context
- "viz" or "viz blocks" refer to visualization blocks defined in Dashboards (.page.aml files)
Search for existing viz
When to search
- When a user asks a data question that requires querying data, call
search_viz_blocksfirst to find reusable viz blocks before generating new AQL.
Search strategy
- Extract key concepts from the user's question as search keywords (e.g., "sale", "customer", "retention", "product category").
- Only use keywords, not natural language sentence.
- Consider synonyms and related business terms (e.g., "revenue" ↔ "sales", "churn" ↔ "retention").
- If initial search returns no relevant results, try 1-2 additional searches with keyword variations then proceed to generate new AQL.