Token导航 LogoToken导航

Agent Skill · 研究检索

outlook-delegate(展望代表)

outlook-delegate 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

outlook-delegate 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 5,386。

总安装 26,154周安装 1,112GitHub Stars 4下载 9,163核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.1.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:outlook-delegate(展望代表)
来源仓库:https://github.com/87marc/outlook-delegate
安装命令:
openclaw skills install outlook-delegate
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install outlook-delegate

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

在委托支持下通过 Microsoft Graph API 阅读、搜索和管理 Outlook 电子邮件和日历。支持以自己身份发送、以所有者身份发送(Send As)和代表所有者发送(Send on Behalf)。修改为代表访问 https://clawhub.ai/jotamed/outlook

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install outlook-delegate;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

outlook-delegate 怎么安装?

在终端执行 openclaw skills install outlook-delegate。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

outlook-delegate 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

outlook-delegate 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

outlook-delegate 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

outlook-delegate 用的人多吗?

公开数据是累计安装 26,154 次,近一周安装 1,112 次,下载 9,163 次,GitHub 4 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

outlook-delegate 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
outlook-delegate

展望代表 · 本页

26,1544接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
outlook-delegate
description
Read, search, and manage Outlook emails and calendar via Microsoft Graph API with delegate support. Supports sending as self, as owner (Send As), and on behalf of owner (Send on Behalf). Modified for delegate access from https://clawhub.ai/jotamed/outlook
version
1.1.0
author
87marc

Outlook Delegate Skill

Access another user's Outlook/Microsoft 365 email and calendar as a delegate via Microsoft Graph API. Supports three sending modes: as yourself, as the owner, or on behalf of the owner.

Delegate Architecture

This skill is designed for scenarios where:

  • Your AI assistant (the delegate) has its own Microsoft 365 account
  • The owner has granted the assistant delegate access to their mailbox/calendar
  • The assistant can send emails as itself, as the owner, or on behalf of the owner

Sending Modes Explained

All three modes use the same Graph API call (/users/{delegate}/sendMail with the from field set). The difference between Send As and Send on Behalf is determined entirely by which Exchange permission is granted, not by the API endpoint.

ModeCommandExchange Permission Requiredfrom fieldsender fieldWhat Recipient Sees
As Selfsend(none extra)DelegateDelegate"From: Assistant"
As Owner (Send As)send-asSendAs onlyOwnerOwner"From: Owner"
On Behalf Ofsend-behalfSendOnBehalf onlyOwnerDelegate"From: Assistant on behalf of Owner"
⚠️ CRITICAL: Do NOT grant both SendAs and SendOnBehalf permissions. If both are granted, Exchange always uses SendAs, and the "on behalf of" indication will never appear. Choose ONE based on your desired behavior.

How It Works Under the Hood

When you call send-as or send-behalf, the skill makes the same API call: it sends via the delegate's endpoint with the owner in the from field. Microsoft Graph automatically sets the sender property to the authenticated user (the delegate). Whether the recipient sees "on behalf of" depends solely on the Exchange permission:

  • SendAs permission → Graph sets both sender and from to the owner. No indication of delegation.
  • SendOnBehalf permission → Graph keeps sender as the delegate and from as the owner. Recipient sees "on behalf of."

Configuration

Config File: ~/.outlook-mcp/config.json

{
  "client_id": "your-app-client-id",
  "client_secret": "your-app-client-secret",
  "tenant_id": "your-tenant-id",
  "owner_email": "owner@yourdomain.com",
  "owner_name": "Owner Display Name",
  "delegate_email": "assistant@yourdomain.com",
  "delegate_name": "AI Assistant",
  "timezone": "America/New_York"
}
FieldDescription
client_idMicrosoft Entra ID App Registration client ID
client_secretMicrosoft Entra ID App Registration client secret
tenant_idYour Microsoft Entra tenant ID (auto-detected during setup)
owner_emailThe mailbox the assistant accesses as delegate
owner_nameDisplay name for the owner (used in From field)
delegate_emailThe assistant's own email address
delegate_nameDisplay name for the assistant
timezoneIANA timezone for calendar operations (e.g., America/New_York, Europe/London, UTC)

Setup Requirements

1. Microsoft Entra ID App Registration

Create an app registration in Azure Portal:

  1. Go to portal.azure.com → Microsoft Entra ID → App registrations
  2. New registration:

- Name: "AI Assistant Mail Access" - Supported account types: "Accounts in this organizational directory only" (single tenant) - Redirect URI: http://localhost:8400/callback

  1. Note the Application (client) ID and Directory (tenant) ID

2. Configure API Permissions

In your app → API permissions → Add a permission → Microsoft Graph → Delegated permissions:

Required for all modes:

  • Mail.ReadWrite — Read/write assistant's own mail
  • Mail.Send — Send mail as assistant
  • Calendars.ReadWrite — Read/write calendars
  • User.Read — Read own profile
  • offline_access — Refresh tokens

Required for delegate access:

  • Mail.ReadWrite.Shared — Read/write shared mailboxes
  • Mail.Send.Shared — Send on behalf of others
  • Calendars.ReadWrite.Shared — Read/write shared calendars

Click "Grant admin consent" (requires admin).

3. Create Client Secret

  1. Certificates & secrets → New client secret
  2. Description: "AI Assistant"
  3. Expiration: Choose appropriate duration
  4. Copy the Value immediately (shown only once)

4. Grant Exchange Delegate Permissions

The owner (or an admin) must grant the assistant access via PowerShell.

Choose your sending mode FIRST, then grant the appropriate permissions:

# Connect to Exchange Online
Install-Module -Name ExchangeOnlineManagement
Connect-ExchangeOnline -UserPrincipalName admin@yourdomain.com

# REQUIRED: Full Mailbox Access (for reading owner's mail)
Add-MailboxPermission -Identity "owner@yourdomain.com" `
    -User "assistant@yourdomain.com" `
    -AccessRights FullAccess `
    -InheritanceType All `
    -AutoMapping $false

# REQUIRED: Calendar Delegate Access
Add-MailboxFolderPermission -Identity "owner@yourdomain.com:\Calendar" `
    -User "assistant@yourdomain.com" `
    -AccessRights Editor `
    -SharingPermissionFlags Delegate

Then choose ONE of the following — do NOT grant both:

# OPTION A: Send As (emails appear directly from owner, no indication)
Add-RecipientPermission -Identity "owner@yourdomain.com" `
    -Trustee "assistant@yourdomain.com" `
    -AccessRights SendAs `
    -Confirm:$false
# OPTION B: Send on Behalf (emails show "assistant on behalf of owner")
Set-Mailbox -Identity "owner@yourdomain.com" `
    -GrantSendOnBehalfTo "assistant@yourdomain.com"

Verify permissions:

# Check mailbox permissions
Get-MailboxPermission -Identity "owner@yourdomain.com" | Where-Object {$_.User -like "*assistant*"}

# Check Send As
Get-RecipientPermission -Identity "owner@yourdomain.com" | Where-Object {$_.Trustee -like "*assistant*"}

# Check Send on Behalf
Get-Mailbox "owner@yourdomain.com" | Select-Object GrantSendOnBehalfTo

# Check Calendar permissions
Get-MailboxFolderPermission -Identity "owner@yourdomain.com:\Calendar"

5. Permissions Summary

ActionGraph PermissionExchange Permission
Read owner's mailMail.ReadWrite.SharedFullAccess
Send as selfMail.Send(none needed)
Send as ownerMail.Send.SharedSendAs only
Send on behalf of ownerMail.Send.SharedSendOnBehalf only
Read/write owner's calendarCalendars.ReadWrite.SharedEditor

Usage

Token Management

./scripts/outlook-token.sh refresh   # Refresh expired token
./scripts/outlook-token.sh test      # Test connection to both accounts
./scripts/outlook-token.sh get       # Print access token
./scripts/outlook-token.sh info      # Show configuration info

Reading Owner's Emails

./scripts/outlook-mail.sh inbox [count]           # Owner's inbox
./scripts/outlook-mail.sh unread [count]          # Owner's unread
./scripts/outlook-mail.sh search "query" [count]  # Search owner's mail
./scripts/outlook-mail.sh from <email> [count]    # Owner's mail from sender
./scripts/outlook-mail.sh read <id>               # Read email content
./scripts/outlook-mail.sh attachments <id>        # List attachments

Managing Owner's Emails

./scripts/outlook-mail.sh mark-read <id>          # Mark as read
./scripts/outlook-mail.sh mark-unread <id>        # Mark as unread
./scripts/outlook-mail.sh flag <id>               # Flag as important
./scripts/outlook-mail.sh unflag <id>             # Remove flag
./scripts/outlook-mail.sh delete <id>             # Move to trash
./scripts/outlook-mail.sh archive <id>            # Move to archive
./scripts/outlook-mail.sh move <id> <folder>      # Move to folder

Sending Emails

As Assistant (self):

./scripts/outlook-mail.sh send <to> <subject> <body>
./scripts/outlook-mail.sh reply <id> "body"
./scripts/outlook-mail.sh forward <id> <to> [message]

Recipient sees: "From: AI Assistant <assistant@domain.com>"

As Owner (Send As — requires SendAs permission, no indication):

./scripts/outlook-mail.sh send-as <to> <subject> <body>
./scripts/outlook-mail.sh reply-as <id> "body"
./scripts/outlook-mail.sh forward-as <id> <to> [message]

Recipient sees: "From: Owner <owner@domain.com>"

On Behalf of Owner (requires SendOnBehalf permission):

./scripts/outlook-mail.sh send-behalf <to> <subject> <body>
./scripts/outlook-mail.sh reply-behalf <id> "body"
./scripts/outlook-mail.sh forward-behalf <id> <to> [message]

Recipient sees: "From: AI Assistant on behalf of Owner <owner@domain.com>"

Drafts

./scripts/outlook-mail.sh draft <to> <subject> <body>  # Create draft in owner's mailbox
./scripts/outlook-mail.sh drafts [count]               # List owner's drafts
./scripts/outlook-mail.sh send-draft <id>              # Send draft as self
./scripts/outlook-mail.sh send-draft-as <id>           # Send draft as owner
./scripts/outlook-mail.sh send-draft-behalf <id>       # Send draft on behalf of owner

Folders & Stats

./scripts/outlook-mail.sh folders                 # List mail folders
./scripts/outlook-mail.sh stats                   # Inbox statistics
./scripts/outlook-mail.sh whoami                  # Show delegate info

Calendar

Viewing Events:

./scripts/outlook-calendar.sh events [count]      # Owner's upcoming events (future only)
./scripts/outlook-calendar.sh today               # Today's events (timezone-aware)
./scripts/outlook-calendar.sh week                # This week's events
./scripts/outlook-calendar.sh read <id>           # Event details
./scripts/outlook-calendar.sh calendars           # List all calendars
./scripts/outlook-calendar.sh free <start> <end>  # Check availability

Creating Events:

./scripts/outlook-calendar.sh create <subject> <start> <end> [location]
./scripts/outlook-calendar.sh quick <subject> [time]

Date format: YYYY-MM-DDTHH:MM (e.g., 2026-01-26T10:00)

Managing Events:

./scripts/outlook-calendar.sh update <id> <field> <value>
./scripts/outlook-calendar.sh delete <id>

Fields: subject, location, start, end

Sent Items Behavior

Where the sent copy is saved depends on the endpoint used, not the sending mode:

CommandEndpoint UsedSaved To
send (as self)/users/{delegate}/sendMailDelegate's Sent Items
send-as/users/{delegate}/sendMailDelegate's Sent Items *
send-behalf/users/{delegate}/sendMailDelegate's Sent Items *
All draft sends/users/{owner}/messages/{id}/sendOwner's Sent Items

\* Administrators can configure Exchange to also save a copy in the owner's Sent Items using:

Set-Mailbox -Identity "owner@yourdomain.com" -MessageCopyForSentAsEnabled $true -MessageCopyForSendOnBehalfEnabled $true

Troubleshooting

"Access denied" or "403 Forbidden" → Check that the assistant has MailboxPermission on the owner's mailbox

"ErrorSendAsDenied" → Missing SendAs or SendOnBehalf permission. Run the PowerShell commands above.

Emails don't show "on behalf of" → You may have both SendAs and SendOnBehalf granted. When both exist, Exchange always uses SendAs (which hides the delegate). Remove the SendAs permission if you want "on behalf of" to appear.

"The mailbox is not found" → Verify owner_email in config.json is correct

"AADSTS90002: Tenant not found" → Check tenant_id in config.json matches your Microsoft Entra tenant

"Token expired" → Run outlook-token.sh refresh

Wrong timezone for calendar → Update timezone in config.json (use IANA format like America/New_York)

Security Considerations

  1. Credential Protection: The ~/.outlook-mcp/ directory is automatically set to 700 and credential files to 600
  2. No Process Leaks: Token refresh and exchange operations pass secrets via stdin, not command-line arguments
  3. Input Sanitization: All user input is JSON-escaped via jq to prevent injection
  4. Audit Trail: All actions are logged in the owner's mailbox audit log
  5. Scope Limitation: The assistant only has access to what's explicitly granted
  6. Revocation: Owner can revoke access via Exchange PowerShell or Outlook settings

Revoking Access

# Remove all permissions
Remove-MailboxPermission -Identity "owner@yourdomain.com" -User "assistant@yourdomain.com" -AccessRights FullAccess -Confirm:$false

# Remove Send As (if granted)
Remove-RecipientPermission -Identity "owner@yourdomain.com" -Trustee "assistant@yourdomain.com" -AccessRights SendAs -Confirm:$false

# Remove Send on Behalf (if granted)
Set-Mailbox -Identity "owner@yourdomain.com" -GrantSendOnBehalfTo @{Remove="assistant@yourdomain.com"}

# Remove Calendar access
Remove-MailboxFolderPermission -Identity "owner@yourdomain.com:\Calendar" -User "assistant@yourdomain.com" -Confirm:$false

Files

  • ~/.outlook-mcp/config.json — Configuration (client ID, tenant ID, emails, timezone)
  • ~/.outlook-mcp/credentials.json — OAuth tokens (access + refresh)

Changelog

v1.1.0

  • FIXED: Reply command no longer sends duplicate emails (removed dead code that sent a garbage email)
  • FIXED: All reply/forward variants now use proper Graph API threading (createReply/createForward → patch from → send)
  • FIXED: send-as and send-behalf now correctly documented — behavior depends on Exchange permissions, not API endpoint
  • FIXED: send-draft-behalf no longer deletes draft before sending (prevents data loss on send failure)
  • FIXED: All user input is now JSON-escaped via jq to prevent injection and malformed payloads
  • FIXED: Credentials file permissions enforced on every write (chmod 600)
  • FIXED: Config directory permissions enforced (chmod 700)
  • FIXED: Client secrets no longer visible in process list (sent via stdin)
  • FIXED: Calendar events command now shows only future events
  • FIXED: Sent Items behavior documented accurately
  • FIXED: Version number corrected
  • Updated Microsoft Entra ID naming (formerly Azure Active Directory)
  • Setup guide now explicitly warns against granting both SendAs and SendOnBehalf
  • Revocation commands updated (GrantSendOnBehalfTo uses @{Remove=...} syntax)

v1.0.0

  • Three sending modes: as self, as owner (Send As), on behalf of owner
  • Tenant-specific authentication (no /common endpoint)
  • Configurable timezone for calendar operations
  • Display names for owner and delegate
  • Drafts saved to owner's mailbox
  • Comprehensive PowerShell setup commands
  • Based on outlook v1.3.0 by jotamed (https://clawhub.ai/jotamed/outlook)

平台分布

OpenClaw

71.32%
按下载量换算6,535

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills