Token导航 LogoToken导航TokenDH.com
待分类权限需确认github未标认证来源可访问许可证需确认审计未展示

workiq-wslworkiq WSL 命令行

Agent Skill

workiq-wsl 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

470

周安装

20

GitHub Stars

55

下载量

165
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:workiq-wsl(workiq WSL 命令行)
来源仓库:https://github.com/rysweet/amplihack
仓库路径:skills/workiq-wsl
安装命令:
npx skills add https://github.com/rysweet/amplihack --skill workiq-wsl
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/rysweet/amplihack --skill workiq-wsl

简介

workiq-wsl 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围和维护状态,注意可能触发联网或文件读写操作。
  • workiq-wsl 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
workiq-wsl
description
|
version
1.0.0
auto_activates
priority
3

WorkIQ WSL Bridge Skill

Access Microsoft 365 data — emails, calendar, files, Teams — from WSL2 by bridging to the Windows-native Copilot CLI with the WorkIQ plugin installed.

Purpose

WSL2 environments cannot natively run the WorkIQ MCP server because it depends on Windows-native authentication (M365 SSO via browser). This skill solves that by routing M365 queries through powershell.exe to the Windows Copilot CLI, which has full access to the WorkIQ MCP server and Microsoft Graph API.

This means you can query your emails, check your calendar, search files, and read Teams messages — all without leaving your WSL terminal session.

Prerequisites

1. WSL2 with a Linux Distribution

You must be running inside WSL2 (not WSL1 or native Linux).

# Verify WSL2
grep -qi microsoft /proc/version && echo "WSL detected" || echo "Not WSL"

2. Windows-Native Copilot CLI

Install on the Windows host (not inside WSL):

# From Windows Terminal or PowerShell
winget install GitHub.Copilot

Verify from WSL:

powershell.exe -NoProfile -Command "copilot --version" 2>&1

3. GitHub Authentication

Authenticate the Windows Copilot CLI:

powershell.exe -NoProfile -Command "copilot login" 2>&1

4. WorkIQ Plugin

Install the WorkIQ plugin in the Windows Copilot CLI:

powershell.exe -NoProfile -Command "copilot plugin install workiq" 2>&1

5. M365 Authentication

WorkIQ will prompt for Microsoft SSO on first use. A browser window opens on the Windows host for sign-in. No extra setup needed — just approve the consent prompt.

How It Works

WSL Copilot CLI session
     │
     ▼
powershell.exe -NoProfile -Command "copilot -p '...' --allow-all-tools --silent --no-auto-update 2>&1"
     │
     ▼
Windows Copilot CLI (native)
     │
     ▼
WorkIQ MCP Server (npx @microsoft/workiq@latest mcp)
     │
     ▼
Microsoft Graph API → M365 (emails, calendar, files, Teams)

Each query spawns a powershell.exe process that invokes the Windows Copilot CLI with a natural-language prompt. The --allow-all-tools flag grants the Copilot CLI permission to call the WorkIQ MCP tool, which queries Microsoft Graph on your behalf.

Key flags:

  • --allow-all-tools — Lets Copilot use WorkIQ without manual approval
  • --silent — Suppresses interactive UI elements
  • --no-auto-update — Prevents update checks that slow down execution
  • 2>&1 — Captures both stdout and stderr from the Windows side

Usage Examples

Check Today's Meetings

powershell.exe -NoProfile -Command "copilot -p 'Use the workiq ask_work_iq tool to answer: What meetings do I have today?' --allow-all-tools --silent --no-auto-update 2>&1"

Find Recent Emails from Someone

powershell.exe -NoProfile -Command "copilot -p 'Use the workiq ask_work_iq tool to find all emails from Dustin Duran. Show me the 5 most recent ones with their subject lines, dates sent, and a brief summary of each email.' --allow-all-tools --silent --no-auto-update 2>&1"

Search for Files

powershell.exe -NoProfile -Command "copilot -p 'Use the workiq ask_work_iq tool to answer: Find my most recent PowerPoint files in OneDrive and SharePoint.' --allow-all-tools --silent --no-auto-update 2>&1"

Get Email Summaries

powershell.exe -NoProfile -Command "copilot -p 'Use the workiq ask_work_iq tool to answer: Summarize the most important unread emails in my inbox from the last 24 hours.' --allow-all-tools --silent --no-auto-update 2>&1"

Check This Week's Calendar

powershell.exe -NoProfile -Command "copilot -p 'Use the workiq ask_work_iq tool to answer: What does my calendar look like for the rest of this week? List all meetings with times and attendees.' --allow-all-tools --silent --no-auto-update 2>&1"

Activation Instructions

This skill activates when the user mentions emails, calendar, meetings, M365, Microsoft 365, Outlook, or WorkIQ in a WSL environment.

Detection Logic

When activated, perform these checks in order:

  1. Detect WSL environment:
   grep -qi microsoft /proc/version

If not WSL, fall back to the standard work-iq skill (native MCP approach).

  1. Check Windows Copilot is available:
   powershell.exe -NoProfile -Command "copilot --version" 2>&1

If not found, guide user through installation (see Prerequisites §2).

  1. Check WorkIQ plugin is installed:
   powershell.exe -NoProfile -Command "copilot plugin list" 2>&1 | grep -i workiq

If not found, guide user through installation (see Prerequisites §4).

  1. Route the query: Build the powershell.exe command with the user's natural-language

question and execute it:

   powershell.exe -NoProfile -Command "copilot -p 'Use the workiq ask_work_iq tool to answer: <USER_QUERY>' --allow-all-tools --silent --no-auto-update 2>&1"
  1. Parse and present: Extract the relevant answer from the Copilot CLI output

and present it cleanly to the user.

If Prerequisites Are Missing

Guide the user through setup:

It looks like you're in WSL but the Windows Copilot CLI isn't set up for WorkIQ yet.

To set up M365 access from WSL:
1. Install Copilot CLI on Windows: winget install GitHub.Copilot
2. Authenticate: powershell.exe -NoProfile -Command "copilot login"
3. Install WorkIQ: powershell.exe -NoProfile -Command "copilot plugin install workiq"
4. Try your query again — WorkIQ will prompt for M365 sign-in on first use.

Troubleshooting

ProblemCauseSolution
copilot: command not foundCopilot CLI not installed on Windows hostInstall via winget install GitHub.Copilot from Windows Terminal
powershell.exe: not foundNot running in WSL2 or WSL interop disabledCheck cat /proc/sys/fs/binfmt_misc/WSLInterop exists
WorkIQ timeout / no responseM365 auth expired or never completedRun the query again — it will re-trigger browser auth
PowerShell execution policy errorRestrictive execution policyThe -NoProfile flag avoids this; if persists, run Set-ExecutionPolicy RemoteSigned -Scope CurrentUser in PowerShell
Quote escaping issuesNested quotes between bash and PowerShellUse double quotes for the outer PowerShell command, single quotes for the inner Copilot prompt
Garbled output or ANSI codesTerminal encoding mismatchPipe output through sed 's/\x1b\[[0-9;]*m//g' to strip ANSI escape codes
GitHub auth requiredCopilot CLI not authenticatedRun powershell.exe -NoProfile -Command "copilot login"
Slow responses (30s+)Normal — each query boots Copilot + WorkIQ MCPExpected behavior; first query is slowest due to MCP server startup

Limitations

  • Write actions may require additional permissions — WorkIQ can query M365 data and draft content. Sending emails, creating documents, and posting Teams messages may require additional M365 admin consent or Graph API permissions. If write operations fail, check your tenant's app permissions for the WorkIQ integration.
  • WSL-only — Requires a Windows host with Copilot CLI installed. Does not work on native Linux or macOS.
  • No session persistence — Each query spawns a new Copilot CLI process. There is no conversational memory between queries.
  • Startup latency — Response time includes Copilot CLI startup + WorkIQ MCP server initialization (~10-30 seconds per query).
  • Output parsing — Copilot CLI output includes status messages and formatting that must be filtered to extract the actual answer.
  • Auth scope — Access is limited to what your M365 account has permissions for. Admin consent may be required for some tenants.
  • No streaming — The full response is returned only after the Windows Copilot CLI process completes.

Relationship to work-iq Skill

This skill complements the existing work-iq skill:

work-iqworkiq-wsl
EnvironmentAny (native MCP)WSL2 only
How it connectsDirect MCP server connectionBridge via powershell.exe → Windows Copilot CLI
AuthBrowser from current OSBrowser on Windows host
LatencyLow (direct MCP)Higher (~10-30s per query)
SessionPersistent MCP connectionNew process per query

Use work-iq when running natively. Use workiq-wsl when running inside WSL2 and the native MCP approach is unavailable.


Version: 1.0.0 | Updated: 2025-07-14

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

39.28%
按下载量换算65

Claude

27.92%
按下载量换算46

Cursor

17.78%
按下载量换算29

Gemini CLI

10.02%
按下载量换算17

安全审计

暂无安全审计结果可展示。

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

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

来源信息

继续浏览同类 Skills