Skip to content
Skill

Kwin desktop automation

Lets an AI agent drive KDE Plasma Wayland desktop apps through the kwin-mcp server

Kwin desktop automation is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
88
Last commit
License
MIT
Listing updated

Similar skills

About Kwin desktop automation

This skill teaches an agent how to operate Linux KDE Plasma 6 Wayland desktops via the kwin-mcp MCP server. It covers choosing between an isolated virtual compositor and attaching to a live KWin session, and it sets out a loop of observing windows and accessibility elements before acting and then verifying the result. Accessibility-based actions are preferred over pointer gestures, with screenshots used as a fallback.

The guidance also covers input handling: US-QWERTY-only typing by default, a Unicode paste path for other characters, held keys and buttons, window focus and placement, and screenshot coordinate mapping. A section of platform pitfalls explains where AT-SPI2, QMenu popups, screen-edge gestures and clipboard access behave unexpectedly, and cleanup steps ensure sessions and held input are released.

The skill expects the kwin-mcp MCP server to be installed and running on a Linux KDE Plasma session, with the Claude Code plugin marketplace as the distribution route. It ships as a single SKILL.md with no bundled scripts.

When your agent uses it

Use when the user asks to launch, click, type, screenshot, or otherwise drive a Linux KDE Plasma / Wayland desktop app through the kwin-mcp MCP server. Trigger when kwin-mcp tools are available and the task involves desktop GUI automation, end-to-end GUI testing, kiosk / embedded device control, or live KDE Plasma session interaction. Teaches session-mode selection (virtual vs live), the observe-act-verify loop, element refs and element_act vs screen capture tradeoffs, US-QWERTY vs Unicode typing, held input, and platform pitfalls (global logical coordinates, QMenu invisibility, EIS edge limits, clipboard opt-in).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (20 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the kwin-mcp plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add isac322/kwin-mcp
/plugin install kwin-mcp@kwin-mcp

Or copy only this skill to ~/.claude/skills/kwin-desktop-automation:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/isac322/kwin-mcp.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/kwin-desktop-automation &&
cp -R "$tmp/integrations/claude-code/skills/kwin-desktop-automation" ~/.claude/skills/kwin-desktop-automation &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/kwin-desktop-automation inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/kwin-desktop-automation to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/isac322/kwin-mcp.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/kwin-desktop-automation &&
cp -R "$tmp/integrations/claude-code/skills/kwin-desktop-automation" ~/.agents/skills/kwin-desktop-automation &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/kwin-desktop-automation inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/kwin-desktop-automation to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/isac322/kwin-mcp.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/kwin-desktop-automation &&
cp -R "$tmp/integrations/claude-code/skills/kwin-desktop-automation" ~/.cursor/skills/kwin-desktop-automation &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/kwin-desktop-automation inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/isac322/kwin-mcp.git --path integrations/claude-code/skills/kwin-desktop-automation

Or copy the folder to ~/.gemini/skills/kwin-desktop-automation yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/kwin-desktop-automation:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/isac322/kwin-mcp.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/kwin-desktop-automation &&
cp -R "$tmp/integrations/claude-code/skills/kwin-desktop-automation" ~/.copilot/skills/kwin-desktop-automation &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/kwin-desktop-automation inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/isac322/kwin-mcp.git

Then copy kwin-mcp/integrations/claude-code/skills/kwin-desktop-automation into your agent's skills folder as kwin-desktop-automation. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Session mode selection
Guides the choice between an isolated virtual KWin session and attaching to a live desktop.
Observe-act-verify loop
Structures each GUI step around cheap observation, a targeted action, and a confirmation check.
Accessibility-first actions
Prefers AT-SPI2 element references and semantic actions over raw pointer coordinates.
Input and typing rules
Covers US-QWERTY typing, Unicode paste fallback, and held keys or buttons.
Platform pitfalls
Documents Wayland limits such as hidden menus, edge gestures and clipboard opt-in.
Cleanup discipline
Requires releasing held input and stopping sessions, and removing kept artifacts.

Good for

  • Take a screenshot of my current KDE desktop
  • Click the Save button in Kate and confirm the dialog opened
  • Type Korean text into the focused field on a Plasma session
  • Run an end-to-end GUI test of a KDE app in a headless session
  • Find which window currently has focus and move it to another desktop

Kwin desktop automation FAQ

What does the skill need to run?

It requires the kwin-mcp MCP server and a Linux KDE Plasma 6 Wayland environment; without kwin-mcp tools available, the skill does not apply.

Does Kwin desktop automation work on a live desktop or only in isolated sessions?

Both. A virtual session runs an isolated compositor, while a live session attaches to the user's running KWin desktop or a container or kiosk.

Can Kwin desktop automation type non-English text?

Yes, by using the unicode method for non-ASCII text. The default keys method only accepts US-QWERTY characters.

Does Kwin desktop automation include scripts?

No, the folder contains a single SKILL.md file and no scripts.

How do I install Kwin desktop automation in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/kwin-desktop-automation to use it in all your projects, or to .claude/skills/kwin-desktop-automation in one project. Or install the kwin-mcp plugin, which includes it: /plugin marketplace add isac322/kwin-mcp, then /plugin install kwin-mcp@kwin-mcp.

Does Kwin desktop automation run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Kwin desktop automation?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Kwin desktop automation?

The closest alternatives to Kwin desktop automation are Windows desktop verification, Desktopmanager operator, Windows chat verification, Webapp testing and Cua driver.

Where this comes from

  • Description: from the skill's own SKILL.md.