# Kwin desktop automation

> Kwin desktop automation is an open-source agent skill for developer tools. Lets an AI agent drive KDE Plasma Wayland desktop apps through the kwin-mcp server. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/isac322/kwin-mcp/tree/main/integrations/claude-code/skills/kwin-desktop-automation
- **Repository:** https://github.com/isac322/kwin-mcp
- **GitHub stars:** 88
- **License:** MIT
- **Skill name:** kwin-desktop-automation
- **Collection:** https://github.com/isac322/kwin-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/isac322/kwin-mcp/tree/HEAD/integrations/claude-code/skills/kwin-desktop-automation)
- [License: MIT](https://github.com/isac322/kwin-mcp/tree/HEAD/integrations/claude-code/skills/kwin-desktop-automation)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Windows desktop verification](https://ai-powered.com/skills/windows-desktop-verification): Windows desktop verification is an open-source agent skill for developer tools.
- [Desktopmanager operator](https://ai-powered.com/skills/desktopmanager-operator): Desktopmanager operator is an open-source agent skill for browser automation.
- [Windows chat verification](https://ai-powered.com/skills/windows-chat-verification): Windows chat verification is an open-source agent skill for developer tools.
- [Webapp testing](https://ai-powered.com/skills/webapp-testing-github): Webapp testing is an open-source agent skill for browser automation.
- [Cua driver](https://ai-powered.com/skills/cua-driver): Cua driver is an open-source agent skill for developer tools.
- [Desktop E2E edho ferdian](https://ai-powered.com/skills/desktop-e2e-edho-ferdian): Desktop E2E edho ferdian is an open-source agent skill for developer tools.
- [UI screenshots](https://ai-powered.com/skills/ui-screenshots): UI screenshots is an open-source agent skill for developer tools.
- [UI widget developer](https://ai-powered.com/skills/ui-widget-developer): UI widget developer is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/kwin-desktop-automation
