agentleFS
Microsoft AzureKnown publisherAzure/azure-functions-agents-runtime/samples/daily-azure-report/src/skills/azure-resources/SKILL.md

azure-resources

Skill13 starsChanged 36 days agoMITView on GitHub

Query and manage Azure resources using the ARM REST API via the azure_rest custom tool. Use when listing, filtering, or inspecting Azure resources, resource groups, deployments, or subscription details.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    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. Very specific:

    Use the Microsoft Learn tools (microsoft_docs_search, microsoft_docs_fetch) to look up correct ARM REST API paths, api-versions, query …

    line 23

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

Tools available

azure_rest

A custom tool that makes authenticated requests to the Azure Resource Manager REST API. It uses the function app's managed identity — no tokens or credentials needed.

Parameters:

  • path (required) — ARM REST API path relative to https://management.azure.com. Must include api-version as a query parameter.
  • method (optional, default GET) — HTTP method.
  • body (optional) — JSON request body for POST/PUT/PATCH.
  • query (optional) — JMESPath expression to filter the response, similar to az --query. Use this to reduce response size and extract only the fields you need. Examples:
    • value[].{name: name, type: type, location: location} — extract specific fields from a resource list
    • value[?type=='Microsoft.Web/sites'].name — filter by resource type
    • value | length(@) — count results

Microsoft Learn MCP server

Use the Microsoft Learn tools (microsoft_docs_search, microsoft_docs_fetch) to look up correct ARM REST API paths, api-versions, query parameters, and response schemas when you're unsure.

Common API paths

List all resources in a subscription

GET /subscriptions/{subscriptionId}/resources?api-version=2021-04-01

Response includes createdTime, changedTime, name, type, location, resourceGroup for each resource.

List resource groups

GET /subscriptions/{subscriptionId}/resourcegroups?api-version=2021-04-01

List resources in a specific resource group

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/resources?api-version=2021-04-01

Get a specific resource by ID

GET /subscriptions/{subscriptionId}/resourceGroups/{rg}/providers/{namespace}/{type}/{name}?api-version={version}

Note: api-version varies by resource type. Use Microsoft Learn to look up the correct version.

List deployments

GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments?api-version=2021-04-01

Tips

  • The api-version query parameter is required for all ARM calls. If unsure of the version, search Microsoft Learn.
  • To filter recently changed resources, list all resources and filter client-side by createdTime and changedTime timestamps (ISO 8601 format).
  • Large subscriptions may return paginated results with a nextLink property. Follow it to get additional pages.
  • RBAC on the managed identity controls what the tool can access. Reader role allows listing and reading all resources.

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.