Logo di Teams Monitor

Teams Monitor

Community
tamirdresher
teams-monitor

Monitora i canali di Microsoft Teams tramite WorkIQ per individuare i messaggi a cui la squadra deve rispondere e trasformali in issue di GitHub.

Add to TypingMind

Panoramica

Pubblicato datamirdresher
Repositorysquad-skills
Nome della skillteams-monitor
Stelle
44
Fork
9
File inclusi
2
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 2

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da tamirdresher su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Teams Monitor in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/tamirdresher/squad-skills/tree/main/plugins/teams-monitor
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tamirdresher/squad-skills.git /tmp/squad-skills
mkdir -p .claude/skills
cp -r /tmp/squad-skills/plugins/teams-monitor .claude/skills/teams-monitor
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Teams Monitor in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Teams Monitor non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Teams Monitor non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Context

The squad has two-way Teams communication:

  • READ: WorkIQ (workiq-ask_work_iq) reads Teams messages
  • SEND: Teams Incoming Webhook sends messages to Teams

The webhook URL is stored as an environment variable TEAMS_WEBHOOK_URL or can be invoked directly via Invoke-RestMethod.

Sending Messages to Teams

The webhook URL is stored at C:\Users\tamirdresher\.squad\teams-webhook.url (NOT in the repo — it's a secret).

To send a message to Teams, read the URL from that file and POST:

powershell
$webhookUrl = Get-Content "$env:USERPROFILE\.squad\teams-webhook.url" -Raw
$body = @{ text = "Your message here" } | ConvertTo-Json
Invoke-RestMethod -Uri $webhookUrl.Trim() -Method Post -ContentType "application/json" -Body $body

IMPORTANT: Never hardcode the webhook URL. Always read from ~\.squad\teams-webhook.url.

Trigger

  • Scheduled (Primary): Runs every 20 minutes via Ralph's loop using .squad/schedule.json and Squad Scheduler (task ID: teams-message-monitor)
  • Session start: Any agent session can run the Teams check as part of initialization
  • On-demand: Any agent can invoke this skill when asked to "check Teams"

The scheduled check uses the script at .squad/scripts/teams-monitor-check.ps1 which is dispatched by the Squad Scheduler engine.

Workflow

Step 1: Query WorkIQ for Recent Messages

Run targeted WorkIQ queries to find messages relevant to the squad. Use the workiq-ask_work_iq tool with questions like:

"What messages were sent in the last 24 hours in Teams channels related to DK8S, idk8s, or Defender Kubernetes?"
"Are there any recent Teams messages from Tamir Dresher or the DK8S team mentioning squad, AI agents, research, or action items?"
"What are the most recent Teams messages in channels I'm part of that mention infrastructure analysis, Aurora, ConfigGen, or fleet management?"

Adapt queries to the squad's active work. Check decisions.md and open GitHub issues for current topics, then query for those topics specifically.

Step 2: Filter for Actionable Content

Not every Teams message is actionable. Look for:

  • Direct requests: "Can you look into...", "We need...", "Please investigate..."
  • Questions awaiting answers: "Has anyone figured out...", "What's the status of..."
  • Decisions or announcements that affect squad work: policy changes, priority shifts, new requirements
  • Mentions of squad-related keywords: squad, agent, Picard, research, analysis
  • Escalations or incidents: Sev2, outage, breaking change, urgent

Ignore:

  • Social/casual messages
  • Messages the squad has already processed (check existing GitHub issues for duplicates)
  • Automated notifications (build results, PR notifications — these are already in GitHub/ADO)

Step 3: Create GitHub Issues

For each actionable item, create a GitHub issue with:

  • Title: [Teams Bridge] <concise summary of the request>
  • Labels: teams-bridge, plus any relevant domain labels
  • Body must include:
    • Source: who said it, approximate when, which channel/thread (as reported by WorkIQ)
    • The actual request or question, quoted
    • Any context or urgency indicators
    • ---
    • 🔗 Bridged from Teams via WorkIQ by teams-monitor skill
    • 📅 Detected: <timestamp>

Step 4: Deduplicate

Before creating an issue, search existing GitHub issues for:

  • Similar title text
  • The teams-bridge label
  • Recent issues (last 7 days) covering the same topic

If a match is found, add a comment to the existing issue instead of creating a duplicate.

Step 5: Log Activity

After each check, log what was found (or that nothing was found) so the team knows monitoring is active. This can be a brief note in the orchestration log or session output.

Queries Reference

These are starting-point queries. Agents should adapt based on current squad context:

PurposeWorkIQ Query
General channel check"What recent Teams messages mention DK8S, squad, or AI agents?"
Tamir's directives"What did Tamir Dresher say recently in Teams about priorities or action items?"
Incident awareness"Are there any recent Teams messages about outages, Sev2 incidents, or urgent issues related to Kubernetes or DK8S?"
Meeting follow-ups"What action items came out of recent DK8S team meetings?"
Topic-specific"Any recent Teams discussion about [current topic from decisions.md]?"

Limitations

  • Read-only: WorkIQ cannot post to Teams. Responses must go through GitHub issues/comments
  • Query freshness: WorkIQ results may have indexing delay (typically minutes, occasionally hours)
  • No real-time streaming: This is poll-based, not event-driven. Messages may be picked up with delay
  • Channel visibility: WorkIQ can only see channels the authenticated user has access to
  • No thread-level precision: WorkIQ may not distinguish individual thread replies — treat results as approximate
  • First implementation: Confidence is LOW. Expect iteration on query patterns, filtering heuristics, and deduplication logic

Anti-Patterns

  • Spamming WorkIQ: Don't run queries more than once per session or per Ralph cycle. Rate-limit yourself
  • Creating issues for everything: Be selective. Not every Teams message is an action item
  • Ignoring duplicates: Always check for existing issues before creating new ones
  • Hardcoding channel names: Channels change. Use topic-based queries, not channel-name queries
  • Treating WorkIQ as real-time: It's indexed search, not a live feed. Design for eventual consistency

Future Evolution

  1. Confidence → medium: After 2-4 weeks of operation, tune queries and filters based on false positive/negative rates
  2. Bidirectional bridge: When Teams bot or webhook becomes available, extend to push GitHub activity summaries to Teams
  3. Smart prioritization: Use message sentiment, sender role, and keyword urgency to auto-prioritize bridged issues
  4. Channel-specific profiles: Build per-channel query templates as the team learns which channels matter most

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Teams Monitor?

Monitora i canali di Microsoft Teams tramite WorkIQ per individuare i messaggi a cui la squadra deve rispondere e trasformali in issue di GitHub.

Perché usare Teams Monitor su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Teams Monitor è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Teams Monitor in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/tamirdresher/squad-skills/tree/main/plugins/teams-monitor. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Teams Monitor?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Teams Monitor?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Teams Monitor: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Teams Monitor è gratuita?

Sì. È pubblicata su GitHub da tamirdresher con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇