Configures CrestApps.Core 2.0 to use Azure AI Inference, Azure AI Foundry serverless models, or GitHub Models. Covers registration, authentication, deployment slots, and per-model capability differences.
Ships in crestapps-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
AuthenticationType. When it is empty the provider uses DefaultAzureCredential, even if ApiKey is set. A GitHub token needs "AuthenticationType": "ApiKey".NotSupportedException; use crestapps-core-openai or crestapps-core-azure-openai for those.using CrestApps.Core.AI.AzureAIInference;
builder.Services.AddCrestAppsCore(crestApps => crestApps
.AddAISuite(ai => ai
.AddAzureAIInference()
)
);
Without the suite builder, register the core and orchestration services as well; AddCoreAIAzureAIInference() alone adds only the provider:
builder.Services
.AddCoreAIServices()
.AddCoreAIOrchestration()
.AddCoreAIAzureAIInference();
It registers AzureAIInferenceClientProvider, the ProviderAICompletionClient<AzureAIInferenceClientMarker> completion client, a connection source, and a deployment provider for AzureAIInferenceConstants.ClientName ("AzureAIInference").
{
"CrestApps": {
"AI": {
"Connections": [
{
"Name": "github-models",
"ClientName": "AzureAIInference",
"Endpoint": "https://models.inference.ai.azure.com",
"AuthenticationType": "ApiKey",
"ApiKey": "ghp_your-token-with-models-read"
},
{
"Name": "foundry",
"ClientName": "AzureAIInference",
"Endpoint": "https://your-project.inference.ai.azure.com",
"AuthenticationType": "ManagedIdentity"
}
],
"Deployments": [
{
"ClientName": "AzureAIInference",
"ConnectionName": "github-models",
"Name": "gpt-4o-mini",
"Features": [ "textGeneration", "toolCalling", "streaming" ]
},
{
"ClientName": "AzureAIInference",
"ConnectionName": "github-models",
"Name": "llama-3.3-70b",
"ModelName": "Llama-3.3-70B-Instruct",
"Features": [ "textGeneration", "streaming" ]
},
{
"ClientName": "AzureAIInference",
"ConnectionName": "github-models",
"Name": "text-embedding-3-small",
"Features": [ "textEmbedding" ]
}
]
}
}
}
AuthenticationType | Credential |
|---|---|
Default or empty | DefaultAzureCredential |
ApiKey | AzureKeyCredential(ApiKey) (GitHub token or Azure key) |
ManagedIdentity | ManagedIdentityCredential, user-assigned when IdentityId is set |
ModelName is the catalog model name sent to the endpoint and falls back to Name.Features (and no legacy Purpose/Type) is skipped with "declares no model capabilities".Features and Parameters on the entry are shorthand for Properties:AIDeploymentMetadata:* and keep environment variable names short.ChatDeploymentName (read-only deployment with textGeneration, toolCalling, streaming) or EmbeddingDeploymentName (textEmbedding). Do not use the connection shorthand for a model that cannot call tools: it always declares toolCalling.Requests go through the named HttpClient AzureAIInferenceConstants.HttpClientName ("CrestApps.AzureAIInference"), registered without a timeout, redirects or cookies. Configure a client of that name after registering the provider (for example AddHttpClient(name).ConfigurePrimaryHttpMessageHandler(...) with a ConnectCallback that checks each connection's address, AllowAutoRedirect = false, UseCookies = false and a PooledConnectionLifetime) to choose the transport; see crestapps-core-ai-runtime. Code that constructs AzureAIInferenceClientProvider passes an IHttpClientFactory.
using CrestApps.Core.AI.Completions;
using CrestApps.Core.AI.Deployments;
using CrestApps.Core.AI.Models;
using Microsoft.Extensions.AI;
namespace MyApp.Services;
public sealed class ModelComparisonService
{
private readonly IAIDeploymentManager _deploymentManager;
private readonly IAICompletionService _completionService;
public ModelComparisonService(IAIDeploymentManager deploymentManager, IAICompletionService completionService)
{
_deploymentManager = deploymentManager;
_completionService = completionService;
}
public async Task<IReadOnlyDictionary<string, string>> CompareAsync(string prompt, CancellationToken cancellationToken = default)
{
var results = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
var candidates = await _deploymentManager.GetAllBySlotAsync(
AIDeploymentSlotNames.Chat,
clientName: "AzureAIInference",
cancellationToken: cancellationToken);
foreach (var deployment in candidates)
{
var response = await _completionService.CompleteAsync(
deployment,
[new ChatMessage(ChatRole.User, prompt)],
new AICompletionContext { DisableTools = true },
cancellationToken);
results[deployment.Name] = response.Text;
}
return results;
}
}
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.
AuthenticationType is not ApiKey.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."Type": "Chat" or "Purpose": "Chat" with "Features": [ ... ]. Legacy Purpose, Capability and Type values still load, but the projection is narrow: Chat or Utility becomes textGeneration only (not when realtime is declared), and Embedding, Image, Vision, SpeechToText and TextToSpeech become textEmbedding, imageOutput, imageInput, speechToText and textToSpeech. A 1.x chat entry therefore loses tool calling and streaming until toolCalling and streaming are declared.ResolveOrDefaultAsync(AIDeploymentPurpose.X, ...) with ResolveSlotAsync(AIDeploymentSlotNames.X, ...) and purpose lookups with GetAllBySlotAsync."AuthenticationType": "ApiKey".What SKILL.md sets; muted values are Claude Code's defaults
51 skills in this plugin
/crestapps-core-a2aSkill for Agent-to-Agent (A2A) protocol support in CrestApps.Core on the A2A 1.0 SDK. Covers AddA2AClient and AddCoreAIA2AClient with Entity Framework Core or YesSql connection stores, A2AConnection and A2AConnectionMetadata authentication, AIProfileA2AMetadata, the agent card cache and A2AToolRegistryProvider, the listAvailableAgents, findAgentForTask and findToolsForTask tools, building an A2A host with IAgentHandler, A2AServer, ITaskStore and MapA2A, A2A 1.0 agent cards with supportedInterfaces published at /.well-known/agent-card.json, A2AHostOptions authentication and ExposeAgentsAsSkill, system agents exposed through the host, and upgrading from the 0.3 SDK./crestapps-core-ag-uiSkill for running the CrestApps.Core 2.0 AI chat as an AG-UI agent. Covers the CrestApps.Core.AI.AGUI package (AGUIRunEventWriter, AGUIRunRequest, AGUIJson), AIChatHubCore.RunAgent over SignalR and MapAGUIChat with Server-Sent Events, the RunAgentInput members and streamed events, tool approvals with RequireApproval or an approval tool kind, ApprovalRequiredAIFunction, interrupts and resume, approvals inside agents, page context with crestAppsAGUI.registerContextProvider, shared state with registerStateProvider and update_shared_state, frontend tools, stored tool calls (ChatTurnToolActivity), runs that continue on the next page, AGUIChatOptions.DisconnectedRunTimeout, the protocol and sendPageContext chat options, and the AICompletionContextKeys and ChatResponseHandlerContext members. Use it when showing tool calls in the chat, asking a person before a tool runs, sharing page state with the agent, connecting CopilotKit or another AG-UI client, or troubleshooting approvals and continued runs./crestapps-core-ai-agentsSkill for AI agents in CrestApps.Core 2.0, specialized AIProfile records of type Agent that the primary model invokes as tools. Covers creating agent profiles with AgentMetadata availability (OnDemand or AlwaysAvailable), linking them with AgentInvocationMetadata, how AgentProxyTool runs an agent with tools disabled or through the orchestrator when AllowToolInvocation is set, the AgentInvocationDepth recursion guard, never offering an agent to itself (RunningAgentName), tools of an agent that require an approval and pause the agent, deployment inheritance and the chat slot, code-defined and system agents through IAIProfileProvider including the Tabular Data, PDF, Presentation and Word agents, chat-specific agents that read AIInvocationScope, exposing agents to MCP clients with McpServerOptions Agents and ExposeAllAgents, and SubAgent usage labels. Use it when delegating work to sub-agents, adding a framework-managed agent, publishing an agent over MCP, or troubleshooting an agent the model does not call./crestapps-core-ai-markdownSkill for Markdig-backed Markdown normalization in CrestApps.Core 2.0 AI document, data source and RAG flows. Covers the CrestApps.Core.AI.Markdown package, AddMarkdown on the AI suite builder and AddCoreAIMarkdown on IServiceCollection, MarkdownAITextNormalizer replacing the default IAITextNormalizer, RagTextNormalizer content, chunk and title normalization with HTML stripping and Microsoft.Extensions.DataIngestion.Markdig parsing, the gpt-4o tokenizer chunker with 500 tokens per chunk and 50 tokens of overlap, the plain-text fallback for unsupported inline types, where the normalizer is used (data source indexing, preemptive retrieval, reference titles), and pairing it with document processing. Use it when indexing Markdown-heavy content for retrieval, replacing the text normalizer, or troubleshooting chunk sizes and leftover markup in retrieved text./crestapps-core-ai-memorySkill for AI memory in CrestApps.Core. Covers AddAIMemory, AddCoreAIMemory and AddCoreAIMemoryIndexing, Entity Framework Core and YesSql memory stores, the AIMemory index profile on the Elasticsearch, Azure AI Search and PostgreSQL backends, AIMemoryOptions, the store fallback when no index is usable, background memory indexing, the three kinds of memory (session memory with AIConversationMemory summaries and search_conversation, past conversations with search_past_conversations and list_recent_conversations, durable user memory) switched by MemoryMetadata and ChatInteractionMemoryOptions, preemptive memory retrieval and RunsWhenPreemptiveRagIsDisabled, owner-only chat sessions, the user memory tools, IAIMemorySafetyService validation, and custom IMemoryVectorSearchService implementations./crestapps-core-ai-model-capabilitiesSkill for metadata-driven deployment capabilities in CrestApps.Core 2.0. Covers trained model features such as textGeneration, toolCalling, streaming, reasoning, realtime, textEmbedding, speechToText and textToSpeech, model parameters such as reasoningEffort, declaring them with AIDeploymentMetadata or the Features and Parameters configuration shorthand for Azure App Service settings, registering custom features, parameters and slots with AddAIDeploymentFeature, AddAIDeploymentParameter, AddAIDeploymentSlot and AIDeploymentCapabilityOptions, IAIDeploymentCapabilityService, deployment slots and their resolution chain, AIDeploymentParametersMetadata chat and utility values, IAIDeploymentParameterBinder, UseModelParameters, capability enforcement, the ChatApi Responses routing for reasoning with tools, capability-aware chat UIs, and migrating from AIDeploymentPurpose. Use it when declaring what a model supports, adding a new knob, or fixing stripped tools, missing pickers, or reasoning-effort errors./crestapps-core:crestapps-core-azure-ai-inferencefrom crestapps-core
npx claudepluginhub crestapps/crestapps.agentskills --plugin crestapps-coreOther plugins' skills for the same job