crestapps/crestapps.agentskills/crestapps-core-azure-ai-inference
Claude Code and agent skill by crestapps/crestapps.agentskills
- community
Checking that the SKILL.md file is still in the repository.
Skill for using Azure AI Inference, Azure AI Foundry serverless models, and GitHub Models in CrestApps.Core 2.0. Covers AddAzureAIInference and AddCoreAIAzureAIInference registration, connections with the AzureAIInference client name, Endpoint, AuthenticationType (Default, ApiKey, ManagedIdentity) and IdentityId, configured chat and embedding deployments that declare model capabilities through Features and Parameters instead of the removed Purpose or Type, deployment slots resolved with Resolve…
Install
npx vskill@latest install crestapps/crestapps.agentskills/crestapps-core-azure-ai-inferenceSKILL.md
The same SKILL.md was published earlier as crestapps/crestapps.agentskills/crestapps-core-azure-ai-inference.
CrestApps.Core Azure AI Inference
The CrestApps.Core.AI.AzureAIInference package uses the Azure.AI.Inference SDK to reach one endpoint that serves many model families (OpenAI, Meta Llama, Mistral, Cohere, and others). It is the provider for GitHub Models and for serverless model deployments in Azure AI Foundry.
Guidelines
- Use it for multi-model evaluation, GitHub Models prototypes, and serverless Azure model catalog deployments.
- Keep the endpoint and credentials on the connection; keep the model name and its capabilities on the deployment.
- Always set
AuthenticationType. When it is empty the provider usesDefaultAzureCredential, even ifApiKeyis set. A GitHub token needs"AuthenticationType": "ApiKey". - Only chat and embeddings are supported. Image generation, speech-to-text, text-to-speech and realtime throw
NotSupportedException; usecrestapps-core-openaiorcrestapps-core-azure-openaifor those. - Declare features per model. Tool calling, vision and structured outputs vary across the catalog; declare only what the chosen model supports.
Registration
Without the suite builder, register the core and orchestration services as well; AddCoreAIAzureAIInference() alone adds only the provider:
It registers AzureAIInferenceClientProvider, the ProviderAICompletionClient<AzureAIInferenceClientMarker> completion client, a connection source, and a deployment provider for AzureAIInferenceConstants.ClientName ("AzureAIInference").
Configuration
AuthenticationType | Credential | |
|---|---|---|
Default or empty | DefaultAzureCredential | |
ApiKey | AzureKeyCredential(ApiKey) (GitHub token or Azure key) | |
ManagedIdentity | ManagedIdentityCredential, user-assigned when IdentityId is set |
ModelNameis the catalog model name sent to the endpoint and falls back toName.- A configured deployment with no
Features(and no legacyPurpose/Type) is skipped with "declares no model capabilities". FeaturesandParameterson the entry are shorthand forProperties:AIDeploymentMetadata:*and keep environment variable names short.- A connection may instead declare
ChatDeploymentName(read-only deployment withtextGeneration,toolCalling,streaming) orEmbeddingDeploymentName(textEmbedding). Do not use the connection shorthand for a model that cannot call tools: it always declarestoolCalling.
Resolve Through Slots
GetAllBySlotAsync(AIDeploymentSlotNames.Chat, ...) returns only deployments that declare textGeneration and are not realtime. Use ResolveSlotAsync(AIDeploymentSlotNames.Chat, deploymentName) to pick one, with fallback to the site default in DefaultAIDeploymentSettings.DefaultChatDeploymentName.
Troubleshooting
- 401 or credential errors with a GitHub token:
AuthenticationTypeis notApiKey. - The model says it will call a tool but nothing runs: the deployment does not declare
toolCalling, or the model does not support tools. Check the model card and declare features accordingly. - `NotSupportedException` for images or speech: those clients do not exist for this provider; register a deployment on another provider and resolve it through the matching slot.
- GitHub Models rate limits: the free tier is for experimentation; move production traffic to an Azure AI Foundry endpoint.
Upgrading from 1.x
- Replace
"Type": "Chat"or"Purpose": "Chat"with"Features": [ ... ]. LegacyPurpose,CapabilityandTypevalues still load, but the projection is narrow:ChatorUtilitybecomestextGenerationonly (not whenrealtimeis declared), andEmbedding,Image,Vision,SpeechToTextandTextToSpeechbecometextEmbedding,imageOutput,imageInput,speechToTextandtextToSpeech. A 1.x chat entry therefore loses tool calling and streaming untiltoolCallingandstreamingare declared. - Replace
ResolveOrDefaultAsync(AIDeploymentPurpose.X, ...)withResolveSlotAsync(AIDeploymentSlotNames.X, ...)and purpose lookups withGetAllBySlotAsync. - Check that every connection that authenticates with a key or GitHub token sets
"AuthenticationType": "ApiKey".
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/CrestApps.AgentSkills/crestapps-core/crestapps-core-azure-ai-inference/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/crestapps/crestapps.agentskills/crestapps-core-azure-ai-inference)