CtrlK
BlogDocsLog inGet started
Tessl Logo

azure-monitor-query-py

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

56

Quality

64%

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

63%Scale 1-5

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

This is a functional SDK reference skill with good code coverage across logs and metrics querying scenarios. Its main weaknesses are a broken code example in the metrics section, some unnecessary filler content (generic best practices, tautological 'When to Use' section), and a monolithic structure that would benefit from splitting into overview + reference files. The actionable code examples are its strongest asset.

Suggestions

Fix the broken code in the 'Query Resource Metrics' section — there are duplicated lines and incorrect indentation that make it non-executable.

Remove the 'When to Use' section (adds no value) and trim the 'Best Practices' list to only non-obvious, SDK-specific advice.

Split common Kusto queries and async client examples into separate referenced files to improve progressive disclosure and reduce the main file length.

Add a missing `import os` statement in the basic query example, since `os.environ` is used without importing the module.

DimensionReasoningScore

Conciseness

The skill is mostly efficient with code examples, but includes some unnecessary padding like the 'Best Practices' list of generic advice Claude already knows, the 'When to Use' section is a meaningless tautology, and the 'Client Types' table restates what's already obvious from the code examples above it.

3 / 5

Actionability

Provides concrete, mostly executable code examples covering logs queries, metrics queries, batch queries, async usage, and common Kusto patterns. However, the Metrics Client section has a clear code formatting/indentation error (duplicated lines and broken indentation in the 'Query Resource Metrics' example), which would prevent copy-paste execution.

4 / 5

Workflow Clarity

For an SDK reference skill, the workflow is reasonably clear: install → authenticate → query logs or metrics → handle results. The partial results handling section is a good validation checkpoint. However, there's no explicit error handling workflow for common failures (e.g., authentication errors, invalid workspace IDs), and the sequence is implicit rather than explicitly numbered as a workflow.

4 / 5

Progressive Disclosure

The content is well-sectioned with clear headers, but at ~200 lines it's a long single file that could benefit from splitting advanced topics (async clients, common Kusto queries, metrics details) into separate referenced files. No bundle files exist, and no references to external files are provided, so everything is inlined.

3 / 5

Total

14

/

20

Passed

Description

65%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 functional and correctly identifies the domain and basic use case, but lacks specificity in concrete actions the skill can perform. Trigger terms are decent but missing common synonyms like 'KQL' or 'Kusto'. The 'Use for...' clause provides adequate but not comprehensive trigger guidance.

Suggestions

Add concrete actions like 'run KQL queries against Log Analytics workspaces, retrieve metric timeseries data, batch query multiple workspaces'.

Include additional trigger terms and synonyms such as 'KQL', 'Kusto', 'Application Insights', 'azure-monitor-query', 'logs', and 'observability'.

Expand the 'Use for' clause into a more explicit 'Use when...' with natural user phrases, e.g., 'Use when the user needs to query Azure logs, retrieve monitoring metrics, or write KQL queries in Python'.

DimensionReasoningScore

Specificity

Names the domain (Azure Monitor Query SDK for Python) and mentions querying, but the actions are generic — 'querying Log Analytics workspaces and Azure Monitor metrics' describes the domain more than concrete actions like 'run KQL queries', 'retrieve metric timeseries', 'parse log results'.

2 / 5

Completeness

Has both 'what' (Azure Monitor Query SDK for Python) and 'when' ('Use for querying Log Analytics workspaces and Azure Monitor metrics'). The 'when' clause is present but could be more explicit with concrete trigger phrases like 'when the user asks about KQL queries, log analytics, or monitoring data retrieval'.

4 / 5

Trigger Term Quality

Includes several relevant natural keywords: 'Azure Monitor', 'Log Analytics', 'metrics', 'query', 'Python'. Missing some common variations like 'KQL', 'Kusto', 'azure-monitor-query', 'logs', 'Application Insights', or 'workspace ID'.

4 / 5

Distinctiveness Conflict Risk

Fairly distinct — the combination of Azure Monitor, Log Analytics, and Python SDK narrows the scope well. Minor overlap risk with general Azure SDK skills or broader monitoring/observability skills.

4 / 5

Total

14

/

20

Passed

Validation

90%

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

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
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.