用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/taracodlabs/aiden --skill outlook-native命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | outlook-native |
| description | Outlook calendar + inbox via PowerShell COM or Microsoft Graph |
| category | windows |
| version | 1.0.0 |
| platform | windows |
| tags | outlook, calendar, email, inbox, meeting, schedule, microsoft |
| license | Apache-2.0 |
Read Outlook calendar events, check inbox, send emails, and schedule meetings using PowerShell COM automation or Microsoft Graph API — no browser required.
$outlook = New-Object -ComObject Outlook.Application
$ns = $outlook.GetNamespace("MAPI")
$cal = $ns.GetDefaultFolder(9) # 9 = olFolderCalendar
$today = [DateTime]::Today
$items = $cal.Items
$items.IncludeRecurrences = $true
$items.Sort("[Start]")
$filter = "[Start] >= '$($today.ToString('g'))' AND [Start] < '$($today.AddDays(1).ToString('g'))'"
$items.Restrict($filter) | Select-Object Subject, Start, End, Location
$outlook = New-Object -ComObject Outlook.Application
$ns = $outlook.GetNamespace("MAPI")
$inbox = $ns.GetDefaultFolder(6) # 6 = olFolderInbox
$inbox.Items | Where-Object { $_.UnRead -eq $true } |
Select-Object Subject, SenderName, ReceivedTime |
Sort-Object ReceivedTime -Descending |
Select-Object -First 10
$outlook = New-Object -ComObject Outlook.Application
$mail = $outlook.CreateItem(0) # 0 = olMailItem
$mail.To = "recipient@example.com"
$mail.Subject = "Subject here"
$mail.Body = "Message body"
$mail.Send()
$outlook = New-Object -ComObject Outlook.Application
$appt = $outlook.CreateItem(1) # 1 = olAppointmentItem
$appt.Subject = "Team Sync"
$appt.Start = "2026-04-20 14:00"
$appt.Duration = 60
$appt.Location = "Conference Room A"
$appt.RequiredAttendees = "colleague@example.com"
$appt.Save()
$token = $env:GRAPH_TOKEN
$headers = @{ Authorization = "Bearer $token" }
Invoke-RestMethod -Uri "https://graph.microsoft.com/v1.0/me/calendarView?startDateTime=$(Get-Date -Format o)&endDateTime=$((Get-Date).AddDays(1) | Get-Date -Format o)" -Headers $headers
"What meetings do I have today?" → Run the COM calendar filter for today's date range, return Subject, Start, End, Location for each event.
"Any unread emails from Vikram?"
→ Filter inbox items where UnRead -eq $true and SenderName -like '*Vikram*'.
"Send a quick email to team@company.com — subject: Sprint update, body: Demo at 3pm" → Create olMailItem via COM, set fields, call Send().
az login or the Microsoft identity platform