sb-connect

sb-connect is a skill for Claude Code, Codex from stablebaseline/mcp. It costs 116 tokens per session (2,138 once invoked), scanned A, original, MIT.

A setup guide for connecting a Microsoft 365 mailbox (Outlook email) to an agent in Stable Baseline. It explains access levels, agent instructions, reply settings, and safe testing.

In plain words
What is it for?
Use it to connect an organisation mailbox, choose whether the agent can read, draft, or send mail, define its email duties, and test the result.
Why use it?
It removes uncertainty around which mailbox features are available and how to connect them without sending mail unexpectedly. It also explains the permissions needed before setup.

Skill for Claude CodeCodex

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

Good fit Use it to connect an organisation mailbox, choose whether the agent can read, draft, or send mail, define its email duties, and test the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stablebaseline/mcp/sb-connect
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 stablebaseline/mcp --skill sb-connect
Clone the repo
git clone --depth 1 https://github.com/stablebaseline/mcp

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 sb-connect

README.md
[![agentmods](https://agentmods.dev/badge/skills/stablebaseline/mcp/sb-connect/github.svg)](https://agentmods.dev/skills/stablebaseline/mcp/sb-connect)
Your own site
<a href="https://agentmods.dev/skills/stablebaseline/mcp/sb-connect"><img src="https://agentmods.dev/badge/skills/stablebaseline/mcp/sb-connect/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 sb-connect

Your own site · 80×15
<a href="https://agentmods.dev/skills/stablebaseline/mcp/sb-connect"><img src="https://agentmods.dev/badge/skills/stablebaseline/mcp/sb-connect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,138 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.00116 $0.02138
Opus 5.5 $0.00046 $0.00855
Sonnet 5.5 $0.00023 $0.00428
Haiku 4.5 $0.00012 $0.00214

Measured 2d ago against content hash dff0112a6c4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sb-connect 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 2d 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.

microsoft/cowork-plugin/skills/sb-connect/SKILL.md · 178 lines

How it starts

The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Stable Baseline: connect a mailbox to an agent

What this skill does

Walks the user through connecting a Microsoft 365 mailbox to Stable Baseline and giving an agent a duty that works on the mail, drafts that duty with them, and checks the result. Today the one connector ready to use is Microsoft 365 mail (Outlook). Microsoft Teams, Slack, Gmail, WhatsApp, Dynamics 365 and Power Platform, other MCP servers and REST APIs are marked coming soon. Never promise them.

Connecting and setting up duties happen in the Stable Baseline web app. The mailbox sign-in is the user's own and never passes through this conversation.

IDs are never hardcoded. Resolve the agent's id at runtime from listAgents in this conversation.

1. What is needed first

  • Agents must be on for the organisation. Call listAgents. If the tool is missing, an organisation owner or admin has to switch agents on; connectors only appear once agents are on.
  • An agent to hold the duty. Pick it from listAgents. The user needs myRole owner or manage on it. If none fits, set one up first with sb-agent.
  • Who connects. A mailbox shared with the organisation is connected by an owner or admin. A member can connect a personal mailbox, which agents use only for work that member starts or duties they own.

2. Connect the mailbox

  • Shared: Organisation settings, Connected apps, Connectors, then Add connection.
  • Personal: Account settings, Connected apps, Connections.
  1. Choose Microsoft 365 mail.
  2. Who uses it: shared with the organisation, where admins choose which agents and people may use it, or personal.
  3. What it can do: read only; draft, which can draft replies but never sends anything outside; or send, which can also send outside the organisation, with a person approving each message first.
  4. Sign in with Microsoft as the mailbox the connection will act as.
  5. Stable Baseline checks the connection and says who it acts as.

Owners and admins can tighten every connection on the Rules tab: whether agents may use a connector, the most it may do, whether shared connections and work when nobody is around are allowed, and actions that always need a person's approval. A rule only ever makes things stricter.

Read the full file on GitHub · 178 lines

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. 2d ago Changed dff0112a6c4e
  2. 20d ago Changed · +2 lines d319af0bca45
  3. 1mo ago First seen · 176 lines · 116 tokens per session scan A 1eab8b0ce680

Subscribe to this mod's changes

sb-connect is a skill published in the GitHub repository stablebaseline/mcp (0 stars, last pushed 3d ago), licensed MIT. It adds 116 tokens to every session and 2,138 once invoked, about $0.0005 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-14.

Related

sb-connect compared with skills from other repositories

sb-connect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sb-connectstablebaseline/mcpSkill03d agoMITA116Claude Code, Codex
orbit-notionnexu-io/open-designSkill110ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill118ktodayMITA30Claude Code, Codex
rowboat-spacesrowboatlabs/rowboatSkill18ktodayApache-2.0A60Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20k9d agoMITA184Claude Code
pinchtab-mcppinchtab/pinchtabSkill11k3d agoMITA52Claude Code, Codex
feishuHmbown/CodeWhaleSkill41k5d agoMITA33Claude Code, Codex