work-iq
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWork 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-eulabash
npx @microsoft/workiq accept-eula2. Configure MCP
2. 配置MCP
Add to your project's :
.mcp.jsonjson
{
"mcpServers": {
"workiq": {
"command": "npx",
"args": ["-y", "@microsoft/workiq", "mcp"]
}
}
}将以下内容添加到项目的中:
.mcp.jsonjson
{
"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命令
| Command | Description |
|---|---|
| Accept End User License Agreement (required first) |
| Interactive query mode |
| Ask a specific question |
| Start MCP server (used by Claude Code) |
| Show version info |
| 命令 | 描述 |
|---|---|
| 接受最终用户许可协议(必须先完成) |
| 交互式查询模式 |
| 提出特定问题 |
| 启动MCP服务器(供Claude Code使用) |
| 显示版本信息 |
Prerequisites
前提条件
- Microsoft 365 Account - Active M365 subscription
- Node.js - For npx command
- Admin Consent - May be required for some M365 tenants
- Microsoft 365账户 - 有效的M365订阅
- Node.js - 用于执行npx命令
- 管理员同意 - 部分M365租户可能需要
Quick Troubleshooting
快速故障排除
| Problem | Solution |
|---|---|
| "EULA not accepted" | Run |
| "Authentication failed" | Re-run query to trigger fresh auth flow |
| "Admin consent required" | Contact your M365 tenant administrator |
| "WSL browser issues" | Install |
| 问题 | 解决方案 |
|---|---|
| "未接受最终用户许可协议" | 运行 |
| "身份验证失败" | 重新运行查询以触发新的身份验证流程 |
| "需要管理员同意" | 联系你的M365租户管理员 |
| "WSL浏览器问题" | 安装 |
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日