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

ms-graph-calendar女士图表日历

Agent Skill

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

总安装

11,236

周安装

459

GitHub Stars

公开资料未说明

下载量

3,635
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install ms-graph-calendar

简介

使用 Microsoft Graph API 查找公司员工的可用会议时间和空闲/忙碌时段。当用户要求安排会议、查找空闲时段等时使用

SKILL.md

name
ms-graph-calendar
description
Find available meeting times and free/busy slots for company employees using Microsoft Graph API. Use when user asks to schedule a meeting, find a free slot, check when employees are available, or look up someone's calendar availability.
version
1.0.0
metadata
{"openclaw": {"emoji": "📅", "requires": {"env": ["AZURE_TENANT_ID", "AZURE_CLIENT_ID", "AZURE_CLIENT_SECRET"], "bins": ["node", "curl"]}, "primaryEnv": "AZURE_CLIENT_SECRET"}}

Microsoft Graph Calendar — Find Free Slots

Use this skill when the user wants to:

  • Find a time when multiple employees are all free
  • Check if a specific person is available at a given time
  • List upcoming meetings / busy blocks for one or more people
  • Suggest meeting slots across the company

Setup (ทำครั้งแรกครั้งเดียว)

ถ้าผู้ใช้ยังไม่เคย setup หรือระบบแจ้งว่าขาด credentials ให้ทำดังนี้:

  1. ถามผู้ใช้ 3 ค่านี้ทีละค่า:

- AZURE_TENANT_ID (Azure Portal → Azure Active Directory → Overview) - AZURE_CLIENT_ID (App registrations → your app → Application (client) ID) - AZURE_CLIENT_SECRET (App registrations → your app → Certificates & secrets)

  1. เมื่อได้ครบแล้ว รันคำสั่ง:
node skills/ms-graph-calendar/scripts/setup.js \
  --tenant-id <AZURE_TENANT_ID> \
  --client-id <AZURE_CLIENT_ID> \
  --client-secret <AZURE_CLIENT_SECRET>

ค่าจะถูกบันทึกไว้ที่ ~/.openclaw/ms-graph-calendar.json (permission 600) และจะถูกโหลดอัตโนมัติทุกครั้งที่ใช้ skill

  1. ทดสอบด้วย:
node skills/ms-graph-calendar/scripts/get-token.js

ถ้าได้ "✅ Token acquired" แปลว่าพร้อมใช้งานแล้ว

App Registration ต้องมี Application Permissions:

  • Calendars.Read — read all users' calendars
  • User.Read.All — list employees
  • Admin ต้อง Grant consent ก่อน

Configuration

Authentication is cached after first login. No environment variables required for device code flow.

For headless/automated operation, set these environment variables:

  • AZURE_CLIENT_ID - Azure AD app client ID
  • AZURE_CLIENT_SECRET - Azure AD app secret
  • AZURE_TENANT_ID - Tenant ID (use "consumers" for personal accounts)

Tools

This skill runs Node.js scripts via bash. Files:

  • scripts/ — Node.js scripts
  • nicknames.md — ตาราง mapping ชื่อเล่น → email (แก้ไขได้เลย)

Instructions

Step 1 — Get Access Token

Before any Graph API call, get an app-only token:

node skills/ms-graph-calendar/scripts/get-token.js

Store the token in a temp variable for subsequent calls.

Step 2 — Parse the User's Request

Extract from the user's message:

  • Who: names or emails of attendees (e.g. "Alice and Bob", "the marketing team")
  • When: date range to search (e.g. "this week", "next Monday", "March 5–7")
  • Duration: how long the meeting should be (default 60 minutes)
  • Timezone: default to Asia/Bangkok if not specified

If any info is missing, ask the user before proceeding.

Step 3 — Resolve Employee Emails

3a. ลองแปลงชื่อเล่นก่อน (เร็วกว่า ไม่ต้องเรียก API):

node skills/ms-graph-calendar/scripts/resolve-nicknames.js --names "แบงค์,มิ้ว,โบ้"

อ่านจาก nicknames.md ในโฟลเดอร์ skill — แก้ไขได้ตรงนั้นเลย

3b. ถ้าหาไม่เจอใน nicknames.md ให้ fallback ไปค้น Graph API:

node skills/ms-graph-calendar/scripts/list-users.js --search "ชื่อ"

Confirm กับ user ถ้ามีคนชื่อเดียวกันหลายคน

Step 4 — Find Free Slots (choose one method)

Method A — findMeetingTimes (best for small groups, ≤10 people):

node skills/ms-graph-calendar/scripts/find-meeting-times.js \
  --attendees "alice@company.com,bob@company.com" \
  --start "2025-03-01T08:00:00" \
  --end "2025-03-01T18:00:00" \
  --duration 60 \
  --timezone "Asia/Bangkok" \
  --max 5

Method B — getSchedule (best for large groups or viewing free/busy blocks):

node skills/ms-graph-calendar/scripts/get-schedule.js \
  --emails "alice@company.com,bob@company.com,carol@company.com" \
  --start "2025-03-01T00:00:00" \
  --end "2025-03-07T00:00:00" \
  --timezone "Asia/Bangkok" \
  --interval 30

Step 5 — Present Results

Format the available slots clearly:

📅 Available slots where everyone is free:

1. Monday 3 Mar · 10:00–11:00
2. Tuesday 4 Mar · 14:00–15:00
3. Wednesday 5 Mar · 09:00–10:00

Which slot works best?

If no slots are found, widen the search window and try again, or report that no common availability exists in that period.


Example Conversations

User: "Find a 1-hour slot this week where Alice, Bob, and Carol are all free" Agent:

  1. Resolves emails for Alice, Bob, Carol
  2. Runs find-meeting-times.js with date range = this Mon–Fri
  3. Returns top 3 available slots

User: "Is John free tomorrow afternoon?" Agent:

  1. Resolves John's email
  2. Runs get-schedule.js for tomorrow 12:00–18:00
  3. Reports free/busy blocks

User: "Show me everyone in the marketing team's availability next week" Agent:

  1. Lists users in the Marketing group via list-users.js --group "Marketing"
  2. Runs get-schedule.js for all their emails
  3. Presents a visual free/busy summary

Error Handling

ErrorCauseFix
401 UnauthorizedToken expired or wrong credentialsRe-run get-token.js, check env vars
403 ForbiddenMissing Admin ConsentAsk IT admin to grant consent in Azure Portal
404 Not FoundUser email doesn't existVerify email via list-users.js
No slots foundEveryone is busyWiden time range or reduce attendees

Security Notes

  • Credentials are read from env vars only — never log or echo them
  • This skill has read-only access to calendars (Calendars.Read)
  • It cannot create, edit, or delete any events
  • To restrict which mailboxes the app can read, ask your IT admin to set an App Access Policy in Exchange Online:
  New-ApplicationAccessPolicy -AppId <ClientId> -PolicyScopeGroupId <GroupId> -AccessRight RestrictAccess

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

85.82%
按下载量换算3,120

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills