Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

m365-agents-dotnet

Skill by sickn33

Microsoft 365 Agents SDK for .NET guides developers building multichannel agents for Teams, Microsoft 365 and Copilot Studio. It covers ASP.NET Core hosting, AgentApplication routing and MSAL-based authentication.

  • Score 89
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install m365-agents-dotnet

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/m365-agents-dotnet ~/.claude/skills/m365-agents-dotnet

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install m365-agents-dotnet in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant guidance for building agents with the Microsoft.Agents SDK in .NET. It shows package installation, an appsettings.json template, an ASP.NET Core host that serves /api/messages, and a sample agent class. It also includes a Copilot Studio client example that acquires tokens with MSAL.

The guidance covers subclassing AgentApplication to handle welcome, message and turn error events. It advises enabling token validation in production, requiring authorization on the messages endpoint, and keeping secrets in configuration providers. It is aimed at .NET developers building enterprise agents. The source says one referenced file is not bundled and must be supplied separately.

Written from the project's SKILL.md and checked against it.

What it can do

  • ASP.NET Core agent hostingSets up an agent host with AddAgent, AddAgentAspNetAuthentication and a POST /api/messages route.
  • AgentApplication routingRoutes members-added, message and turn error events inside an AgentApplication subclass.
  • MSAL authenticationShows token acquisition with MSAL, trying silent acquisition before interactive sign-in.
  • Copilot Studio clientShows how to start a conversation and ask questions through CopilotClient.
  • Configuration templateProvides an appsettings.json layout for token validation, connections and Copilot Studio settings.
  • Console host exampleShows a console app that wires CopilotClient through dependency injection.

What you need

  • A .NET development environment (dotnet CLI)
  • Microsoft Entra app registration with ClientId, TenantId and ClientSecret
  • Copilot Studio environment settings for the direct-to-engine client
  • Microsoft.Agents NuGet packages

Try asking

  • Create an ASP.NET Core host with a POST /api/messages route using Microsoft.Agents
  • Write an AgentApplication subclass that handles welcome and message events in C#
  • Build a console app with CopilotClient that asks Copilot Studio a question

Good to know

  • The reference file references/acceptance-criteria.md is listed as a dependency but is not bundled.
  • Code fragments are not a full buildable project, according to the source.
  • The source says MemoryStorage is for development only.
  • Interactive login is intended for user-facing contexts, not unattended server requests.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/m365-agents-dotnet/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md11 KB

Alternatives to m365-agents-dotnet

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

m365-agents-dotnet: common questions

Does this skill include all of its reference files?

No. The source says references/acceptance-criteria.md is an external prerequisite that is not bundled. It should not be replaced by an unrelated file with the same name.

Should the development bypass be exposed publicly?

The source says the development bypass must remain loopback-only and must never be a publicly reachable unauthenticated endpoint.

What storage should be used in production?

The source says MemoryStorage is only for development and that persisted storage should be used in production.

How do I install m365-agents-dotnet?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is m365-agents-dotnet free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is m365-agents-dotnet safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to m365-agents-dotnet?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

m365-agents-dotnet Install

Add to stack

Loading.