Gives Claude control over your mouse, keyboard, and screen through PyAutoGUI. You can automate clicks, type text, execute hotkeys, take screenshots, and even use OCR to locate text on screen. Works across Windows, macOS, and Linux. The app control commands let you open and focus applications by name. Most useful for repetitive GUI tasks like form filling, testing interfaces, or scraping data from applications without APIs. The image matching feature is handy but needs exact visual matches, so adjust confidence levels if things don't line up. Remember PyAutoGUI's fail-safe: mouse to corner kills everything.

GitHub stars
2
last updated
Jun 3, 2026

Install

$ npx -y skills add patrickporto/desktop-agent --skill 'Desktop Control' --agent claude-code

Installs into .claude/skills of the current project.

Files

Desktop Control Skill

This skill provides comprehensive desktop automation capabilities through PyAutoGUI, allowing AI agents to control the mouse, keyboard, take screenshots, and interact with the desktop environment.

How to Use This Skill

As an AI agent, you can invoke desktop automation commands using the uvx desktop-agent CLI.

Command Structure

All commands follow this pattern:

uvx desktop-agent <category> <command> [arguments] [options]

Categories:

  • mouse - Mouse control
  • keyboard - Keyboard input
  • screen - Screenshots and screen analysis
  • message - User dialogs
  • app - Application control (open, focus, list windows)

Available Commands

🖱️ Mouse Control (mouse)

Control cursor movement and clicks.

# Move cursor to coordinates
uvx desktop-agent mouse move <x> <y> [--duration SECONDS]

# Click at current position or specific coordinates
uvx desktop-agent mouse click [x] [y] [--button left|right|middle] [--clicks N]

# Specialized clicks
uvx desktop-agent mouse double-click [x] [y]
uvx desktop-agent mouse right-click [x] [y]
uvx desktop-agent mouse middle-click [x] [y]

Sponsors

Details

Repository
github.com/patrickporto/desktop-agent
Category
AI & Agent Building
First seen
Jun 3, 2026
1Prat011 avataralgorithmic-artPrat011/awesome-llm-skillsCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generati0skills.sh installs
2Prat011 avatarartifacts-builderPrat011/awesome-llm-skillsSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for0skills.sh installs
3Prat011 avatarcanvas-designPrat011/awesome-llm-skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, d0skills.sh installs
4Prat011 avatarchangelog-generatorPrat011/awesome-llm-skillsAutomatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, 0skills.sh installs
5Prat011 avatarcompetitive-ads-extractorPrat011/awesome-llm-skillsExtracts and analyzes competitors' ads from ad libraries (Facebook, LinkedIn, etc.) to understand what messaging, problems, and creative approaches are working.0skills.sh installs
6Prat011 avatarcontent-research-writerPrat011/awesome-llm-skillsAssists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on ea0skills.sh installs