Skills

Add Teams

Add Microsoft Teams channel integration via Chat SDK.

Install

npx skills add nanocoai/nanoclaw --skill add-teams -g -a claude-code -y
Repository
nanocoai/nanoclaw31.1k
Category
Engineering
Updated
5d ago
License
MIT
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Add Microsoft Teams channel integration via Chat SDK.

Add Microsoft Teams Channel

Adds Microsoft Teams support via the Chat SDK bridge, interactive chat in team channels, group chats, and direct messages. NanoClaw doesn't ship channels in trunk, this skill copies the Teams adapter in from the channels branch.

The mechanical steps under Apply carry nc: directive fences: an agent reads the prose and applies them, and a parser can apply them deterministically from the same document. Every directive is idempotent, so the whole skill is safe to re-run; anything a parser can't apply falls back to the prose beside it.

Teams has no "paste a token" shortcut, a bot has to exist in Microsoft's cloud before it can receive a message. The Microsoft Teams CLI collapses that into one sign-in and one create command: it registers the Entra app, generates the client secret, registers a Teams-managed bot (through the Teams Developer Portal, no Azure subscription needed), uploads the app package, and hands back an install link. The old ~7-step Azure portal walk survives only as a fallback in Alternatives for tenants where the Developer Portal is blocked.

Apply

1. Copy the adapter and its registration test

Fetch the channels branch and copy the Teams adapter and its registration test into src/channels/ (overwrite, the branch is canonical):

src/channels/teams.ts
src/channels/teams-registration.test.ts

2. Register the adapter

Append the self-registration import to the channel barrel (skipped if the line is already present). This one line is the skill's only reach-in into core:

import './teams.js';

3. Install the adapter package

Pinned to an exact version, the supply-chain policy rejects ranges and latest:

@chat-adapter/teams@4.41.1

4. Build and validate

Read the whole SKILL.md on GitHub

More in Engineering