agentleFS
MicrosoftKnown publishermicrosoft/azurelinux/.agents/skills/skill-deployment-context/SKILL.md

skill-deployment-context

Skill5.3k starsChanged 2 months agoMITView on GitHub

[Skill] deployment context, aks, azure, koji - Resolve Koji AKS deployment context -- resource group, cluster name, subscription, Log Analytics workspace, and monitoring resource names from deployment_summary.yaml when available, or discover them dynamically from Azure.

Trending

Quiet since September.about the whole repository

Dec 2025: 0 mentionsJan 2026: 3 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 1 mentionMay 2026: 3 mentionsJun 2026: 1 mentionJul 2026: 3 mentionsAug 2026: 0 mentionsSep 2026: 2 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/azurelinux repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/azurelinux

The biggest 5 of 40 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 40

Talked about on GitHub, Bluesky and Hacker News (40 times).

On GitHub · 26

21 more on GitHub

On Bluesky · 11

6 more on Bluesky

On Hacker News · 3

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the file exists, open it and use its values as the source of truth for the deployment context.

    line 16
  2. Distinctive:

    If the file does not exist (e.g., in a new or manually provisioned environment), skip to Steps 2–4 and resolve the deployment context …

    line 17
  3. Very specific:

    If the user needs help obtaining this file, offer to run az commands to discover the values and generate it for them.

    line 18
  4. Distinctive:

    Ask the user for the resource group or AKS cluster name.

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Koji Deployment Context Discovery

Always resolve context before running queries. Never assume resource names.

Step 1: Locate deployment_summary.yaml (if available)

This file is typically generated by the Koji deployment pipeline (e.g., as an Azure DevOps pipeline artifact) and stored at the repository root as ./deployment_summary.yaml. It should contain resource_group, aks_cluster_name, subscription_id, and monitoring resource names/IDs.

  • If the file exists, open it and use its values as the source of truth for the deployment context.
  • If the file does not exist (e.g., in a new or manually provisioned environment), skip to Steps 2–4 and resolve the deployment context directly from Azure.
  • If the user needs help obtaining this file, offer to run az commands to discover the values and generate it for them.

Step 2: If subscription is missing

Run: az account show --query id -o tsv

Step 3: If deployment does not match the summary

Ask the user for the resource group or AKS cluster name.

Step 4: Discover monitoring resources dynamically

az monitor log-analytics workspace list --resource-group <RG> -o table
az resource list --resource-group <RG> --resource-type Microsoft.Monitor/accounts -o table
az resource list --resource-group <RG> --resource-type Microsoft.Dashboard/grafana -o table

Naming convention

Resources follow <prefix>-koji-*:

  • Resource group: <prefix>-koji-rg-<suffix>
  • AKS cluster: <prefix>-koji-aks
  • Log Analytics: <prefix>-koji-logs
  • Azure Monitor: <prefix>-koji-monitor
  • Grafana: <prefix>-koji-grafana

MCP tools for context discovery

ToolPurpose
aks_cluster_getList/get AKS cluster details
aks_nodepool_getList/get node pool details
monitor_table_listList tables in a Log Analytics workspace

Prerequisites: Node.js (npx) and an active az login session.

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.