apex-azure-kusto
Skill216 starsChanged 2 months agoMITView on GitHub
**ANALYSIS SKILL** — Query and analyze data in Azure Data Explorer (Kusto/ADX) using KQL. WHEN: "KQL queries", "Kusto database queries", "Azure Data Explorer", "ADX clusters", "time series data", "IoT telemetry", "anomaly detection". DO NOT USE FOR: App Insights / Log Analytics troubleshooting (apex-azure-diagnostics), cost analysis (apex-azure-cost-optimization).
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- apex-agent-authoringSkill
- apex-azure-adrSkill
- apex-azure-artifactsSkill
- apex-azure-bicep-patternsSkill
- apex-azure-cloud-migrateSkill
- apex-azure-complianceSkill
- apex-azure-computeSkill
- apex-azure-cost-optimizationSkill
- apex-azure-defaultsSkill
- apex-azure-deploySkill
- apex-azure-diagnosticsSkill
- apex-azure-governance-discoverySkill
- apex-azure-kubernetesSkill
- apex-azure-prepareSkill
- apex-azure-quotasSkill
- apex-azure-rbacSkill
- apex-azure-reliabilitySkill
- apex-azure-resourcesSkill
- apex-azure-storageSkill
- apex-azure-upgradeSkill
- apex-azure-validateSkill
- apex-context-managementSkill
- apex-entra-app-registrationSkill
- apex-github-operationsSkill
- apex-golden-principlesSkill
- apex-host-debug-log-exportSkill
- apex-host-git-commitSkill
- apex-host-workflow-startSkill
- apex-iac-commonSkill
- apex-mermaidSkill
- apex-microsoft-docsSkill
- apex-python-diagramsSkill
- apex-terraform-patternsSkill
- apex-terraform-search-importSkill
- apex-terraform-testSkill
- apex-unslopSkill
- apex-vendor-promptingSkill
- apex-workflow-engineSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 48
Always bound time-series scans with start/end timestamps, including both join inputs
- Very specific: line 49
Use take/limit for exploratory queries
- Very specific: line 51
Use summarize for aggregations.
- Very specific: line 52
Use project to select only needed columns
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Azure Data Explorer (Kusto) Query & Analytics
Execute KQL queries against Azure Data Explorer for fast, scalable big-data analytics on log, telemetry, and time-series data.
Prerequisites
- Azure CLI authenticated (
az login) with a subscription containing Kusto resources - RBAC:
AllDatabasesVieweron the cluster, orDatabase Viewerper database - Azure MCP server configured in
.vscode/mcp.jsonfor themcp_azure-mcp_kustonamespace; CLI fallback inreferences/fallback-strategy.md
Steps
- Discover resources — list clusters and databases in the subscription
- Explore schema —
kusto_table_schema_getfor table structure - Query data —
kusto_querywith a KQL expression - Analyse results — aggregate, visualise, export
Query Patterns Quick Reference
| Pattern | Use For |
| Basic Data Retrieval | Quick inspection, recent events |
| Aggregation Analysis | Counting, distribution, top-N |
| Time Series Analytics | Performance monitoring, trends |
| Join and Correlation | Root-cause analysis, event tracing |
| Schema Discovery | Data model exploration |
For full KQL syntax, examples, best practices, and performance tips, read
references/query-patterns.md.
Rules
- Always bound time-series scans with start/end timestamps, including both join inputs
- Use
take/limitfor exploratory queries - Filter early (
wherebeforejoin/summarize) - Use
summarizefor aggregations;bin()for time bucketing - Use
projectto select only needed columns
MCP Tools
These names are capability hints, not proof of installation. Inspect available tools and their current schemas before use; do not invent a missing tool or silently substitute ARG/Monitor for ADX execution.
| Tool | Purpose |
kusto_cluster_list | List Kusto clusters in a subscription |
kusto_database_list | List databases in a cluster |
kusto_query | Execute KQL against a database |
kusto_table_schema_get | Retrieve table schema |
Required parameters: subscription, cluster, database, query (or table).
Optional: resource-group, tenant.
For CLI fallback (timeouts, auth failures), read
references/fallback-strategy.md. For access, timeout, empty-result and
ingestion problems, read references/common-issues.md.
Reference Index
| Reference | When to Load |
references/query-patterns.md | KQL patterns, examples, best practices, common functions |
references/fallback-strategy.md | CLI commands and REST API fallback when MCP tools fail |
references/common-issues.md | Access, timeout, syntax, empty-result and ingestion issues |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

