teams-desktop-automation SKILL.md skillA

teams-desktop-automation from aktsmm/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add aktsmm/agent-skills/teams-desktop-automation@git:20261004.e1c4ed1

Pins git:20261004.e1c4ed1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
aktsmm/agent-skills
Path
teams-desktop-automation/SKILL.md
Versions recorded
2
Latest version
git:20261004.e1c4ed1, committed Oct 4, 2026
First version recorded
Sep 15, 2026
Size
4,287 bytes
Repository stars
26
License
a license file GitHub does not identify

Prepare and verify Microsoft Teams desktop chat drafts with Windows UI Automation, stopping before send. Use for Teamsチャット下書き, デスクトップTeams操作, 宛先確認, メッセージ入力, or when Teams Web/CDP is unavailable.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Teams Desktop Automation

## When to Use

- Teams デスクトップでチャット本文を下書きするとき
- Teams Web / Playwright / CDP が使えず、認証済みデスクトップアプリを使うとき
- 宛先と本文を検証し、ユーザーの最終送信待ちで止めるとき

使わない: 会議参加、通話、チャネル投稿、ファイル共有、メッセージ送信後の編集・削除。

## Safety Contract

- **送信しない。** 宛先と本文を入力した画面で停止し、最終の送信ボタンはユーザー本人に押してもらう。
- 宛先は表示名だけで決めず、組織ディレクトリ等で確認したメールアドレスと照合する。
- Teams のウィンドウタイトルで宛先・期待アカウントを確認する。候補が0件または複数なら停止する。
- 既存下書きが別内容なら上書きしない。同一本文なら再入力せず成功扱いにする。
- `SendKeys`、送信ボタンの click / `InvokePattern`、座標クリックを実行しない。
- 認証、MFA、アカウント切替が必要なら、対象と完了の目印を示してユーザーへ引き継ぐ。

## Workflow

1. 宛先の表示名、社内メールアドレス、期待する Teams アカウント、本文を確定する。
2. Teams が起動中か確認する。必要なら helper の `Open` で対象チャットを開く。この操作は Teams を前面化し得るため、実行前にユーザーへ知らせる。
3. `Inspect` でウィンドウタイトル、composer、既存下書き、送信ボタンを確認する。
4. `Draft` で本文を入力する。異なる既存下書きがあれば停止する。
5. `ready-for-user-send`、`DraftMatches=true`、`SendEnabled=true`、`SendActionPerformed=false` を確認する。
6. 必要なら `-ScreenshotPath` で現在画面を保存し、ユーザーへ送信操作を依頼して止める。

## Commands

PowerShell 7 (`pwsh`) で実行する。

```powershell
$script = '<skill-dir>/scripts/Set-TeamsDesktopDraft.ps1'

& $script -Mode Open `
  -RecipientDisplayName '<display-name>' `
  -RecipientEmail '<user@example.com>' `
  -ExpectedAccount '<signed-in-account@example.com>'
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add aktsmm/agent-skills/teams-desktop-automation@sha256:4aee3df51d401276

The line at the top of this page pins the label git:20261004.e1c4ed1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mf4ktkmomrokj2wj.svg)](https://markdownregistry.com/a/art_mf4ktkmomrokj2wj)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Sep 15, 2026 and Oct 4, 2026, about one every 19 days.

versioncommittedcommitsizeaudit
git:20261004.e1c4ed1 latest2026-10-04 e1c4ed1 4,287 BA view · diff
git:20260915.50c8cfd2026-09-15 50c8cfd 4,343 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4287 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

aktsmm/agent-skills · 26 stars · license a license file GitHub does not identify · pushed 2026-11-04 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_mf4ktkmomrokj2wj
GET https://markdownregistry.com/api/v1/resolve?ref=aktsmm/agent-skills/teams-desktop-automation
GET https://markdownregistry.com/api/v1/blob/4aee3df51d4012761385fbb26e4e2c5737b3d32da0f297861aee5608c5ae0a7a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from aktsmm/agent-skills

agentic-workflow-guide SKILL.md skill
aktsmm/agent-skills · agentic-workflow-guide/SKILL.md · Design, review, and debug agent workflows, and decide when a request should use a prompt, instruction, skill, agent, or…
git:20261104.b6d2e8b · audit A · 26 stars
ai-cli-benchmark SKILL.md skill
aktsmm/agent-skills · ai-cli-benchmark/SKILL.md · Design, run, and review fair performance, token, and cost comparisons across GitHub Copilot CLI, Codex CLI, and direct…
git:20261022.387b228 · audit A · 26 stars
analyze-copilot-sessions SKILL.md skill
aktsmm/agent-skills · analyze-copilot-sessions/SKILL.md · Analyze historical VS Code GitHub Copilot Chat sessions by model, reasoning effort, AIU, time, reliability, workflow…
git:20261026.133d3e3 · audit A · 26 stars
animated-infographic SKILL.md skill
aktsmm/agent-skills · animated-infographic/SKILL.md · Create reproducible animated infographic GIFs from structured data or measured results, with audience-language labels…
git:20261004.e1c4ed1 · audit A · 26 stars
archify SKILL.md skill
aktsmm/agent-skills · archify/SKILL.md · Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable…
v3.0 · audit A · 26 stars
ascii-banner SKILL.md skill
aktsmm/agent-skills · ascii-banner/SKILL.md · Generate ASCII-art text banners for terminals, READMEs, and CLI startup messages. Use when a user asks for an ASCII…
git:20261001.2b7a422 · audit A · 26 stars
azure-advisor-report SKILL.md skill
aktsmm/agent-skills · azure-advisor-report/SKILL.md · Generate Azure environment monthly report (Markdown + PowerPoint) from Azure Advisor and Cost Management API. Use when…
git:20261004.de613c1 · audit A · 26 stars
azure-env-builder SKILL.md skill
aktsmm/agent-skills · azure-env-builder/SKILL.md · [Alpha] Experimental Azure environment builder for infrastructure and deployment design. Use when building Azure…
git:20261004.e1c4ed1 · audit A · 26 stars
azure-infra-validation SKILL.md skill
aktsmm/agent-skills · azure-infra-validation/SKILL.md · Build and validate Azure infrastructure in a lab or sandbox using Azure CLI and official Microsoft docs. Use when…
git:20261022.c08e9e0 · audit A · 26 stars
azure-screenshot-mask SKILL.md skill
aktsmm/agent-skills · azure-screenshot-mask/SKILL.md · Mosaic environment-sensitive areas (tenant name, user avatar, subscription name / ID, resource group, internal…
git:20261004.e1c4ed1 · audit A · 26 stars
azure-troubleshooting SKILL.md skill
aktsmm/agent-skills · azure-troubleshooting/SKILL.md · Investigate Azure incidents and service degradations with a read-only workflow using Azure CLI, Resource Health…
git:20261004.e1c4ed1 · audit A · 26 stars
azure-update-customer-pptx SKILL.md skill
aktsmm/agent-skills · azure-update-customer-pptx/SKILL.md · Build a customer-facing Azure Update PowerPoint from Azure Updates MCP results, including customer classification…
git:20261014.48a6cca · audit A · 26 stars

Every file in aktsmm/agent-skills

Browse by kind, by grade A, or by owner.