Agent skill · software engineering · sickn33

m365-agents-ts

Microsoft 365 Agents SDK for TypeScript/Node.js.

Why this skill is useful

Adds executable scripts and workflows for building enterprise agents with Microsoft 365, which are not commonly found in public documentation.

What it needs

Requires @microsoft/agents-activity, @microsoft/agents-copilotstudio-client, @microsoft/agents-hosting, @microsoft/agents-hosting-express installed locally. Requires azure account access. About 3k tokens when loaded. Last updated 2026-08-07. 44,571 stars on the source repository.

What this skill does

Supporting material availability This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files: <support-root>/references/acceptance-criteria.md Ask for the original supporting material or an existing installation before using a step that depends on these paths; this catalog does not identify a verified download source for them. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable. Microsoft 365 Agents SDK (TypeScript) Build enterprise agents for Microsoft 365, Teams, and Copilot Studio using the Microsoft 365 Agents SDK with Express hosting, AgentApplication routing, streaming responses, and Copilot Studio client integrations. Before implementation Use the microsoft-docs MCP to verify the latest API signatures for AgentApplication, startServer, and CopilotStudioClient. Confirm package versions on npm before wiring up samples or templates. Installation Environment Variables Core Workflow: Express-hosted AgentApplication Streaming responses with Azure OpenAI Invoke activity handling Copilot Studio client (Direct to Engine) Copilot Studio WebChat integration Best Practices 1. Use AgentApplication for routing and keep handlers focused on one responsibility. 2. Prefer streamingResponse for long-running completions and call endStream in finally blocks. 3. Keep secrets out of source code; load tokens from environment variables or secure stores. 4. Reuse CopilotStudioClient instances and cache tokens in your token provider. 5. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sickn33/m365-agents-ts

View the source on GitHub

Browse the @skills marketplace