style-analyzer

作者: microsoft

分析用户在Teams聊天和邮件中的沟通风格,构建可复用的模仿档案——问候语、语气、长度、标点……

npx skills add https://github.com/microsoft/cat-agent-skills --skill style-analyzer

Style Analyzer

Analyze the user's communication patterns across Teams and Outlook and build a style profile that other skills or automations (e.g. an out-of-office auto-responder) can use to write in the user's voice. Save the profile to memory so it's available across sessions.

Tool names. This skill refers to Microsoft 365 tools as m365_* and to memory as remember/recall tools. If your host exposes these under different names, map them to the equivalent capability.

Data collection

1. Gather sent emails (20–30 samples)

  • List the last ~30 emails in the Sent folder.
  • For emails with real body content (not just meeting accepts/declines), fetch the full text body.

2. Gather Teams chat messages

  • List recent chats (~50).
  • For each relevant chat (prioritize active 1:1 and group chats), fetch the last ~30 messages.
  • Filter to messages from the current user (match the from field to the user's display name).

3. Sample diversity

Aim for:

  • 10+ sent emails with body content
  • 50+ Teams messages across 20–25 different chats
  • A mix of 1:1, group, and meeting chats
  • Both internal and external conversations where available

Analysis framework

Analyze the collected messages across these dimensions:

  • A. Greetings — how they address people (first name, "Hi [Name]", "Hey", formal titles); patterns by relationship type (internal vs external).
  • B. Tone & formality — professional/casual/mixed; direct vs hedging; warmth indicators.
  • C. Message length — average sentence count; frequency of one-word replies; when they write longer messages.
  • D. Punctuation & grammar — consistency; common typos (e.g. lowercase "i"); emoji usage (none / occasional / frequent).
  • E. Sign-offs — email signature style; Teams message endings; closing phrases ("Thanks", "Regards", etc.).
  • F. Common phrases — frequently used expressions for agreement ("sounds good", "makes sense"), requests ("can you", "would you mind"), availability, and FYI/context-setting.
  • G. Technical communication — how they explain technical concepts; level of detail; hedging vs confidence.
  • H. Action patterns — how they delegate, loop others in, and schedule meetings.

Output

1. Display a summary

Present findings as a formatted table:

## Communication Style Profile for [Name]

| Dimension | Pattern |
|-----------|---------|
| Greetings | ... |
| Tone | ... |
| Length | ... |
| Emojis | ... |
| Sign-offs | ... |
| Technical | ... |

### Common phrases
- "..."
- "..."

### Quirks & notes
- ...

2. Save to memory

Store the style guide in memory. Use two entries to stay within any per-fact length limits:

  • Entry 1 — greetings, tone, brevity, punctuation, emojis.
  • Entry 2 — common phrases, delegation style, technical communication, quirks.

Tag both as a preference so they persist and can be recalled later.

3. Confirm storage

Tell the user:

  • The style profile has been saved to memory.
  • It can be recalled with a query like "writing style".
  • It's available to other assistants and automations that write in their voice.

Usage notes

  • Re-run periodically (e.g. quarterly) to keep the profile current.
  • Pairs well with an OOO / auto-responder skill that should mimic the user's voice.

Privacy

All analysis happens inside the user's own agent environment against their own Microsoft 365 data. No communication content is sent to any third party. The saved profile describes how the user writes, not what they wrote — do not store verbatim private message content in the profile.

来自 microsoft 的更多技能

oss-growth
microsoft
OSS增长黑客角色
agent-framework-azure-ai-py
microsoft
使用Microsoft Agent Framework Python SDK(agent-framework-azure-ai)构建Azure AI Foundry代理。在创建使用AzureAIAgentsProvider的持久化代理、使用托管工具(代码解释器、文件搜索、网络搜索)、集成MCP服务器、管理对话线程或实现流式响应时使用。涵盖函数工具、结构化输出和多工具代理。
development
airunway-aks-setup
microsoft
Set up AI Runway on AKS — from bare cluster to running model. Covers cluster verification, controller install, GPU assessment, provider setup, and first deployment. WHEN: "setup AI Runway", "onboard AKS cluster", "install AI Runway", "airunway setup", "deploy model to AKS", "GPU inference on AKS", "KAITO setup on AKS", "run LLM on AKS", "vLLM on AKS", "set up model serving on AKS", "AI Runway controller".
devops
appinsights-instrumentation
microsoft
使用Azure Application Insights对Web应用进行插桩的指南。提供遥测模式、SDK设置和配置参考。适用场景:如何对应用进行插桩、App Insights SDK、遥测模式、什么是App Insights、Application Insights指南、插桩示例、APM最佳实践。
devops
applicationinsights-web-ts
microsoft
使用Application Insights JavaScript SDK(@microsoft/applicationinsights-web)为浏览器/Web应用添加检测。用于真实用户监控(RUM)——页面视图、点击、AJAX/fetch依赖项、异常、自定义事件,以及与后端OpenTelemetry追踪关联的浏览器端GenAI代理追踪。涵盖SDK加载器脚本和npm设置、框架扩展(React、React Native、Angular)、点击分析、遥测初始化器,以及从浏览器发出的代理/工具/模型跨度所遵循的OTel GenAI语义约定。
devops
azure-ai-anomalydetector-java
microsoft
使用适用于 Java 的 Azure AI 异常检测器 SDK 构建异常检测应用程序。在实现单变量/多变量异常检测、时间序列分析或 AI 驱动的监控时使用。
development
azure-ai-language-conversations-py
microsoft
使用azure-ai-language-conversations Python SDK实现对话语言理解(CLU)。当使用ConversationAnalysisClient分析对话意图和实体、构建NLP功能或将语言理解集成到应用程序中时使用。
development
azure-ai-ml-py
microsoft
Azure Machine Learning SDK v2 for Python。用于机器学习工作区、作业、模型、数据集、计算资源和管道。 触发词:“azure-ai-ml”、“MLClient”、“工作区”、“模型注册表”、“训练作业”、“数据集”。
development