Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

officeclawofficeclaw 搜索

Agent Skill

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

总安装

28,397

周安装

1,160

GitHub Stars

2

下载量

9,094
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install officeclaw

简介

连接 Microsoft Graph API 管理邮件、日历与任务。

  • 支持个人账号与企业租户两种认证模式切换。officeclaw 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 适用于日程协调、收件箱筛选与待办事项同步。
  • 首次使用需授权应用权限并绑定有效 Microsoft 账户。
  • 频繁调用可能被限流,建议设置合理请求间隔。

SKILL.md

name
officeclaw
description
Connect to personal Microsoft accounts via Microsoft Graph API to manage email, calendar events, and tasks. Use this skill when the user needs to read/write Outlook mail, manage calendar appointments, or handle Microsoft To Do tasks.
license
Apache-2.0
homepage
https://github.com/danielithomas/officeclaw
user-invocable
true
compatibility
Requires Python 3.9+, network access to graph.microsoft.com, and one-time OAuth setup
metadata
author
Daniel Thomas
version
1.0.4
openclaw
requires
anyBins
["python", "python3", "officeclaw"]
env
[]
os
["darwin", "linux", "win32"]

OfficeClaw: Microsoft Graph API Integration

Connect your OpenClaw agent to personal Microsoft accounts (Outlook.com, Hotmail, Live) to manage email, calendar, and tasks through the Microsoft Graph API.

Installation

Install from PyPI:

pip install officeclaw

Or with uv:

uv pip install officeclaw

Verify installation:

officeclaw --version

Setup (One-Time)

Quick start: OfficeClaw ships with a default app registration — just run officeclaw auth login and go. No Azure setup needed. Advanced: Want full control? Create your own Azure App Registration (free, ~5 minutes) and set OFFICECLAW_CLIENT_ID in your .env. See Microsoft's guide or follow the steps below.

1. Create an Azure App Registration

  1. Go to entra.microsoft.com → App registrations → New registration
  2. Name: officeclaw (or anything you like)
  3. Supported account types: Personal Microsoft accounts only
  4. Redirect URI: leave blank (not needed for device code flow)
  5. Click Register
  6. Copy the Application (client) ID — this is your OFFICECLAW_CLIENT_ID
  7. Go to Authentication → Advanced settings → Allow public client flowsYes → Save
  8. Go to API permissions → Add permission → Microsoft Graph → Delegated permissions. Choose based on your needs:

Read-only (safest):

  • Mail.Read, Calendars.Read, Tasks.ReadWrite*

Full access (all features including send/delete):

  • Mail.Read, Mail.ReadWrite, Mail.Send
  • Calendars.Read, Calendars.ReadWrite
  • Tasks.ReadWrite

*\*Tasks.ReadWrite is the minimum available scope for Microsoft To Do — there is no read-only option.*

Least privilege: Only grant the permissions you actually need. If you only want to read emails and calendar, skip Mail.ReadWrite, Mail.Send, and Calendars.ReadWrite. OfficeClaw will gracefully error on commands that require missing permissions.

2. Configure Environment

Create a .env file in your skill directory:

OFFICECLAW_CLIENT_ID=your-client-id-here

# Capability gates (disabled by default for safety)
# OFFICECLAW_ENABLE_SEND=true    # Allow sending/replying/forwarding emails
# OFFICECLAW_ENABLE_DELETE=true   # Allow deleting emails, events, and tasks

# Recipient allowlist — STRONGLY RECOMMENDED when sending is enabled
# OFFICECLAW_ALLOWED_RECIPIENTS=user1@example.com,user2@example.com

No client secret needed for device code flow. Write operations (send, delete) are disabled by default — enable only what you need.

⚠️ Recipient Allowlist (v1.0.4+): If you enable sending, configure OFFICECLAW_ALLOWED_RECIPIENTS to restrict which addresses can receive email. This is especially critical for AI agent workflows — the allowlist provides a hard, code-level boundary that prevents sending to unauthorized addresses regardless of what the agent is instructed to do. Blocked attempts are logged for auditing.

3. Authenticate

officeclaw auth login

This displays a URL and code. Open the URL in a browser, enter the code, and sign in with your Microsoft account. Tokens are stored securely in ~/.officeclaw/token_cache.json (permissions 600).

When to Use This Skill

Activate this skill when the user needs to:

Email Operations

  • Read emails: "Show me my latest emails", "Find emails from john@example.com"
  • Send emails: "Send an email to...", "Reply to the last email from..."
  • Manage inbox: "Mark emails as read", "Archive old emails", "Delete emails"

Calendar Operations

  • View events: "What's on my calendar today?", "Show meetings this week"
  • Create events: "Schedule a meeting with...", "Add dentist appointment on Friday"
  • Update events: "Move the 2pm meeting to 3pm", "Cancel tomorrow's standup"

Task Management

  • List tasks: "What's on my to-do list?", "Show incomplete tasks"
  • Create tasks: "Add 'buy groceries' to my tasks", "Create a task to review report"
  • Complete tasks: "Mark 'finish proposal' as done", "Complete all shopping tasks"

Available Commands

Authentication

officeclaw auth login       # Authenticate via device code flow
officeclaw auth status      # Check authentication status
officeclaw auth logout      # Clear stored tokens

Mail Commands

officeclaw mail list --limit 10                # List recent messages
officeclaw mail list --unread                   # List unread messages only
officeclaw mail get <message-id>               # Get specific message
officeclaw mail send --to user@example.com --subject "Hello" --body "Message text"
officeclaw mail send --to user@example.com --subject "Report" --body "Attached" --attachment report.pdf
officeclaw mail search --query "from:boss@example.com"
officeclaw mail archive <message-id>           # Archive a message
officeclaw mail mark-read <message-id>         # Mark as read
officeclaw --json mail list                    # JSON output for parsing

Calendar Commands

officeclaw calendar list --start 2026-02-01 --end 2026-02-28
officeclaw calendar create \
  --subject "Team Meeting" \
  --start "2026-02-15T10:00:00" \
  --end "2026-02-15T11:00:00" \
  --location "Conference Room"
officeclaw calendar get <event-id>
officeclaw calendar update <event-id> --subject "Updated Meeting"
officeclaw calendar delete <event-id>
officeclaw --json calendar list --start 2026-02-01 --end 2026-02-28

Task Commands

officeclaw tasks list-lists                              # List task lists
officeclaw tasks list --list-id <list-id>                # List tasks
officeclaw tasks list --list-id <list-id> --status active  # Active tasks only
officeclaw tasks create --list-id <list-id> --title "Complete report" --due-date "2026-02-20"
officeclaw tasks complete --list-id <list-id> --task-id <task-id>
officeclaw tasks reopen --list-id <list-id> --task-id <task-id>

Output Format

Use --json flag for structured JSON output:

officeclaw --json mail list

Returns:

{
  "status": "success",
  "data": [
    {
      "id": "AAMkADEzN...",
      "subject": "Meeting Notes",
      "from": {"emailAddress": {"address": "sender@example.com"}},
      "receivedDateTime": "2026-02-12T10:30:00Z",
      "isRead": false
    }
  ]
}

Error Handling

Common errors and solutions:

ErrorCauseSolution
AuthenticationErrorNot logged in or token expiredRun officeclaw auth login
AccessDeniedMissing permissionsRe-authenticate with required scopes
ResourceNotFoundInvalid IDVerify the ID exists
RateLimitErrorToo many API callsWait 60 seconds and retry

Guidelines for Agents

When using this skill:

  1. Confirm destructive actions: Ask before deleting or sending
  2. Summarize results: Don't show raw JSON, provide summaries
  3. Handle errors gracefully: Guide user through re-authentication
  4. Respect privacy: Don't log email content
  5. Use JSON mode: For programmatic parsing, use --json flag
  6. Batch operations: Process multiple items efficiently

Security & Privacy

  • Write operations disabled by default: Send, reply, forward, and delete are all blocked unless explicitly enabled via OFFICECLAW_ENABLE_SEND and OFFICECLAW_ENABLE_DELETE environment variables. This prevents accidental or unauthorised write actions.
  • Recipient allowlist (v1.0.4+): When OFFICECLAW_ALLOWED_RECIPIENTS is set, outbound email is restricted to listed addresses only. Blocked attempts are logged to email-blocked.log and an email-alert.json alert file is written for monitoring. If not set, a runtime warning is displayed on each send. Strongly recommended for any AI agent deployment.
  • No client secret required: Uses device code flow (public client) by default
  • Least-privilege permissions: You choose which Graph API scopes to grant — read-only is sufficient for most use cases. See the setup guide above.
  • Tokens stored securely: ~/.officeclaw/token_cache.json with 600 file permissions
  • No data storage: OfficeClaw passes data through, never stores email/calendar content
  • No telemetry: No usage data collected
  • Your own Azure app: Each user creates their own Azure app registration with their own client ID — no shared credentials

Troubleshooting

If the skill isn't working:

  1. Check authentication: Run officeclaw auth status
  2. Re-authenticate: Run officeclaw auth login
  3. Verify network: Ensure graph.microsoft.com is reachable
  4. Check environment: Verify OFFICECLAW_CLIENT_ID is set in .env

References

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

79.39%
按下载量换算7,220

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills