Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计提醒

ms365-clims365 CLI 搜索

Agent Skill

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

总安装

2,856

周安装

119

GitHub Stars

公开资料未说明

下载量

952
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install ms365-cli

简介

管理 Microsoft 365 邮件与日历的 CLI 工具。

  • 支持阅读、发送、搜索邮件及日程安排功能。
  • 通过命令行快速检索信息,提升办公效率。ms365-cli 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装命令:openclaw skills install ms365-cli。
  • 注意:需配置邮箱权限,谨慎处理用户数据。

SKILL.md

name
ms365-cli
description
Manage Microsoft 365 Emails and Calendar using the ms365 CLI. Trigger this skill when the user needs to "read my email", "send an email", "search emails", "check my calendar", "schedule a meeting", or perform any Outlook/Microsoft 365 email or calendar operations.
version
1.1.0
license
MIT
author
thecfguy
tools
capabilities
tags

Microsoft 365 Skill for OpenClaw

This skill empowers your OpenClaw agent to manage your Microsoft 365 Emails and Calendar directly from the terminal. It leverages the ms365 CLI tool to perform operations securely and efficiently.

Prerequisites

Before using this skill, ensure the ms365 CLI package is installed on the local system or available via npx.

# To install globally:
npm install -g ms365

Requirements:

  • Node.js 22 or later
  • A Microsoft 365 account (work, school, or personal)
  • An Azure AD app registration with delegated permissions

Authentication Lifecycle

The agent cannot authenticate on behalf of the user. The user must manually run these commands beforehand or you can prompt the user to run them in an interactive terminal.

  1. Configure Azure App credentials: ms365 auth configure --client-id <ID> --tenant-id <ID>
  2. Login to Microsoft 365: ms365 auth login (Uses Device Code flow; user action required)
  3. Check Auth Status: ms365 auth status
  4. Logout: ms365 auth logout

Capabilities & Usage Instructions

You (the Agent) can use the bash tool to execute ms365 CLI commands to interact with the user's Microsoft 365 account. Below are the allowed operations.

📧 Email Operations

List Emails

Use this to check recent messages or list items in a specific folder.

  • Command: ms365 email list
  • Modifiers:

- -c, --count <number>: Number of results (default: 20) - -f, --folder <name>: Target folder - supports well-known names (inbox, sentitems, drafts, etc.), folder display names (case-insensitive), or folder IDs - --select <fields>: Comma-separated fields (e.g., subject,from,bodyPreview) - --list-folders: Show available folders instead of listing emails - --all-folders: List emails from all folders at once

  • Example: ms365 email list -c 5 -f inbox
  • Example: ms365 email list --list-folders

Read Email

Fetches the full content of an email message given its ID.

  • Command: ms365 email read <id>
  • Example: ms365 email read AAMkADYzZ1...

Search Emails

Use Keyword Query Language (KQL) to find specific emails.

  • Command: ms365 email search "<kql-query>"
  • Modifiers:

- -c, --count <number>: Result count limit

  • Example: ms365 email search "from:boss@example.com subject:urgent" -c 10

Send Email

Compose and send an email directly without drafting it first.

  • Command: ms365 email send [options]
  • Modifiers:

- --to <addresses>: Comma-separated recipient emails (Required) - --subject "<subject>": Email subject line - --body "<body>": The content of the email - --cc, --bcc: Additional recipients - --html: Treats the --body as HTML content - --importance <low|normal|high>: Sets email priority

  • Example: ms365 email send --to "jane@example.com" --subject "Meeting Notes" --body "Please find the notes attached."

Draft Email

Create an email that gets saved to the Drafts folder instead of sending immediately.

  • Command: ms365 email draft [options]
  • Modifiers: (Same as Send Email)
  • Example: ms365 email draft --to "team@example.com" --subject "Weekly Update" --body "Draft content here"

Move Email

Move an email from one folder to another. Supports well-known folder names, custom folder display names, and folder IDs.

  • Command: ms365 email move <id> <destination>
  • Modifiers:

- --list-folders: Show available folders before moving

  • Note: <destination> can be a well-known folder name (inbox, drafts, sentitems, deleteditems, junkemail, archive, outbox), a folder display name (case-insensitive), or a folder ID.
  • Example: ms365 email move AAMkAD... archive
  • Example: ms365 email move AAMkAD... "Archive 2024"

Delete Email

Moves an email to 'Deleted Items' or deletes it permanently.

  • Command: ms365 email delete <id>
  • Modifiers:

- --permanent: Hard-deletes the email bypassing 'Deleted Items'.

  • Example: ms365 email delete AAMkAD...

List Folders

List all available mail folders with metadata including unread counts and folder structure.

  • Command: ms365 email folders list
  • Modifiers:

- -c, --count <number>: Max number of folders (default: 50) - --select <fields>: Comma-separated fields

  • Example: ms365 email folders list

Folder Info

Get detailed information about a specific folder by name or ID.

  • Command: ms365 email folders info <folder>
  • Example: ms365 email folders info inbox

Create Folder

Create a new custom mail folder.

  • Command: ms365 email folders create <name>
  • Modifiers:

- --parent <parentFolderId>: Parent folder ID for nested folders

  • Example: ms365 email folders create "Archive 2024"

📅 Calendar Operations

List Events

Fetch upcoming calendar events.

  • Command: ms365 calendar list
  • Modifiers:

- -d, --days <number>: Lookahead days limit (default is 7) - --start <datetime>, --end <datetime>: ISO 8601 constraints (overrides days) - -c, --count <number>: Maximum entries to return

  • Example: ms365 calendar list --days 3 -c 10

Create Event

Schedule a new meeting or blocker on the user's calendar.

  • Command: ms365 calendar create [options]
  • Modifiers:

- --subject "<title>": Event title - --start <datetime>: ISO 8601 string (e.g., 2024-07-01T09:00:00) - --end <datetime>: ISO 8601 string (e.g., 2024-07-01T10:00:00) - --timezone <tz>: IANA timezone (default UTC, e.g., America/New_York) - --attendees <emails>: Comma-separated addresses - --body "<content>": Event details (--html can be used to treat body as HTML) - --location "<location>": Physical or virtual location string - --all-day: Flag to make this an all-day event - --online-meeting: Automatically creates and attaches a Teams link

  • Example: ms365 calendar create --subject "Sync" --start "2024-07-01T09:00:00" --end "2024-07-01T09:30:00" --attendees "bob@example.com" --online-meeting

Delete Event

Remove an event from the calendar.

  • Command: ms365 calendar delete <id>
  • Example: ms365 calendar delete AAMkADc...

Create Recurring Event

Schedule a recurring meeting or blocker on the user's calendar.

  • Command: ms365 calendar series-create [options]
  • Modifiers:

- --subject "<title>": Event title (Required) - --start <datetime>: ISO 8601 start time (Required) - --end <datetime>: ISO 8601 end time (Required) - --pattern <pattern>: Recurrence pattern (daily, weekly, absoluteMonthly, relativeMonthly, absoluteYearly, relativeYearly) (Required) - --interval <number>: Interval between occurrences (default: 1) - --days-of-week <days>: For weekly patterns (Mo,Tu,We,Th,Fr,Sa,Su) - --range <type>: How recurrence ends (endDate, noEnd, numbered) (default: noEnd) - --end-date <datetime>: End date for recurrence (Required if range is endDate) - --occurrences <number>: Number of occurrences (Required if range is numbered) - --timezone <tz>: IANA timezone (default: UTC) - --attendees <emails>: Comma-separated addresses - --body "<content>": Event details - --location "<location>": Physical or virtual location - --all-day: Make this an all-day event - --online-meeting: Automatically creates and attaches a Teams link

  • Example: ms365 calendar series-create --subject "Daily Standup" --start "2024-07-10T09:00:00" --end "2024-07-10T09:30:00" --pattern daily --range numbered --occurrences 10

Delete Recurring Event

Remove a recurring event or individual occurrences from the series.

  • Command: ms365 calendar series-delete <id>
  • Modifiers:

- --this-and-following: Delete this and following events in series - --single: Delete only this single occurrence

  • Example: ms365 calendar series-delete AAMkADc...

📇 Contacts Operations

List Contacts

Fetch contacts from your personal contacts folder.

  • Command: ms365 contacts list
  • Modifiers:

- -c, --count <number>: Number of results (default: 50) - --select <fields>: Comma-separated fields

  • Example: ms365 contacts list --count 25

Search Contacts

Search contacts by name or email address.

  • Command: ms365 contacts search "<query>"
  • Modifiers:

- -c, --count <number>: Max results to return (default: 25)

  • Example: ms365 contacts search "alice@example.com" --count 10

  • Data limits: By default, list commands return bounded records. If you need more context, use --count responsibly. Do not request more than 100 items at once to avoid payload bloating.
  • Always Verify IDs: Ensure that you have the correct item ID before executing mutating operations like move or delete. You can retrieve IDs using the list or search commands.
  • Dates and Timezones: When creating calendar events, verify the user's local timezone. Always provide explicit timezones using the --timezone flag or use UTC natively.
  • Auth Tokens: If ms365 returns authentication errors like Token expired or Unauthorized, prompt the user to run ms365 auth login.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

95.13%
按下载量换算906

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install ms365-cli 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills