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
開源增長駭客角色
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
在AKS上設定AI Runway——從裸叢集到執行模型。涵蓋叢集驗證、控制器安裝、GPU評估、供應商設定及首次部署。時機:「設定AI Runway」、「上線AKS叢集」、「安裝AI Runway」、「airunway設定」、「部署模型至AKS」、「在AKS上進行GPU推論」、「在AKS上設定KAITO」、「在AKS上執行LLM」、「在AKS上使用vLLM」、「在AKS上設定模型服務」、「AI Runway控制器」。
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)、點擊分析、遙測初始化器,以及從瀏覽器發出的代理/工具/模型span的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」、「workspace」、「model registry」、「training jobs」、「datasets」。
development