CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

azure-monitor-query-py

Azure Monitor Query SDK for Python. Use for querying Log Analytics workspaces and Azure Monitor metrics.

Quality

68%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills/skills/azure-monitor-query-py/SKILL.md

The canonical home for this skill is azure-monitor-query-py in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

50%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is well-organized and mostly lean, executable SDK guidance, but its reliability is undermined by a syntactically broken metrics example, undefined variables ('os', 'workspace_id', 'resource_uri'), and a circular 'When to Use' filler section. Everything lives inline in one file with no progressive disclosure to reference materials.

Suggestions

Fix the broken 'Query Resource Metrics' code block (remove the duplicated metric_names/timespan/granularity fragment and stray parenthesis) and consistently define or source variables (import os, use os.environ["AZURE_LOG_ANALYTICS_WORKSPACE_ID"] everywhere instead of bare workspace_id/resource_uri).

Replace the circular 'When to Use' section ('This skill is applicable to execute the workflow or actions described in the overview') with concrete usage conditions or delete it.

Move the Kusto query library and advanced material (batch queries, async clients, aggregation/filter details) into a references/ file and link to it from SKILL.md to shorten the main file.

DimensionReasoningScore

Conciseness

The body is code-first with almost no concept tutorials, but it contains several tightening targets: the circular filler "This skill is applicable to execute the workflow or actions described in the overview", the redundant Client Types table, and ~10 lines of duplicated broken code in the metrics section. Multiple non-minor waste points place it at anchor 3 rather than the 'minor instances' of anchor 4.

3 / 5

Actionability

Most sections show real SDK calls, but the 'Query Resource Metrics' example is syntactically broken (a duplicated 'metric_names=..., timespan=..., granularity=...' fragment and stray ')' inside the loop), 'os' is never imported, and 'workspace_id'/'resource_uri' are undefined in several examples. A non-executable example plus undefined variables exceeds 'minor gaps', so it cannot score 4.

3 / 5

Workflow Clarity

The progression (installation → env vars → auth → logs client → metrics client → async → query library) is coherent and partial-result status checking provides one checkpoint, but there is no error-recovery guidance beyond printing, and the broken metrics example disrupts the sequence mid-flow. Checkpoints are implicit rather than explicit, fitting anchor 3.

3 / 5

Progressive Disclosure

Section headers are clean and consistent, but no bundle files exist and ~250 lines of API-cookbook material (Kusto query library, batch/async details, aggregation options) are fully inlined in SKILL.md. Content that would benefit from being in a separate reference file is inline, matching anchor 3; it is not 4 because there are no references at all, and not 2 because the in-file structure itself is good.

3 / 5

Total

12

/

20

Passed

Description

73%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is concise, in third person, and clearly establishes a distinct Azure-specific niche with an explicit 'Use for' clause. Its main weakness is that the 'when' restates the 'what' instead of naming concrete user situations (e.g., running KQL/Kusto queries, Application Insights data), leaving completeness and trigger coverage just short of excellent.

Suggestions

Expand the description with one or two more concrete actions (e.g., batch queries, metric aggregations and dimension filters) to raise specificity.

Rewrite the trigger clause to name distinct user situations and synonyms, e.g., 'Use when the user asks to run KQL/Kusto queries against Log Analytics, or to retrieve and aggregate Azure Monitor resource metrics'.

DimensionReasoningScore

Specificity

"Use for querying Log Analytics workspaces and Azure Monitor metrics" names the domain plus exactly two concrete actions, matching the '1-2 concrete actions, but not comprehensive' anchor. It is not 4 because no additional capabilities (batch queries, aggregations, filtering, DataFrame conversion) are listed.

3 / 5

Completeness

Both 'what' ("Azure Monitor Query SDK for Python") and an explicit 'when' clause ("Use for querying...") are present, so the missing-trigger cap of 3 does not apply. However, the 'when' merely restates the 'what' rather than naming concrete user situations, so it falls short of the anchor-5 example with distinct trigger phrases.

4 / 5

Trigger Term Quality

Natural trigger terms are present ("Azure Monitor", "Log Analytics", "metrics", "Python"), giving good keyword coverage, but common user phrasings such as "KQL", "Kusto", or "Application Insights" are missing. Coverage is genuinely good rather than partial, so it sits above the anchor-3 example.

4 / 5

Distinctiveness Conflict Risk

"Azure Monitor Query SDK for Python" occupies a clear niche with product-specific triggers (Log Analytics, Azure Monitor metrics) and minimal conflict risk with other skills. No closely competing generic domain is implicated, so it fits the anchor-5 example rather than the anchor-4 'minor overlap' case.

5 / 5

Total

16

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

administrakt0r/AI-Agents-Safe-Coding-Skills

Path

plugins/AI-Agents-Safe-Coding-Skills/skills/azure-monitor-query-py/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.