agentleFS
Microsoft AzureKnown publisherAzure/aigateway/skills/use-ai-gateway/SKILL.md

use-ai-gateway

Skill17 starsChanged 15 days agoMITView on GitHub

Discover callable Azure AI Gateway model and MCP endpoints, then connect them to an existing app or developer workflow.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. Azure/ai-gateway★ 17100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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 endpoint or asset details are missing, try the relevant read-only Azure discovery under the current signed-in identity and selected …

    line 23
  2. Distinctive:

    If discovery is unavailable, ask for only the missing published contract: model operation URL, callable alias and API format.

    line 28
  3. Distinctive:

    If there are multiple viable assets, shortlist only those that meet the user's stated needs and explain the material tradeoff.

    line 34
  4. Very specific:

    Use one approved runtime credential as Authorization: Bearer.

    line 48
  5. Distinctive:

    Before a live request, verify its destination and whether cost or side effects are covered by the user's request.

    line 51
  6. Distinctive:

    Verify the actual HTTP and application/protocol result.

    line 55

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

Use Azure AI Gateway assets

Help developers consume existing gateway assets. Route from the requested outcome; use supplied connection details before attempting discovery.

User wants toRead
Find gateway URLs, model aliases, MCP servers, or key metadataConnection and discovery
Call or integrate a modelModels, then authentication
Connect to an MCP server, list tools, or call a toolMCP, then authentication
Diagnose a failed or unexpected requestDiagnostics

Resolve only what the task needs

  1. Reuse the supplied endpoint, alias/tool name, protocol, project and credential binding. If they form a complete callable contract, skip Azure inventory.
  2. If endpoint or asset details are missing, try the relevant read-only Azure discovery under the current signed-in identity and selected subscription; see connection. Do not sign in, switch identity, scan other subscriptions, or request broader access to make optional discovery work.
  3. If discovery is unavailable, ask for only the missing published contract: model operation URL, callable alias and API format; or MCP endpoint, protocol/version and connection instructions. Ask for a secure credential binding, never a secret pasted into chat. If the user wants Azure inventory, explain the management-read access and scope needed; it is not required to use supplied runtime details.
  4. If there are multiple viable assets, shortlist only those that meet the user's stated needs and explain the material tradeoff. Preserve explicit choices; do not audit routing or policies unless they affect the task.

Connect and verify

  • For models, use the published operation URL, exact callable alias and advertised API format. The alias is the request's model, not a backend deployment name.
  • For MCP, use the gateway server endpoint and compatible MCP client. List tools before selecting them; preserve each exact name and schema.
  • Integrate into the user's existing project and workflow. Follow its language, framework and dependency conventions; do not scaffold a standalone agent unless requested.
  • Use one approved runtime credential as Authorization: Bearer. Keep it in the existing secret store or environment binding. Never expose it in code, logs, prompts, URLs or browser bundles.
  • Before a live request, verify its destination and whether cost or side effects are covered by the user's request. Treat explicit authorization for a named operation and arguments as approval; ask only when material impact or scope is unclear. Tool listing is not tool invocation.
  • Verify the actual HTTP and application/protocol result. HTTP 200 alone does not prove model completion or successful tool execution. Do not retry an operation that may have side effects until its outcome is known.

This is a consumer workflow: do not create or change gateways, assets, policies, roles, keys or backend connections. Do not bypass gateway checks with provider URLs or broader credentials. Finish with the endpoint/operation used, what was actually verified, and the precise missing detail or owner action, if any.

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.