teams-notifications

teams-notifications is a skill for Claude Code, Codex from monkilabs/opencastle. It costs 37 tokens per session (536 once invoked), scanned A, original, MIT.

An integration that lets coding agents communicate with people through Microsoft Teams, a workplace chat and collaboration service. It can work with chats, channels, messages, members, settings, and approval replies.

In plain words
What is it for?
Use it to post progress updates, start approval requests, read replies in a thread, and work with Teams chats and channels.
Why use it?
It gives teams a way to receive agent updates and approve or reject actions without leaving Teams. Thread replies provide a record of the human response.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to post progress updates, start approval requests, read replies in a thread, and work with Teams chats and channels.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/monkilabs/opencastle/teams-notifications
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add monkilabs/opencastle --skill teams-notifications
Clone the repo
git clone --depth 1 https://github.com/monkilabs/opencastle

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for teams-notifications

README.md
[![agentmods](https://agentmods.dev/badge/skills/monkilabs/opencastle/teams-notifications/github.svg)](https://agentmods.dev/skills/monkilabs/opencastle/teams-notifications)
Your own site
<a href="https://agentmods.dev/skills/monkilabs/opencastle/teams-notifications"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/teams-notifications/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for teams-notifications

Your own site · 80×15
<a href="https://agentmods.dev/skills/monkilabs/opencastle/teams-notifications"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/teams-notifications.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 536 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00536
Opus 5.5 $0.00015 $0.00214
Sonnet 5.5 $0.00007 $0.00107
Haiku 4.5 $0.00004 $0.00054

Measured 1mo ago against content hash 483b5350d11e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

teams-notifications scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/orchestrator/plugins/teams/skills/teams-notifications/SKILL.md · 70 lines

What it actually says

Teams Notifications

MCP Server

URL: https://mcp.microsoft365.com/mcp. Auth: OAuth 2.0 (Azure AD, scopes: Chat.ReadWrite, ChannelMessage.Send).

MCP Tools

Covers chats, messages, channels, members, and settings.

Example MCP calls

Post a progress update:

// tool: teams_messages_create
{ "channel_id": "channel-xyz", "body": "🔄 TAS-42 — In progress — implementing unit tests\nFiles: 3 (PriceFilter.tsx, test, index)" }

Read replies in thread:

// tool: teams_messages_list_replies
{ "channel_id": "channel-xyz", "thread_id": "thread-abc", "limit": 50 }

Human-in-the-Loop Approval

  1. Post approval request — verify the response confirms message_id:
// tool: teams_messages_create
{ "channel_id": "channel-xyz", "body": "⏳ Approval Required\nTask: TAS-42 — Run migration on production\nReply: Approve or Reject", "threading": { "start_thread": true } }
// → { "message_id": "msg-123", "thread_id": "thread-abc" }

If post fails: retry once; if still failing, fall back to asking in chat only.

  1. Poll for response (5s interval, 5 min timeout):
const replies = await teams_messages_list_replies({ channel_id: channelId, thread_id: threadId, limit: 50 });
for (const r of replies || []) {
  if (/\b(approve|yes)\b/i.test(r.body)) return 'approved';
  if (/\b(reject|no)\b/i.test(r.body)) return 'rejected';
}
// Retry after 5s; timeout after 5 min → post escalation message
  1. Acknowledge — Post confirmation of the action taken and close the thread.

Channel & Chat Conventions

Threading Rules

  • Always reply in threads; one thread per task; include tracker issue ID in every message.

Message Formatting

Adaptive Cards and advanced payloads

Use Adaptive Cards when structured inputs or buttons are required; otherwise post a simple threaded message.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -2 lines · -4 tokens per session 483b5350d11e
  2. 1mo ago First seen · 72 lines · 41 tokens per session scan A 039501777365

Subscribe to this mod's changes

teams-notifications is a skill published in the GitHub repository monkilabs/opencastle (82 stars, last pushed 10d ago), licensed MIT. It adds 37 tokens to every session and 536 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-04.

Related

teams-notifications compared with skills from other repositories

teams-notifications next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
teams-notificationsmonkilabs/opencastleSkill8210d agoMITA37Claude Code, Codex
rowboat-spacesrowboatlabs/rowboatSkill18ktodayApache-2.0A60Claude Code, Codex
manage-titledongshuyan/compass-skillsSkill775yesterdayMITA61Claude Code, Codex
pause-and-resumedongshuyan/compass-skillsSkill775yesterdayMITA63Claude Code, Codex
tdoc-orchestratorrojim666/SztuCodeSkill11019d agoMITA157Claude Code, Codex
tencent-docsrojim666/SztuCodeSkill11019d agoMITA273Claude Code, Codex
tencent-saas-docsrojim666/SztuCodeSkill11019d agoMITA271Claude Code, Codex