channel-audit

작성자: microsoft

Teams 채널을 감사하여 비활성 채널, 참여도가 낮은 대화, 최근 게시물이 없는 채널을 식별하고 정리 조치를 추천합니다.

npx skills add https://github.com/microsoft/work-iq --skill channel-audit

Channel Audit

Audit all Microsoft Teams channels across your teams to assess activity levels and engagement health. Identifies inactive channels, stale conversations, and low‑engagement spaces — then presents a prioritized audit report with recommended cleanup actions such as archiving, merging, or reviving channels.

When to Use

  • "Audit my Teams channels"
  • "Which channels are inactive?"
  • "Find dead channels across my teams"
  • "Teams channel cleanup report"
  • "Show me channels with no posts in the last month"
  • "Which channels should we archive?"
  • "Channel health check for the Engineering team"

Instructions

Step 1: Identify the User

workiq-ask (
  question: "What is my profile information including display name, email, and time zone?"
)

Extract displayName, email, and timeZone for date calculations.

Step 2: Discover All Teams and Channels

List every team and their channels:

workiq-ask (
  question: "List all Microsoft Teams teams I belong to. For each team, list all channels including the channel name, description, type (standard, private, shared), and creation date."
)

Build an inventory of every channel:

  • Team name
  • Channel name, description
  • Channel type (standard, private, shared)
  • Created date (from channel metadata)

If the response is too large or truncated, query teams individually:

workiq-ask (
  question: "List all channels in the '<team name>' team including channel name, description, type, and creation date."
)

Step 3: Assess Channel Activity

For each channel (or batch of channels within a team), pull recent messages to measure activity:

workiq-ask (
  question: "Show me the 10 most recent messages in the '<channel name>' channel of the '<team name>' team. For each message include the sender, date, content summary, reply count, and whether it was from a bot or connector."
)

For each channel, calculate:

  • Last message date — when the most recent message was posted
  • Days since last post — time delta from today
  • Message count (in the sample) — indicator of volume
  • Unique authors — how many distinct people posted
  • Reply depth — are messages getting replies or going unanswered?
  • Content type — are posts substantive or just bot notifications?

Step 4: Get Channel Membership Data

For each channel (especially those flagged as low‑activity):

workiq-ask (
  question: "How many members are in the '<channel name>' channel of the '<team name>' team? List the member count."
)

Record:

  • Member count — total members in the channel
  • Activity ratio — unique posters vs. total members (engagement metric)

Step 5: Classify Channel Health

Categorize each channel based on activity metrics:

🟢 Active — Messages within the last 7 days, multiple authors, replies present

  • Engagement: healthy, no action needed

🟡 Slow — Last message 7–30 days ago, limited authors

  • Recommendation: monitor, consider consolidating

🟠 Stale — Last message 30–90 days ago, very few participants

  • Recommendation: notify channel owners, consider archiving

🔴 Dead — No messages in 90+ days

  • Recommendation: archive or delete

⚪ Bot‑Only — Recent messages, but only from automated bots or connectors

  • Recommendation: review if the channel serves a purpose beyond bot notifications

Step 6: Identify Potential Duplicates

Compare channel names and descriptions across teams to find potential duplicates:

  • Channels with similar names (e.g., "#design" and "#design-team")
  • Channels with overlapping membership and similar topics
  • Flag these as merge candidates

Step 7: Compile the Audit Report

Output Format

🔍 CHANNEL AUDIT REPORT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📅 Audit date: {date}
👤 Audited by: {displayName}
🏢 Teams scanned: {N}  ·  📢 Channels audited: {N}

📊 HEALTH OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢 Active:    {N} channels  ({percentage}%)
🟡 Slow:      {N} channels  ({percentage}%)
🟠 Stale:     {N} channels  ({percentage}%)
🔴 Dead:      {N} channels  ({percentage}%)
⚪ Bot‑only:  {N} channels  ({percentage}%)

🔴 DEAD CHANNELS — Recommend Archive ({count})
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  {Team} › #{Channel}
     📅 Last post: {date} ({N} days ago)
     👥 Members: {N}  ·  💬 Last author: {name}
     💡 Action: Archive
  
  {Team} › #{Channel}
     📅 Last post: {date} ({N} days ago)
     👥 Members: {N}  ·  💬 Last author: {name}
     💡 Action: Archive

🟠 STALE CHANNELS — Monitor / Consider Archiving ({count})
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  {Team} › #{Channel}
     📅 Last post: {date} ({N} days ago)
     👥 Members: {N}  ·  📝 Active posters: {N} ({ratio}%)
     💡 Action: Notify owner, review purpose

🟡 SLOW CHANNELS — Watch List ({count})
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  {Team} › #{Channel}
     📅 Last post: {date} ({N} days ago)
     👥 Members: {N}  ·  📝 Active posters: {N}

⚪ BOT‑ONLY CHANNELS ({count})
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  {Team} › #{Channel}
     🤖 Only automated posts detected
     💡 Action: Review if bot output is still needed

🔄 POTENTIAL DUPLICATES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  • {Team1} › #{Channel A}  ↔  {Team2} › #{Channel B}
    Reason: Similar names, overlapping members
    💡 Action: Consider merging

🟢 HEALTHY CHANNELS ({count})
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  {Team} › #{Channel} — {N} posts last 7d, {N} authors
  {Team} › #{Channel} — {N} posts last 7d, {N} authors

📋 RECOMMENDED ACTIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  1. 🗑️ Archive {N} dead channels
  2. 📧 Notify owners of {N} stale channels
  3. 🔄 Review {N} potential duplicate pairs
  4. 🤖 Review {N} bot‑only channels

Parameters

ParameterRequiredDefaultDescription
TeamsNoAll user's teamsSpecific teams to audit
Inactive ThresholdNo30 daysDays without posts to flag as stale
Dead ThresholdNo90 daysDays without posts to flag as dead
Include HealthyNotrueShow healthy channels in the report
Include GeneralNofalseInclude default "General" channels
Sort ByNoLast activitySort order: "last-activity", "member-count", "team"

Required MCP Tools

MCP ServerToolPurpose
workiq (Local WorkIQ CLI)askUser identity, team/channel discovery, message activity retrieval, and membership data

Tips

  • Run monthly to keep your Teams workspace clean and navigable.
  • Say "audit Engineering team only" to scope to a single team for faster results.
  • Use "show only dead channels" to skip healthy channels and focus on cleanup.
  • After identifying channels to archive, coordinate with team owners before taking action.
  • After identifying channels to clean up, coordinate with team owners to take action.
  • General channels cannot be archived or deleted — they are skipped by default.

Examples

Full workspace audit

"Audit all my Teams channels and tell me which ones I should clean up."

Scans every team the user belongs to, classifies all channels by health status, detects bot-only and duplicate channels, and produces a complete prioritized report with archive and merge recommendations.


Single-team audit with narrow threshold

"Do a channel health check for the Engineering team — flag anything with no posts in the last 2 weeks."

Scopes the audit to the Engineering team only and applies a custom inactive threshold of 14 days instead of the default 30, surfacing slow channels that would otherwise be missed.


Dead channels only, ready for archiving

"Show me only the dead channels across all teams — nothing healthy, just what we should archive."

Runs a full scan but filters the output to dead channels (90+ days without posts), listing each with member count, last author, and a direct archive recommendation — ideal for a quick cleanup session.

Error Handling

Cannot retrieve user details

  • Cause: ask returns an authentication or permission error.
  • Action: Re-authenticate and retry. Ensure the WorkIQ CLI has proper Microsoft 365 permissions.

Team list is empty or incomplete

  • Cause: ask returns no teams or only a subset of expected teams.
  • Action: Confirm the user is an active member of the expected teams in the Teams admin center. Guest accounts may have restricted visibility.

Channel message retrieval fails for one or more channels

  • Cause: ask returns an error or no data for private or shared channels where the user lacks membership.
  • Action: The audit skips inaccessible channels and notes them in the report as ⚠️ Access Restricted. Request channel membership or ask a channel owner to run the audit.

No messages returned but channel exists

  • Cause: The channel was created but never had any posts, or messages were deleted.
  • Action: The channel is treated as Dead (0 days activity) and flagged for archiving. Verify manually before archiving if the channel was recently created.

Member list unavailable

  • Cause: ask cannot retrieve membership data for a private channel due to permission restrictions.
  • Action: Member count and activity ratio are omitted for that channel; all other metrics are still reported. The channel is still classified by message activity alone.

Large workspace timeouts

  • Cause: Auditing teams with dozens of channels may require many ask calls and take significant time.
  • Action: Scope the audit to a single team (e.g., "audit the Marketing team only") to reduce call volume, or run the audit during off-peak hours.

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
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로 웹앱을 계측하기 위한 지침입니다. 원격 분석 패턴, SDK 설정, 구성 참조를 제공합니다. WHEN: 앱 계측 방법, App Insights SDK, 원격 분석 패턴, App Insights란 무엇인가, Application Insights 지침, 계측 예시, APM 모범 사례.
devops
applicationinsights-web-ts
microsoft
브라우저/웹 앱을 Application Insights JavaScript SDK(@microsoft/applicationinsights-web)로 계측합니다. Real User Monitoring(RUM) — 페이지 뷰, 클릭, AJAX/fetch 종속성, 예외, 사용자 지정 이벤트, 백엔드 OpenTelemetry 트레이스와 상관관계가 있는 브라우저 측 GenAI 에이전트 트레이스에 사용합니다. SDK Loader Script 및 npm 설정, 프레임워크 확장(React, React Native, Angular), Click Analytics, 텔레메트리 이니셜라이저, 브라우저에서 생성된 에이전트/도구/모델 스팬에 대한 OTel GenAI 의미론적 규칙을 다룹니다.
devops
azure-ai-anomalydetector-java
microsoft
Azure AI Anomaly Detector SDK for Java로 이상 탐지 애플리케이션을 구축하세요. 단변량/다변량 이상 탐지, 시계열 분석 또는 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. ML 작업 영역, 작업, 모델, 데이터 세트, 컴퓨팅 및 파이프라인에 사용합니다. 트리거: "azure-ai-ml", "MLClient", "workspace", "model registry", "training jobs", "datasets".
development