AGENT SKILL

teams-reply-drafting

Draft Microsoft Teams replies from available context. Use when the user wants help finding messages that likely need a response and preparing reply drafts.

License 许可
MIT
最近更新
2026-07-19
Stars
★ 1
Forks
1

01 前言 Front Matter

name
teams-reply-drafting
description
Draft Microsoft Teams replies from available context. Use when the user wants help finding messages that likely need a response and preparing reply drafts.

02 资源文件 1

03 SKILL.md 正文

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

  • If the user provided channels, threads, chats, people, or a time window, use that scope instead of the default fallback.
  • If no source scope was provided, treat this as best-effort reply drafting from available Teams signals rather than an exact "messages needing reply" detector.
  • Use draft replies when the user asked for drafting or review, and send when the requested action is to post or reply now.

Workflow

  1. If the user gave explicit scope, use the cheapest matching path first:
    • specific message or thread path: fetch, then reply_to_message only if the user wants to send
    • named channel: resolve_team, resolve_channel, then list_channel_messages
    • named chat or DM: resolve_chat, then list_chat_messages
  2. If no explicit scope was provided, start with:
    • list_chats(unread_only=True) for unread direct conversations and group chats
    • list_recent_threads for recent channel or chat activity
  3. Expand only the conversations needed to answer accurately:
    • unread chats first
    • then recent messages containing direct questions or clear asks
    • then recent mentions detected from message-history reads
  4. 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.
  5. If the context is incomplete, write the smallest useful clarifying reply instead of guessing.
  6. 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

  • Answer the question first, then add clarification or next steps only when the context supports it.
  • Keep in-thread replies short unless the thread clearly requires a longer answer.
  • Preserve thread-specific facts, dates, links, and owners.
  • If there are multiple plausible reply targets, stop and ask which conversation the user means before drafting anything send-ready.

Formatting

Format multiple drafts as:

*Teams Reply Drafts — <scope>*

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

*<chat / channel / thread info>*
Draft:
<draft text>
  • Keep each item minimal: a short header plus the draft text.
  • If the user asked for a single reply, return only that item.
  • If nothing likely needing a reply is found, say so directly and explain the scope checked.

04 同仓库更多 Skills

zfifteen
zfifteen/skills-catalog

Zotero

Use Zotero Desktop from Codex to enable/probe the local API, search a local Zotero library, list items/collections/tags, export BibTeX, insert citation keys into LaTeX or Markdown drafts, read indexed full text when requested, and import BibTeX/RIS records into Zotero through the connector server. Use when the user mentions Zotero, citations, references.bib, BibTeX export, local Zotero API, localhost:23119, or adding citations from a Zotero library.

★ 1
zfifteen
zfifteen/skills-catalog

zoom-apps-sdk

Use when using Apps SDK.

★ 1
zfifteen
zfifteen/skills-catalog

youtube

Obtain accurate, timestamped YouTube video transcripts (preferring manual captions over auto-generated) as the primary deliverable, then derive summaries, key claims, or notes from that transcript. Use when the user provides a YouTube URL (or video ID) and wants the transcript, a faithful summary, key claims with attribution, timestamped notes, or "what does this video actually say". The skill is transcript-first: never substitute metadata, title, description, or search snippets for the spoken content. Triggers: "youtube transcript", "get the transcript of this video", "summarize this youtube video", "what did they say in https://youtube.com/...", "key claims from this talk".

★ 1
zfifteen
zfifteen/skills-catalog

yeet

Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.

★ 1
zfifteen
zfifteen/skills-catalog

x-post-creator

Create X-ready post threads and co-located story packages from the active conversation or referenced project material. Use when the user says turn this into an X-post, /x-post, make this into an X thread, or wants plain-language social posts with supporting images saved to docs/x-posts/[story-name]/.

★ 1
zfifteen
zfifteen/skills-catalog

x-api

Search, read, and write X posts through the local X API MCP server (the same backend used by the Codex x-api skill). Use for searching X/x.com, reading threads and replies, creating lists, staging/publishing posts for @alltheputs, finding high-visibility reply targets for research outreach, ingesting public context, or any request that mentions /x-api or "search X".

★ 1