workiq-copilot

作者: github

使用自然语言查询Microsoft 365数据,获取邮件、会议、文档、Teams消息和人员洞察。支持五种数据源:邮件、会议、文档、Teams频道以及人员/项目,可通过自然语言提示操作。建议通过Copilot CLI插件安装,或使用独立npm包;首次使用需获得Microsoft 365租户管理员同意。核心工作流程:明确意图,构建包含时间范围和来源的精确提示,运行workiq ask --question "...",并流式输出结果。

npx skills add https://github.com/github/awesome-copilot --skill workiq-copilot

WorkIQ Copilot Skill

Overview

WorkIQ (Public Preview) lets Copilot query Microsoft 365 data with natural language. It supports schedules, documents, Teams messages, email threads, follow-up tracking, stakeholder summaries, and more. Use this skill whenever a task needs live organizational intelligence beyond the local repository.

Supported Data & Sample Prompts

  • Emails – “Summarize emails from Sarah about the budget.”
  • Meetings – “What are my upcoming meetings this week?”
  • Documents – “Find recent documents about Q4 planning.”
  • Teams – “Summarize messages in the Engineering channel today.”
  • People/Projects – “Who is working on Project Alpha?”

Getting Access

  1. Copilot CLI plugin (preferred)
    • copilot
    • /plugin marketplace add github/copilot-plugins
    • /plugin install workiq@copilot-plugins
    • Restart Copilot CLI.
  2. Standalone CLI / MCP server
    • npm install -g @microsoft/workiq (or npx -y @microsoft/workiq mcp).
    • Run workiq mcp to expose MCP tools if needed.
  3. Tenant consent
    • First use prompts for Microsoft 365 admin consent (EULA + permissions). Non-admins must contact tenant admin to approve per the Tenant Administrator Enablement Guide.

Pre-flight Checklist

  • Run Get-Command workiq to ensure the binary is available.
  • Accept the EULA once via workiq accept-eula.
  • Confirm the correct tenant (-t <tenant-id> if different from default common).
  • Be ready to complete device login in the browser when prompted.

Core Workflow

  1. Clarify intent – agenda, action items, document lookup, people search, risk summary, etc.
  2. Craft precise prompt – include timeframe, source, or topic (e.g., “Summarize Teams posts in #eng for today”).
  3. Run commandworkiq ask --question "<prompt>" (use -q for shorthand if desired).
  4. Monitor execution – long answers may stream; wait for the response to finish before issuing additional requests.
  5. Summarize & redact – highlight insights, note conflicts/tasks, avoid pasting raw links unless required.
  6. Offer follow-ups – blocking time, drafting notes, deeper queries, etc.

Command Reference

CommandPurpose
workiq --helpShow global options.
workiq versionDisplay installed version.
workiq accept-eulaAccept license (first use).
workiq askInteractive mode.
workiq ask --question "..."Ask a specific question (use -q shorthand if preferred).
workiq ask -t <tenant> -q "..."Target a specific tenant.
workiq mcpStart MCP stdio server (expose WorkIQ tools to other agents).

Prompt Patterns

  • Agenda: “What’s on my calendar tomorrow?”
  • Action items: “Summarize follow-ups from today’s customer sync.”
  • Documents: “List PowerPoints about Contoso FY26 roadmap.”
  • Communications: “What did my manager say about the deadline?”
  • Insights: “What blockers came up in the last three meetings?”
  • Planning: “Suggest focus blocks for Tuesday afternoon.”

Response Guidelines

  • Keep summaries concise (2–3 sentences) calling out load, priorities, blockers, and optional next steps.
  • Refer to meetings/documents generically unless the user specifically needs links.
  • Mention if WorkIQ can continue (e.g., “WorkIQ can show Thu–Sun if needed”).
  • Map WorkIQ’s suggested actions to clear offers (block time, send follow-up, request recording, run deeper query).

Best Practices

  • Prefer narrow prompts to reduce noise; run multiple queries if needed.
  • Combine outputs logically (agenda + conflicts + action items) before responding.
  • Respect privacy: do not expose attendee lists or confidential snippets unless explicitly requested.
  • Log which commands were run so future steps can reference them (“Asked WorkIQ for agenda + conflicts”).
  • Use MCP mode (workiq mcp) when another agent/workflow needs direct tool access.

Troubleshooting

  • Missing CLI – install via npm or ensure PATH is set; notify user if unavailable.
  • Consent/auth errors – re-run command after admin grants permissions or after completing device login.
  • Long/incomplete output – rerun with refined scope or ask for specific data slices (per day/project/person).
  • Command hanging – cancel the running command in your terminal (for example, with Ctrl+C) or restart the Copilot CLI session, then retry; ensure browser login completed.

Follow-up Actions to Offer

  • Block focus/overflow holds at suggested times.
  • Draft reschedule/decline messages referencing WorkIQ guidance.
  • Request recordings or summaries for overlapping sessions.
  • Capture action items into task trackers.
  • Run additional WorkIQ queries (by project, stakeholder, time range) for deeper analysis.

来自 github 的更多技能

console-rendering
github
在Go中使用基于结构体标签的控制台渲染系统的说明
official
acquire-codebase-knowledge
github
当用户明确要求映射、记录或熟悉现有代码库时使用此技能。触发词如“映射此代码库”、“记录…
official
acreadiness-assess
github
Run the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at reports/index.html. Wraps `npx github:microsoft/agentrc…
official
acreadiness-generate-instructions
github
通过AgentRC指令命令生成定制化的AI代理指令文件。生成.github/copilot-instructions.md(默认,推荐用于VS Code中的Copilot…
official
acreadiness-policy
github
帮助用户选择、编写或应用AgentRC策略。策略通过禁用无关检查、覆盖影响/级别、设置…来定制就绪评分。
official
add-educational-comments
github
为代码文件添加教育性注释,将其转化为有效的学习资源。根据三个可配置的知识水平(初级、中级、高级)调整解释深度和语气。若未提供文件,自动请求文件,并附带编号列表以便快速选择。仅通过教育性注释将文件扩展最多125%(硬性限制:新增400行;超过1000行的文件限制为300行)。保留文件编码、缩进风格、语法正确性以及...
official
adobe-illustrator-scripting
github
使用ExtendScript(JavaScript/JSX)编写、调试和优化Adobe Illustrator自动化脚本。在创建或修改操作…的脚本时使用。
official
agent-governance
github
声明式策略、意图分类及审计追踪,用于控制AI代理工具访问与行为。可组合的治理策略定义允许/禁止的工具、内容过滤器、速率限制及审批要求——以配置而非代码形式存储。语义意图分类在执行工具前通过基于模式的信号检测危险提示(数据泄露、权限提升、提示注入)。工具级治理装饰器在函数层面强制执行策略...
official