Teams reply drafting

From fanfan-de/anybox · View interactive version

Teams reply drafting is an AI agent skill from the GitHub repository fanfan-de/anybox. Draft Microsoft Teams replies from available context. Use when the user wants help finding messages that likely need a response and preparing reply drafts.

How to use this skill

Skill file

Teams Reply Drafting

Use this skill to identify Teams messages that likely need a reply and produce draft responses grounded in the available conversation context.

Related Skills

| Workflow | Skill |

| --- | --- |

| Refine or send the final Teams text | ../teams-messages/SKILL.md |

| Create Microsoft Planner tasks instead of replying in Teams | ../teams-planner-task-management/SKILL.md |

Start Here

Workflow

  1. If the user gave explicit scope, use the cheapest matching path first:
  1. If no explicit scope was provided, start with:
  1. Expand only the conversations needed to answer accurately:
  1. To detect recent mentions, get the caller profile and match TeamsMessageResult.mentions against the caller's user ID from direct message-history reads. Do not rely on Teams search hits for mention detection.
  2. If the context is incomplete, write the smallest useful clarifying reply instead of guessing.
  3. If a message contains a follow-up but no reply is needed, say that directly. If the user wants it tracked, route the follow-up to the Planner skill instead of drafting a performative Teams reply.

Drafting Rules

Formatting

Format multiple drafts as:

*Teams Reply Drafts — <scope>*

*<chat / channel / thread info>*
Draft:
<draft text>

*<chat / channel / thread info>*
Draft:
<draft text>
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.