[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71BKN57RNR6THF5D6G3ZVCY":3,"skill-same:01M71BKN57RNR6THF5D6G3ZVCY":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":55,"install":56,"resources":69},"01M71BKN57RNR6THF5D6G3ZVCY","m365-agents-dotnet",null,"Microsoft 365 Agents SDK for .NET. Build multichannel agents for Teams\u002FM365\u002FCopilot Studio with ASP.NET Core hosting, AgentApplication routing, and MSAL-based auth. Triggers: \"Microsoft 365 Agents SDK\", \"Microsoft.Agents\", \"AddAgentApplicationOptions\", \"AgentApplication\", \"AddAgentAspNetAuthentication\", \"Copilot Studio client\", \"IAgentHttpAdapter\".","strmt7\u002Fai_skills_collection_benchmarked","strmt7","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F28989754?v=4","01M71929P914SWKQ7QJV24NBBY","Stratos","01M71929Q9VGKQ7PWYR95VSQQQ",1,"MIT","https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Fskills\u002Fby-category\u002Fcloud-azure-microsoft-sdks\u002Fofficial-vendor-reference\u002Fm365-agents-dotnet\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"dotnet","m365 agents dotnet","m365","copilot studio","for","studio","with","triggers","build","hosting","authentication","routing","agents sdk","teams","copilotstudio","core","copilot","auth","microsoft","sdk","2026-11-10 10:12:30",false,"---\nname: m365-agents-dotnet\ndescription: |\n  Microsoft 365 Agents SDK for .NET. Build multichannel agents for Teams\u002FM365\u002FCopilot Studio with ASP.NET Core hosting, AgentApplication routing, and MSAL-based auth. Triggers: \"Microsoft 365 Agents SDK\", \"Microsoft.Agents\", \"AddAgentApplicationOptions\", \"AgentApplication\", \"AddAgentAspNetAuthentication\", \"Copilot Studio client\", \"IAgentHttpAdapter\".\nlicense: MIT\nmetadata:\n  author: Microsoft\n  version: \"1.0.0\"\n  package: Microsoft.Agents.Hosting.AspNetCore, Microsoft.Agents.Authentication.Msal, Microsoft.Agents.CopilotStudio.Client\n---\n\n# Microsoft 365 Agents SDK (.NET)\n\n## Overview\nBuild enterprise agents for Microsoft 365, Teams, and Copilot Studio using the Microsoft.Agents SDK with ASP.NET Core hosting, agent routing, and MSAL-based authentication.\n\n## Before implementation\n- Use the microsoft-docs MCP to verify the latest APIs for AddAgent, AgentApplication, and authentication options.\n- Confirm package versions in NuGet for the Microsoft.Agents.* packages you plan to use.\n\n## Installation\n\n```bash\ndotnet add package Microsoft.Agents.Hosting.AspNetCore\ndotnet add package Microsoft.Agents.Authentication.Msal\ndotnet add package Microsoft.Agents.Storage\ndotnet add package Microsoft.Agents.CopilotStudio.Client\ndotnet add package Microsoft.Identity.Client.Extensions.Msal\n```\n\n## Configuration (appsettings.json)\n\n```json\n{\n  \"TokenValidation\": {\n    \"Enabled\": true,\n    \"Audiences\": [\n      \"{{ClientId}}\"\n    ],\n    \"TenantId\": \"{{TenantId}}\"\n  },\n  \"AgentApplication\": {\n    \"StartTypingTimer\": false,\n    \"RemoveRecipientMention\": false,\n    \"NormalizeMentions\": false\n  },\n  \"Connections\": {\n    \"ServiceConnection\": {\n      \"Settings\": {\n        \"AuthType\": \"ClientSecret\",\n        \"ClientId\": \"{{ClientId}}\",\n        \"ClientSecret\": \"{{ClientSecret}}\",\n        \"AuthorityEndpoint\": \"https:\u002F\u002Flogin.microsoftonline.com\u002F{{TenantId}}\",\n        \"Scopes\": [\n          \"https:\u002F\u002Fapi.botframework.com\u002F.default\"\n        ]\n      }\n    }\n  },\n  \"ConnectionsMap\": [\n    {\n      \"ServiceUrl\": \"*\",\n      \"Connection\": \"ServiceConnection\"\n    }\n  ],\n  \"CopilotStudioClientSettings\": {\n    \"DirectConnectUrl\": \"\",\n    \"EnvironmentId\": \"\",\n    \"SchemaName\": \"\",\n    \"TenantId\": \"\",\n    \"AppClientId\": \"\",\n    \"AppClientSecret\": \"\"\n  }\n}\n```\n\n## Core Workflow: ASP.NET Core agent host\n\n```csharp\nusing Microsoft.Agents.Builder;\nusing Microsoft.Agents.Hosting.AspNetCore;\nusing Microsoft.Agents.Storage;\nusing Microsoft.AspNetCore.Builder;\nusing Microsoft.AspNetCore.Http;\nusing Microsoft.Extensions.DependencyInjection;\nusing Microsoft.Extensions.Hosting;\n\nvar builder = WebApplication.CreateBuilder(args);\n\nbuilder.Services.AddHttpClient();\nbuilder.AddAgentApplicationOptions();\nbuilder.AddAgent\u003CMyAgent>();\nbuilder.Services.AddSingleton\u003CIStorage, MemoryStorage>();\n\nbuilder.Services.AddControllers();\nbuilder.Services.AddAgentAspNetAuthentication(builder.Configuration);\n\nWebApplication app = builder.Build();\n\napp.UseAuthentication();\napp.UseAuthorization();\n\napp.MapGet(\"\u002F\", () => \"Microsoft Agents SDK Sample\");\n\nvar incomingRoute = app.MapPost(\"\u002Fapi\u002Fmessages\",\n    async (HttpRequest request, HttpResponse response, IAgentHttpAdapter adapter, IAgent agent, CancellationToken ct) =>\n    {\n        await adapter.ProcessAsync(request, response, agent, ct);\n    });\n\nif (!app.Environment.IsDevelopment())\n{\n    incomingRoute.RequireAuthorization();\n}\nelse\n{\n    app.Urls.Add(\"http:\u002F\u002Flocalhost:3978\");\n}\n\napp.Run();\n```\n\n## AgentApplication routing\n\n```csharp\nusing Microsoft.Agents.Builder;\nusing Microsoft.Agents.Builder.App;\nusing Microsoft.Agents.Builder.State;\nusing Microsoft.Agents.Core.Models;\nusing System;\nusing System.Threading;\nusing System.Threading.Tasks;\n\npublic sealed class MyAgent : AgentApplication\n{\n    public MyAgent(AgentApplicationOptions options) : base(options)\n    {\n        OnConversationUpdate(ConversationUpdateEvents.MembersAdded, WelcomeAsync);\n        OnActivity(ActivityTypes.Message, OnMessageAsync, rank: RouteRank.Last);\n        OnTurnError(OnTurnErrorAsync);\n    }\n\n    private static async Task WelcomeAsync(ITurnContext turnContext, ITurnState turnState, CancellationToken ct)\n    {\n        foreach (ChannelAccount member in turnContext.Activity.MembersAdded)\n        {\n            if (member.Id != turnContext.Activity.Recipient.Id)\n            {\n                await turnContext.SendActivityAsync(\n                    MessageFactory.Text(\"Welcome to the agent.\"),\n                    ct);\n            }\n        }\n    }\n\n    private static async Task OnMessageAsync(ITurnContext turnContext, ITurnState turnState, CancellationToken ct)\n    {\n        await turnContext.SendActivityAsync(\n            MessageFactory.Text($\"You said: {turnContext.Activity.Text}\"),\n            ct);\n    }\n\n    private static async Task OnTurnErrorAsync(\n        ITurnContext turnContext,\n        ITurnState turnState,\n        Exception exception,\n        CancellationToken ct)\n    {\n        await turnState.Conversation.DeleteStateAsync(turnContext, ct);\n\n        var endOfConversation = Activity.CreateEndOfConversationActivity();\n        endOfConversation.Code = EndOfConversationCodes.Error;\n        endOfConversation.Text = exception.Message;\n        await turnContext.SendActivityAsync(endOfConversation, ct);\n    }\n}\n```\n\n## Copilot Studio direct-to-engine client\n\n### DelegatingHandler for token acquisition (interactive flow)\n\n```csharp\nusing System.Net.Http.Headers;\nusing Microsoft.Agents.CopilotStudio.Client;\nusing Microsoft.Identity.Client;\n\ninternal sealed class AddTokenHandler : DelegatingHandler\n{\n    private readonly SampleConnectionSettings _settings;\n\n    public AddTokenHandler(SampleConnectionSettings settings) : base(new HttpClientHandler())\n    {\n        _settings = settings;\n    }\n\n    protected override async Task\u003CHttpResponseMessage> SendAsync(\n        HttpRequestMessage request,\n        CancellationToken cancellationToken)\n    {\n        if (request.Headers.Authorization is null)\n        {\n            string[] scopes = [CopilotClient.ScopeFromSettings(_settings)];\n\n            IPublicClientApplication app = PublicClientApplicationBuilder\n                .Create(_settings.AppClientId)\n                .WithAuthority(AadAuthorityAudience.AzureAdMyOrg)\n                .WithTenantId(_settings.TenantId)\n                .WithRedirectUri(\"http:\u002F\u002Flocalhost\")\n                .Build();\n\n            AuthenticationResult authResponse;\n            try\n            {\n                var account = (await app.GetAccountsAsync()).FirstOrDefault();\n                authResponse = await app.AcquireTokenSilent(scopes, account).ExecuteAsync(cancellationToken);\n            }\n            catch (MsalUiRequiredException)\n            {\n                authResponse = await app.AcquireTokenInteractive(scopes).ExecuteAsync(cancellationToken);\n            }\n\n            request.Headers.Authorization = new AuthenticationHeaderValue(\"Bearer\", authResponse.AccessToken);\n        }\n\n        return await base.SendAsync(request, cancellationToken);\n    }\n}\n```\n\n### Console host with CopilotClient\n\n```csharp\nusing Microsoft.Agents.CopilotStudio.Client;\nusing Microsoft.Extensions.DependencyInjection;\nusing Microsoft.Extensions.Hosting;\n\nHostApplicationBuilder builder = Host.CreateApplicationBuilder(args);\n\nvar settings = new SampleConnectionSettings(\n    builder.Configuration.GetSection(\"CopilotStudioClientSettings\"));\n\nbuilder.Services.AddHttpClient(\"mcs\").ConfigurePrimaryHttpMessageHandler(() =>\n{\n    return new AddTokenHandler(settings);\n});\n\nbuilder.Services\n    .AddSingleton(settings)\n    .AddTransient\u003CCopilotClient>(sp =>\n    {\n        var logger = sp.GetRequiredService\u003CILoggerFactory>().CreateLogger\u003CCopilotClient>();\n        return new CopilotClient(settings, sp.GetRequiredService\u003CIHttpClientFactory>(), logger, \"mcs\");\n    });\n\nIHost host = builder.Build();\nvar client = host.Services.GetRequiredService\u003CCopilotClient>();\n\nawait foreach (var activity in client.StartConversationAsync(emitStartConversationEvent: true))\n{\n    Console.WriteLine(activity.Type);\n}\n\nawait foreach (var activity in client.AskQuestionAsync(\"Hello!\", null))\n{\n    Console.WriteLine(activity.Type);\n}\n```\n\n## Best Practices\n\n1. Use AgentApplication subclasses to centralize routing and error handling.\n2. Use MemoryStorage only for development; use persisted storage in production.\n3. Enable TokenValidation in production and require authorization on \u002Fapi\u002Fmessages.\n4. Keep auth secrets in configuration providers (Key Vault, managed identity, env vars).\n5. Reuse HttpClient from IHttpClientFactory and cache MSAL tokens.\n6. Prefer async handlers and pass CancellationToken to SDK calls.\n\n## Reference Files\n\n| File | Contents |\n| --- | --- |\n| [references\u002Facceptance-criteria.md](references\u002Facceptance-criteria.md) | Import paths, hosting pipeline, Copilot Studio client patterns, anti-patterns |\n\n## Reference Links\n\n| Resource | URL |\n| --- | --- |\n| Microsoft 365 Agents SDK | https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fmicrosoft-365\u002Fagents-sdk\u002F |\n| AddAgent API | https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fdotnet\u002Fapi\u002Fmicrosoft.agents.hosting.aspnetcore.servicecollectionextensions.addagent?view=m365-agents-sdk |\n| AgentApplication API | https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fdotnet\u002Fapi\u002Fmicrosoft.agents.builder.app.agentapplication?view=m365-agents-sdk |\n| Auth configuration options | https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fmicrosoft-365\u002Fagents-sdk\u002Fmicrosoft-authentication-library-configuration-options |\n| Copilot Studio integration | https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fmicrosoft-365\u002Fagents-sdk\u002Fintegrate-with-mcs |\n| GitHub samples | https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagents |\n","# Microsoft 365 Agents SDK (.NET)\n\n## Overview\nBuild enterprise agents for Microsoft 365, Teams, and Copilot Studio using the Microsoft.Agents SDK with ASP.NET Core hosting, agent routing, and MSAL-based authentication.\n\n## Before implementation\n- Use the microsoft-docs MCP to verify the latest APIs for AddAgent, AgentApplication, and authentication options.\n- Confirm package versions in NuGet for the Microsoft.Agents.* packages you plan to use.\n\n## Installation\n\n```bash\ndotnet add package Microsoft.Agents.Hosting.AspNetCore\ndotnet add package Microsoft.Agents.Authentication.Msal\ndotnet add package Microsoft.Agents.Storage\ndotnet add package Microsoft.Agents.CopilotStudio.Client\ndotnet add package Microsoft.Identity.Client.Extensions.Msal\n```\n\n## Configuration (appsettings.json)\n\n```json\n{\n  \"TokenValidation\": {\n    \"Enabled\": true,\n    \"Audiences\": [\n      \"{{ClientId}}\"\n    ],\n    \"TenantId\": \"{{TenantId}}\"\n  },\n  \"AgentApplication\": {\n    \"StartTypingTimer\": false,\n    \"RemoveRecipientMention\": false,\n    \"NormalizeMentions\": false\n  },\n  \"Connections\": {\n    \"ServiceConnection\": {\n      \"Settings\": {\n        \"AuthType\": \"ClientSecret\",\n        \"ClientId\": \"{{ClientId}}\",\n        \"ClientSecret\": \"{{ClientSecret}}\",\n        \"AuthorityEndpoint\": \"https:\u002F\u002Flogin.microsoftonline.com\u002F{{TenantId}}\",\n        \"Scopes\": [\n          \"https:\u002F\u002Fapi.botframework.com\u002F.default\"\n        ]\n      }\n    }\n  },\n  \"ConnectionsMap\": [\n    {\n      \"ServiceUrl\": \"*\",\n      \"Connection\": \"ServiceConnection\"\n    }\n  ],\n  \"CopilotStudioClientSettings\": {\n    \"DirectConnectUrl\": \"\",\n    \"EnvironmentId\": \"\",\n    \"SchemaName\": \"\",\n    \"TenantId\": \"\",\n    \"AppClientId\": \"\",\n    \"AppClientSecret\": \"\"\n  }\n}\n```\n\n## Core Workflow: ASP.NET Core agent host\n\n```csharp\nusing Microsoft.Agents.Builder;\nusing Microsoft.Agents.Hosting.AspNetCore;\nusing Microsoft.Agents.Storage;\nusing Microsoft.AspNetCore.Builder;\nusing Microsoft.AspNetCore.Http;\nusing Microsoft.Extensions.DependencyInjection;\nusing Microsoft.Extensions.Hosting;\n\nvar builder = WebApplication.CreateBuilder(args);\n\nbuilder.Services.AddHttpClient();\nbuilder.AddAgentApplicationOptions();\nbuilder.AddAgent\u003CMyAgent>();\nbuilder.Services.AddSingleton\u003CIStorage, MemoryStorage>();\n\nbuilder.Services.AddControllers();\nbuilder.Services.AddAgentAspNetAuthentication(builder.Configuration);\n\nWebApplication app = builder.Build();\n\napp.UseAuthentication();\napp.UseAuthorization();\n\napp.MapGet(\"\u002F\", () => \"Microsoft Agents SDK Sample\");\n\nvar incomingRoute = app.MapPost(\"\u002Fapi\u002Fmessages\",\n    async (HttpRequest request, HttpResponse response, IAgentHttpAdapter adapter, IAgent agent, CancellationToken ct) =>\n    {\n        await adapter.ProcessAsync(request, response, agent, ct);\n    });\n\nif (!app.Environment.IsDevelopment())\n{\n    incomingRoute.RequireAuthorization();\n}\nelse\n{\n    app.Urls.Add(\"http:\u002F\u002Flocalhost:3978\");\n}\n\napp.Run();\n```\n\n## AgentApplication routing\n\n```csharp\nusing Microsoft.Agents.Builder;\nusing Microsoft.Agents.Builder.App;\nusing Microsoft.Agents.Builder.State;\nusing Microsoft.Agents.Core.Models;\nusing System;\nusing System.Threading;\nusing System.Threading.Tasks;\n\npublic sealed class MyAgent : AgentApplication\n{\n    public MyAgent(AgentApplicationOptions options) : base(options)\n    {\n        OnConversationUpdate(ConversationUpdateEvents.MembersAdded, WelcomeAsync);\n        OnActivity(ActivityTypes.Message, OnMessageAsync, rank: RouteRank.Last);\n        OnTurnError(OnTurnErrorAsync);\n    }\n\n    private static async Task WelcomeAsync(ITurnContext turnContext, ITurnState turnState, CancellationToken ct)\n    {\n        foreach (ChannelAccount member in turnContext.Activity.MembersAdded)\n        {\n            if (member.Id != turnContext.Activity.Recipient.Id)\n            {\n                await turnContext.SendActivityAsync(\n                    MessageFactory.Text(\"Welcome to the agent.\"),\n                    ct);\n            }\n        }\n    }\n\n    private static async Task OnMessageAsync(ITurnContext turnContext, ITurnState turnState, CancellationToken ct)\n    {\n        await turnContext.SendActivityAsync(\n            MessageFactory.Text($\"You said: {turnContext.Activity.Text}\"),\n            ct);\n    }\n\n    private static async Task OnTurnErrorAsync(\n        ITurnContext turnContext,\n        ITurnState turnState,\n        Exception exception,\n        CancellationToken ct)\n    {\n        await turnState.Conversation.DeleteStateAsync(turnContext, ct);\n\n        var endOfConversation = Activity.CreateEndOfConversationActivity();\n        endOfConversation.Code = EndOfConversationCodes.Error;\n        endOfConversation.Text = exception.Message;\n        await turnContext.SendActivityAsync(endOfConversation, ct);\n    }\n}\n```\n\n## Copilot Studio direct-to-engine client\n\n### DelegatingHandler for token acquisition (interactive flow)\n\n```csharp\nusing System.Net.Http.Headers;\nusing Microsoft.Agents.CopilotStudio.Client;\nusing Microsoft.Identity.Client;\n\ninternal sealed class AddTokenHandler : DelegatingHandler\n{\n    private readonly SampleConnectionSettings _settings;\n\n    public AddTokenHandler(SampleConnectionSettings settings) : base(new HttpClientHandler())\n    {\n        _settings = settings;\n    }\n\n    protected override async Task\u003CHttpResponseMessage> SendAsync(\n        HttpRequestMessage request,\n        CancellationToken cancellationToken)\n    {\n        if (request.Headers.Authorization is null)\n        {\n            string[] scopes = [CopilotClient.ScopeFromSettings(_settings)];\n\n            IPublicClientApplication app = PublicClientApplicationBuilder\n                .Create(_settings.AppClientId)\n                .WithAuthority(AadAuthorityAudience.AzureAdMyOrg)\n                .WithTenantId(_settings.TenantId)\n                .WithRedirectUri(\"http:\u002F\u002Flocalhost\")\n                .Build();\n\n            AuthenticationResult authResponse;\n            try\n            {\n                var account = (await app.GetAccountsAsync()).FirstOrDefault();\n                authResponse = await app.AcquireTokenSilent(scopes, account).ExecuteAsync(cancellationToken);\n            }\n            catch (MsalUiRequiredException)\n            {\n                authResponse = await app.AcquireTokenInteractive(scopes).ExecuteAsync(cancellationToken);\n            }\n\n            request.Headers.Authorization = new AuthenticationHeaderValue(\"Bearer\", authResponse.AccessToken);\n        }\n\n        return await base.SendAsync(request, cancellationToken);\n    }\n}\n```\n\n### Console host with CopilotClient\n\n```csharp\nusing Microsoft.Agents.CopilotStudio.Client;\nusing Microsoft.Extensions.DependencyInjection;\nusing Microsoft.Extensions.Hosting;\n\nHostApplicationBuilder builder = Host.CreateApplicationBuilder(args);\n\nvar settings = new SampleConnectionSettings(\n    builder.Configuration.GetSection(\"CopilotStudioClientSettings\"));\n\nbuilder.Services.AddHttpClient(\"mcs\").ConfigurePrimaryHttpMessageHandler(() =>\n{\n    return new AddTokenHandler(settings);\n});\n\nbuilder.Services\n    .AddSingleton(settings)\n    .AddTransient\u003CCopilotClient>(sp =>\n    {\n        var logger = sp.GetRequiredService\u003CILoggerFactory>().CreateLogger\u003CCopilotClient>();\n        return new CopilotClient(settings, sp.GetRequiredService\u003CIHttpClientFactory>(), logger, \"mcs\");\n    });\n\nIHost host = builder.Build();\nvar client = host.Services.GetRequiredService\u003CCopilotClient>();\n\nawait foreach (var activity in client.StartConversationAsync(emitStartConversationEvent: true))\n{\n    Console.WriteLine(activity.Type);\n}\n\nawait foreach (var activity in client.AskQuestionAsync(\"Hello!\", null))\n{\n    Console.WriteLine(activity.Type);\n}\n```\n\n## Best Practices\n\n1. Use AgentApplication subclasses to centralize routing and error handling.\n2. Use MemoryStorage only for development; use persisted storage in production.\n3. Enable TokenValidation in production and require authorization on \u002Fapi\u002Fmessages.\n4. Keep auth secrets in configuration providers (Key Vault, managed identity, env vars).\n5. Reuse HttpClient from IHttpClientFactory and cache MSAL tokens.\n6. Prefer async handlers and pass CancellationToken to SDK calls.\n\n## Reference Files\n\n| File | Contents |\n| --- | --- |\n| [references\u002Facceptance-criteria.md](references\u002Facceptance-criteria.md) | Import paths, hosting pipeline, Copilot Studio client patterns, anti-patterns |\n\n## Reference Links\n\n| Resource | URL |\n| --- | --- |\n| Microsoft 365 Agents SDK | https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fmicrosoft-365\u002Fagents-sdk\u002F |\n| AddAgent API | https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fdotnet\u002Fapi\u002Fmicrosoft.agents.hosting.aspnetcore.servicecollectionextensions.addagent?view=m365-agents-sdk |\n| AgentApplication API | https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fdotnet\u002Fapi\u002Fmicrosoft.agents.builder.app.agentapplication?view=m365-agents-sdk |\n| Auth configuration options | https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fmicrosoft-365\u002Fagents-sdk\u002Fmicrosoft-authentication-library-configuration-options |\n| Copilot Studio integration | https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fmicrosoft-365\u002Fagents-sdk\u002Fintegrate-with-mcs |\n| GitHub samples | https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagents |\n",{"name":5,"license":15,"metadata":44,"description":48},{"author":45,"package":46,"version":47},"Microsoft","Microsoft.Agents.Hosting.AspNetCore, Microsoft.Agents.Authentication.Msal, Microsoft.Agents.CopilotStudio.Client","1.0.0","Microsoft 365 Agents SDK for .NET. Build multichannel agents for Teams\u002FM365\u002FCopilot Studio with ASP.NET Core hosting, AgentApplication routing, and MSAL-based auth. Triggers: \"Microsoft 365 Agents SDK\", \"Microsoft.Agents\", \"AddAgentApplicationOptions\", \"AgentApplication\", \"AddAgentAspNetAuthentication\", \"Copilot Studio client\", \"IAgentHttpAdapter\".\n","main","5c95bcac4646c5aed06bd9aed5235cfc7985aafc","included\u002Fskills\u002Fby-category\u002Fcloud-azure-microsoft-sdks\u002Fofficial-vendor-reference\u002Fm365-agents-dotnet",0,"https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked","https:\u002F\u002Fgithub.com\u002Fstrmt7","2026-11-15 03:31:57",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add strmt7\u002Fai_skills_collection_benchmarked --skill m365-agents-dotnet",{"tool":62,"command":63},"bunx","bunx skills add strmt7\u002Fai_skills_collection_benchmarked --skill m365-agents-dotnet",{"tool":65,"command":66},"pnpm","pnpm dlx skills add strmt7\u002Fai_skills_collection_benchmarked --skill m365-agents-dotnet","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Fskills\u002Fby-category\u002Fcloud-azure-microsoft-sdks\u002Fofficial-vendor-reference\u002Fm365-agents-dotnet\u002FSKILL.md",true,[70],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Facceptance-criteria.md","REFERENCE","参考文档",4168,"https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Fskills\u002Fby-category\u002Fcloud-azure-microsoft-sdks\u002Fofficial-vendor-reference\u002Fm365-agents-dotnet\u002Freferences\u002Facceptance-criteria.md",[77,87,95,103,111,119],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":81,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":86},"01M7DW2581D1Y3DDP19WB9YDH5","makefile-generator-project-wrappers","Repair Python, Java and generic GNU Make wrappers that report false success, miss changed inputs or clean dependency environments. Preserve the actual project build system and test runner; use when adapting the collection's original Makefile generator.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Frepaired\u002Fskills\u002Fby-category\u002Fcoding-refactoring-repository-automation\u002Flatest-release-devops\u002Fmakefile-generator-project-wrappers\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Frepaired\u002Fskills\u002Fby-category\u002Fcoding-refactoring-repository-automation\u002Flatest-release-devops\u002Fmakefile-generator-project-wrappers\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":81,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":86},"01M7DW2211BEE12DKN7WH7W47N","makefile-generator-go","Author or repair GNU Make wrappers for Go modules, retaining Go's dependency discovery and build cache. Use when wrapper timestamps hide embedded-resource changes or build failures; preserve the project's existing build system and real test commands.","https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Frepaired\u002Fskills\u002Fby-category\u002Fcoding-refactoring-repository-automation\u002Flatest-release-devops\u002Fmakefile-generator-go\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Frepaired\u002Fskills\u002Fby-category\u002Fcoding-refactoring-repository-automation\u002Flatest-release-devops\u002Fmakefile-generator-go\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":86},"01M7DW1XG2S6E2Y8PHH4X8ZDJB","strategic-compact-resume","Checkpoint and resume long agent work when context pressure or a handoff could lose constraints, verified progress, or ownership of active jobs.","https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Fimproved\u002Fskills\u002Fstrategic-compact-resume\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Fimproved\u002Fskills\u002Fstrategic-compact-resume\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":81,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":86},"01M7DW1J8H38SF679MPPAY8HCF","makefile-generator-cpp","Author or repair GNU Make builds for C++ executables, preserving compiler\u002Flinker flags, header dependencies and real project test contracts. Use the optional scaffold for a flat src directory; retain an existing build system unless the task requires changing it.","https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Fimproved\u002Fskills\u002Fmakefile-generator-cpp\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Fimproved\u002Fskills\u002Fmakefile-generator-cpp\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":115,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":86},"01M7DW1EA5ZBYTMGPB4JG1F172","eval-harness-integrity","Design and verify matched coding-agent evaluations when comparing skills, prompts, models, or harnesses using executable acceptance checks and native result evidence.","https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Fimproved\u002Fskills\u002Feval-harness-integrity\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Fimproved\u002Fskills\u002Feval-harness-integrity\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":122,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":86},"01M7DW1BG1Y8KTWTXQ86VQXYRJ","eval-harness-evidence","https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Fimproved\u002Fskills\u002Feval-harness-evidence\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fstrmt7\u002Fai_skills_collection_benchmarked\u002Fblob\u002Fmain\u002Fincluded\u002Fimproved\u002Fskills\u002Feval-harness-evidence\u002FSKILL.md",[],[]]