workiq-wsl
БесплатноБез исполняемых скриптовНе проверенAccess Microsoft 365 data (emails, calendar, files) from WSL via the Windows Copilot CLI bridge. Routes queries through powershell.exe to the Windows-native…
от rysweet★ 77 звёзд на GitHubОб этом скилле
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 execution2>&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:
Detect WSL environment:
grep -qi microsoft /proc/versionIf not WSL, fall back to the standard
work-iqskill (native MCP approach).Check Windows Copilot is available:
powershell.exe -NoProfile -Command "copilot --version" 2>&1If not found, guide user through installation (see Prerequisites §2).
Check WorkIQ plugin is installed:
powershell.exe -NoProfile -Command "copilot plugin list" 2>&1 | grep -i workiqIf not found, guide user through installation (see Prerequisites §4).
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"Parse and present: Extract the
Установить workiq-wsl в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл workiq-wsl?
Access Microsoft 365 data (emails, calendar, files) from WSL via the Windows Copilot CLI bridge. Routes queries through powershell.exe to the Windows-native Copilot CLI with WorkIQ plugin for M365 Graph API access.
Как установить скилл workiq-wsl?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл workiq-wsl запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic