xxxxDev

Chatwatch — DevOps skill for Claude Code

DevOps community

Let AI agents read and answer your Microsoft Teams chats through the Teams web page you're already signed in to.

How to install Chatwatch

This entry records only its repository, not the path inside it, so there is no exact command to give. Open xxxxDev/chatwatch and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Chatwatch does

Let AI agents read and answer your Microsoft Teams chats through the Teams web page you're already signed in to. MCP tools and push handlers; no Azure app, no admin consent.

Alternatives in DevOps

  • Open Agent Email — Open-source email infrastructure for AI agents: secure inboxes, REST and MCP APIs, SMTP, human approval workfl 2.1k ★
  • Chat — chat web app for teams, sass with user management and ratelimit, support chatgpt(openai & azure), claude, gemi 568 ★
  • Xora — Learn how to build and deploy a SaaS landing page with modern UI and mobile-first principles while strengtheni 449 ★

README

chatwatch

English | [繁體中文](README.zh-TW.md)

Let AI agents read and answer your Microsoft Teams chats, through the Teams web page you are already signed in to. No Azure app registration, no admin consent, no bot account: chatwatch drives a Chrome tab with your own Teams session.

  • Pull (MCP): any MCP client (Claude Code, Codex, Cursor, …) gets tools to list chats, read messages, wait for new ones, fetch attachments and send.
  • Push (handlers): each new batch of messages in a chat goes to a command or URL you choose; its answer is sent back to the chat.
  • You stay in control: every chat has a send mode. draft (the default) keeps what an agent writes on the local page until you send or discard it; auto sends at once; off refuses.
  • Nothing is marked read by watching. New messages are read through Teams' own chat service API from inside the tab, so chats stay unread. Sending opens the chat, which marks it read (Teams does that; it cannot be avoided).
  • See Teams on the page. A live view of chatwatch's Chrome, also when it runs without a window: click, scroll and type in it to sign in again when Teams asks.
  • The Teams token never leaves the tab. It is used inside the page and is never returned to Python, printed or saved.
  • Python 3.9+ standard library only. Chrome, Chromium or Edge.

![The Teams screen on chatwatch's page, with made-up chats](docs/images/screen.png)

*The Teams tab, seen on chatwatch's local page (made-up chats).*

How it fits together

flowchart LR
    agent["Your agent
Claude Code, Codex,
any MCP client"] handler["Your handler
a command or URL"] mcp["chatwatch mcp"] serve["chatwatch serve"] mode{"Send mode
of the chat"} page["Local page
you send or discard"] tab["Teams tab in
chatwatch's Chrome"] teams[("Microsoft Teams")] agent -- "MCP tools" --> mcp mcp -- "local API + key" --> serve serve -- "new messages" --> handler