agent-browser
Browser automation using Vercel's agent-browser CLI. Use when you need to interact with web pages, fill forms, take screenshots,…
Connect Microsoft Teams for cross-channel context awareness. Use when the user says 'connect Teams', 'hook up Microsoft'. Not for Google email/calendar; use `google-workspace-setup`.
Claude Code
$ npx -y skills add davekilleen/Dex --skill ms-teams-setup --agent claude-code
Codex
$ npx skills add davekilleen/Dex --skill ms-teams-setup -a codex -y
Cursor
$ npx skills add davekilleen/Dex --skill ms-teams-setup -a cursor -y
Gemini CLI
$ npx skills add davekilleen/Dex --skill ms-teams-setup -a gemini-cli -y
GitHub Copilot
$ npx skills add davekilleen/Dex --skill ms-teams-setup -a github-copilot -y
OpenCode
$ npx skills add davekilleen/Dex --skill ms-teams-setup -a opencode -y
Windsurf
$ npx skills add davekilleen/Dex --skill ms-teams-setup -a windsurf -y
name: ms-teams-setup
description: "Connect Microsoft Teams for cross-channel context awareness. Use when the user says 'connect Teams', 'hook up Microsoft'. Not for Google email/calendar; use `google-workspace-setup`."
integration:
id: teams
name: Microsoft Teams
mcp_server: teams-mcp
auth: oauth2
enhances:
- skill: daily-plan
capability: "Teams digest alongside Slack — unread chats, mentions, and priority channel activity"
- skill: meeting-prep
capability: "Teams conversation context with attendees, recent threads, and channel decisions"
new_capabilities:
- name: teams-digest
trigger: "Automatically included in /daily-plan when Teams is connected"
- name: teams-person-context
trigger: "Person pages enriched with latest Teams conversations"
sync:
direction: read
entities: messages, channels, presenceConnect your Microsoft Teams workspace to Dex so your daily plans, meeting prep, and people pages get richer context from Teams conversations.
Once connected, Dex can:
---
1. Try calling `teams_health_check()` from the Teams MCP server 2. If healthy and responding, skip to **Step 5** (Configure Channels) 3. If the tool is not available or errors, continue to Step 2
Say:
**Let's connect Microsoft Teams to Dex.** This uses an OAuth 2.0 flow through Microsoft Entra ID (Azure AD) to securely access your Teams messages and channels. **What you'll need:** - Your Microsoft 365 / Teams account credentials - About 5 minutes (may need admin consent depending on your org) **Ready to go?**
Wait for confirmation.
Check the user's MCP configuration. If `teams-mcp` is not listed:
1. Explain what we're adding:
I need to add the Teams connector to your Dex configuration. This adds a bridge that lets Dex read your Teams messages and channels through the Microsoft Graph API using OAuth 2.0.
2. Add to the user's `.mcp.json` (use the `/dex-add-mcp` skill or manual edit):
{
"teams-mcp": {
"command": "npx",
"args": ["-y", "teams-mcp"],
"env": {
"TEAMS_TENANT_ID": "<tenant-id>",
"TEAMS_CLIENT_ID": "<client-id>"
}
}
}3. Tell the user the MCP server needs to restart for changes to take effect.
1. Guide the user through the OAuth flow:
**Microsoft Entra ID Authentication** You'll need to authorize Dex to read your Teams data. This opens a browser window where you sign in with your Microsoft account. **Steps:** 1. I'll start the auth flow -- a browser window will open 2. Sign in with your Microsoft 365 account 3. Grant the requested permissions (read messages, channels, presence) 4. The token will be saved locally on your machine **Starting now...**
2. Run the Teams MCP auth command (e.g., `teams_authenticate()`) 3. Verify with `teams_health_check()`
**If health check succeeds:**
Connected! I can see your Teams tenant.
**If it fails -- admin consent required:**
Hmm, your organization requires admin consent for this app. **Options:** 1. **Ask your IT admin** to approve the app in Entra ID (Azure AD) - App permissions needed: Chat.Read, ChannelMessage.Read, User.Read, Presence.Read 2. **Use a personal account** if this is for personal Teams 3. **Skip for now** and come back after admin approval Which would you prefer?
**If it fails -- other error:**
That didn't work. A few things to check: 1. **Are you signed into the right Microsoft account?** 2. **Is your organization using Microsoft 365?** (Teams needs an M365 license) 3. **Try signing out of all Microsoft accounts** in your browser, then retry Want to retry?
Retry up to 2 times, then offer to skip and come back later.
Once connected, ask:
**Which Teams channels matter most for your work?** I'll prioritize these when building your daily digest and meeting prep. Some common choices: - Your 1:1 chats (always included automatically) - Team channels (e.g., General, your department) - Project-specific channels - Customer or deal channels **Which channels should I watch?** (Just list names, or say "show me what's available")
If they say "show me what's available":
Save their choices for the config file.
Run a quick test to confirm everything works:
1. `teams_list_chats(limit=3)` -- verify chats load 2. `teams_search_messages(query="test", count=1)` -- verify search works
Show a brief summary:
**Quick test results:** - Chats: Found [N] recent conversations - Search: Working Everything looks good!
If either fails, troubleshoot before proceeding.
Write to `System/integrations/config.yaml` -- update the teams section:
teams:
enabled: true
configured_at: YYYY-MM-DD
priority_channels:
- channel-name-1
- channel-name-2
features:
teams_digest: true
meeting_prep: true
person_enrichment: trueIf the file already exists, only update the `team
One personal Dex, built around your work. Keep your priorities, people, meeting notes and tasks in a folder you own. Work with Dex through your AI app to plan the day, prepare for a meeting or follow through on a promise.
Browser automation using Vercel's agent-browser CLI. Use when you need to interact with web pages, fill forms, take screenshots,…
Build applications where agents are first-class citizens. Use this skill when designing autonomous agents, creating MCP tools,…
This skill should be used when writing Ruby gems following Andrew Kane's proven patterns and philosophy. It applies when creating…
This skill should be used before implementing features, building components, or making changes. It guides exploring user intent,…
Capture solved problems as categorized documentation with YAML frontmatter for fast lookup
Expert guidance for creating, writing, and refining Claude Code Skills. Use when working with SKILL.md files, authoring new…
Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…