teams-message-formatting

teams-message-formatting is a skill for Codex from ccheney/robust-skills. It costs 48 tokens per session (637 once invoked), scanned A, original, MIT.

A formatting guide for writing messages in Microsoft Teams, Microsoft's workplace chat and collaboration service. It explains the different text rules used by Teams bots, cards, webhooks, and Graph API messages.

In plain words
What is it for?
Formatting bot replies, Adaptive Cards, webhook messages, Graph chat messages, links, mentions, emoji, code blocks, and dates.
Why use it?
Teams accepts several incompatible formatting systems, so text written for one message type may render incorrectly in another. The skill helps select the right syntax for the message surface.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Formatting bot replies, Adaptive Cards, webhook messages, Graph chat messages, links, mentions, emoji, code blocks, and dates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ccheney/robust-skills/teams-message-formatting
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 ccheney/robust-skills --skill teams-message-formatting
Clone the repo
git clone --depth 1 https://github.com/ccheney/robust-skills

Made for: 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-message-formatting

README.md
[![agentmods](https://agentmods.dev/badge/skills/ccheney/robust-skills/teams-message-formatting/github.svg)](https://agentmods.dev/skills/ccheney/robust-skills/teams-message-formatting)
Your own site
<a href="https://agentmods.dev/skills/ccheney/robust-skills/teams-message-formatting"><img src="https://agentmods.dev/badge/skills/ccheney/robust-skills/teams-message-formatting/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-message-formatting

Your own site · 80×15
<a href="https://agentmods.dev/skills/ccheney/robust-skills/teams-message-formatting"><img src="https://agentmods.dev/badge/skills/ccheney/robust-skills/teams-message-formatting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 637 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00048 $0.00637
Opus 5.5 $0.00019 $0.00255
Sonnet 5.5 $0.00010 $0.00127
Haiku 4.5 $0.00005 $0.00064

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

Security

Grade A, and why

teams-message-formatting 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 2mo 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.

skills/teams-message-formatting/SKILL.md · 44 lines

How it starts

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

Teams Message Formatting

Format supplied text for the Teams surface that receives it. The user's explicit instructions take precedence over this skill's guidelines.

Identify the text system

Use the content, destination field, and existing payload or SDK as input. Infer the text system from that context; ask for the destination when the missing choice changes syntax or mention metadata.

Surface Text format Mention metadata
Bot activity text Bot Markdown or textFormat: "xml" subset Activity entities
Adaptive Card TextBlock / facts Limited Markdown, no HTML Root msteams.entities
Graph chatMessage.body text or Teams-restricted html Body <at id="N"> plus matching mentions entry
Hero/thumbnail card text XML/HTML subset Surface-specific; titles/subtitles are unformatted

Slack mrkdwn is not Teams markup. Adaptive Card Markdown does not support headings, tables, images, code fences, or blockquotes; use supported card elements when those structures are requested. Text-only content does not require a card.

Preserve text and identity

  • Escape for the receiving syntax, then serialize JSON. Do not concatenate unescaped user text into HTML/XML or mention markup.
  • Keep visible mention text and its metadata synchronized. Use supplied or resolved IDs; display names are not identity evidence.
  • Respect client differences, such as bot-list support on mobile. Do not change a transport just to fix punctuation.
  • For a Graph payload, distinguish ordinary delegated sends from migration permissions. An app-only notification requires a supported delivery path; explain a missing capability without pretending the payload creates it.

Return the requested text, corrected string/object, or integration patch, preserving meaning and the known surface. Identify any missing runtime IDs or unverified client behavior. Posting is separate from formatting and requires the user's request or existing authorization.

Read the full file on GitHub · 44 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed · -118 lines · -120 tokens per session af43cf7ba069
  2. 3mo ago First seen · 162 lines · 168 tokens per session scan A bc32b4cd27e0

Subscribe to this mod's changes

teams-message-formatting is a skill published in the GitHub repository ccheney/robust-skills (62 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 637 once invoked, about $0.0002 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-08-30.

Related

teams-message-formatting compared with skills from other repositories

teams-message-formatting next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
teams-message-formattingccheney/robust-skillsSkill622mo agoMITA48Codex
workflow-branch-synclugassawan/swe-workbenchSkill32d agoMITA55Claude Code
workflow-cleanup-mergedlugassawan/swe-workbenchSkill32d agoMITA47Claude Code
workflow-pr-reviewlugassawan/swe-workbenchSkill32d agoMITA106Claude Code
workflow-address-feedbacklugassawan/swe-workbenchSkill32d agoMITA85Claude Code
workflow-commit-and-prlugassawan/swe-workbenchSkill32d agoMITA68Claude Code
workflow-developmentlugassawan/swe-workbenchSkill32d agoMITA181Claude Code