agentleFS
jonathan-vellajonathan-vella/apex/.github/skills/apex-azure-kusto/SKILL.md

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).

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
  1. Distinctive:

    Always bound time-series scans with start/end timestamps, including both join inputs

    line 48
  2. Very specific:

    Use take/limit for exploratory queries

    line 49
  3. Very specific:

    Use summarize for aggregations.

    line 51
  4. Very specific:

    Use project to select only needed columns

    line 52

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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: AllDatabasesViewer on the cluster, or Database Viewer per database
  • Azure MCP server configured in .vscode/mcp.json for the mcp_azure-mcp_kusto namespace; CLI fallback in references/fallback-strategy.md

Steps

  1. Discover resources — list clusters and databases in the subscription
  2. Explore schema — kusto_table_schema_get for table structure
  3. Query data — kusto_query with a KQL expression
  4. Analyse results — aggregate, visualise, export

Query Patterns Quick Reference

PatternUse For
Basic Data RetrievalQuick inspection, recent events
Aggregation AnalysisCounting, distribution, top-N
Time Series AnalyticsPerformance monitoring, trends
Join and CorrelationRoot-cause analysis, event tracing
Schema DiscoveryData 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/limit for exploratory queries
  • Filter early (where before join / summarize)
  • Use summarize for aggregations; bin() for time bucketing
  • Use project to 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.

ToolPurpose
kusto_cluster_listList Kusto clusters in a subscription
kusto_database_listList databases in a cluster
kusto_queryExecute KQL against a database
kusto_table_schema_getRetrieve 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

ReferenceWhen to Load
references/query-patterns.mdKQL patterns, examples, best practices, common functions
references/fallback-strategy.mdCLI commands and REST API fallback when MCP tools fail
references/common-issues.mdAccess, timeout, syntax, empty-result and ingestion issues

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.