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行新註解;超過1,000行的檔案上限為300行)。保留檔案編碼、縮排風格、語法正確性及……
official
adobe-illustrator-scripting
github
使用 ExtendScript (JavaScript/JSX) 編寫、除錯及最佳化 Adobe Illustrator 自動化腳本。適用於建立或修改操控…的腳本時。
official
agent-governance
github
宣告式政策、意圖分類與稽核軌跡,用於控制AI代理工具存取與行為。可組合的治理政策定義允許/封鎖的工具、內容過濾器、速率限制與核准要求——以配置而非程式碼形式儲存。語意意圖分類在工具執行前,透過基於模式的訊號偵測危險提示(資料外洩、權限提升、提示注入)。工具層級治理裝飾器在函式層級強制執行政策……
official