work-iq

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Work IQ Skill

Work IQ Skill

Query your Microsoft 365 workspace using natural language. Search emails, meetings, Teams messages, and documents without leaving your development environment.
使用自然语言查询你的Microsoft 365工作区。无需离开开发环境,即可搜索邮件、会议、Teams消息和文档。

Quick Start

快速开始

1. Accept EULA (Required First)

1. 接受最终用户许可协议(必须先完成)

bash
npx @microsoft/workiq accept-eula
bash
npx @microsoft/workiq accept-eula

2. Configure MCP

2. 配置MCP

Add to your project's
.mcp.json
:
json
{
  "mcpServers": {
    "workiq": {
      "command": "npx",
      "args": ["-y", "@microsoft/workiq", "mcp"]
    }
  }
}
将以下内容添加到项目的
.mcp.json
中:
json
{
  "mcpServers": {
    "workiq": {
      "command": "npx",
      "args": ["-y", "@microsoft/workiq", "mcp"]
    }
  }
}

3. Authenticate

3. 身份验证

First query triggers M365 authentication - a browser window opens for sign-in.
首次查询会触发M365身份验证 - 会打开浏览器窗口进行登录。

4. Start Querying

4. 开始查询

"What meetings do I have tomorrow?"
"Find emails from Sarah about the budget"
"Show Teams messages about the deployment"
"我明天有哪些会议?"
"查找Sarah发送的关于预算的邮件"
"显示关于部署的Teams消息"

Core Capabilities

核心功能

Email Intelligence

邮件智能

  • Find emails by sender, recipient, subject, or content
  • Filter by date ranges
  • Search across inbox, sent items, and archives
Example:
"What did John say about the proposal?"
  • 按发件人、收件人、主题或内容查找邮件
  • 按日期范围筛选
  • 搜索收件箱、已发送邮件和存档
示例:
"John关于提案说了什么?"

Calendar & Meetings

日历与会议

  • View upcoming meetings
  • Search past meetings by title or attendees
  • Check your schedule
Example:
"What's on my calendar this week?"
  • 查看即将到来的会议
  • 按标题或参会人搜索过去的会议
  • 查看你的日程安排
示例:
"我这周的日历安排是什么?"

Teams Messages

Teams消息

  • Search conversations across channels
  • Find messages by sender or content
  • Locate shared files
Example:
"Summarize today's messages in Engineering channel"
  • 搜索各频道的对话
  • 按发件人或内容查找消息
  • 定位共享文件
示例:
"总结今天Engineering频道的消息"

Document Search

文档搜索

  • Query SharePoint and OneDrive content
  • Search by file type, author, or content
  • Find recently modified documents
Example:
"Find my recent PowerPoint presentations"
  • 查询SharePoint和OneDrive内容
  • 按文件类型、作者或内容搜索
  • 查找最近修改的文档
示例:
"查找我最近的PowerPoint演示文稿"

When This Skill Activates

技能触发条件

I load automatically when you mention:
  • work iq, workiq, m365, microsoft 365
  • check my email, find meetings, search teams
  • query calendar, office 365, o365
当你提及以下内容时,我会自动加载:
  • work iq, workiq, m365, microsoft 365
  • 查看我的邮件, 查找会议, 搜索Teams
  • 查询日历, office 365, o365

CLI Commands

CLI命令

CommandDescription
workiq accept-eula
Accept End User License Agreement (required first)
workiq ask
Interactive query mode
workiq ask -q "..."
Ask a specific question
workiq mcp
Start MCP server (used by Claude Code)
workiq version
Show version info
命令描述
workiq accept-eula
接受最终用户许可协议(必须先完成)
workiq ask
交互式查询模式
workiq ask -q "..."
提出特定问题
workiq mcp
启动MCP服务器(供Claude Code使用)
workiq version
显示版本信息

Prerequisites

前提条件

  1. Microsoft 365 Account - Active M365 subscription
  2. Node.js - For npx command
  3. Admin Consent - May be required for some M365 tenants
  1. Microsoft 365账户 - 有效的M365订阅
  2. Node.js - 用于执行npx命令
  3. 管理员同意 - 部分M365租户可能需要

Quick Troubleshooting

快速故障排除

ProblemSolution
"EULA not accepted"Run
npx @microsoft/workiq accept-eula
"Authentication failed"Re-run query to trigger fresh auth flow
"Admin consent required"Contact your M365 tenant administrator
"WSL browser issues"Install
xdg-utils
and
wslu
packages
问题解决方案
"未接受最终用户许可协议"运行
npx @microsoft/workiq accept-eula
"身份验证失败"重新运行查询以触发新的身份验证流程
"需要管理员同意"联系你的M365租户管理员
"WSL浏览器问题"安装
xdg-utils
wslu

Documentation

文档

  • Technical Reference - Installation, configuration, authentication
  • Usage Examples - Real-world query patterns
  • 技术参考文档 - 安装、配置、身份验证
  • 使用示例 - 真实场景查询模式

Platform Support

平台支持

  • Windows (x64, arm64)
  • macOS (x64, arm64)
  • Linux (x64, arm64)
  • WSL (with browser support)

References:
Version: 1.0.0 | Updated: 2026-01-23
  • Windows (x64, arm64)
  • macOS (x64, arm64)
  • Linux (x64, arm64)
  • WSL(支持浏览器)

参考链接:
版本: 1.0.0 | 更新日期: 2026年1月23日