askill
osctrl-desktop-automation

osctrl-desktop-automationSafety --Repository

Use when automating desktop interactions via OSCTRL CLI - mouse, keyboard, screen capture, window management. ALWAYS get context before mouse operations.

0 stars
1.2k downloads
Updated 1/15/2026

Package Files

Loading files...
SKILL.md

OSCTRL Desktop Automation Skill

When to Use

  • Automating mouse clicks, movements, drags
  • Typing text or pressing keys programmatically
  • Managing windows (focus, move, resize, minimize/maximize)
  • Taking screenshots for verification
  • Reading/writing clipboard
  • Launching or listing processes

Critical Rule

ALWAYS call osctrl context before any mouse operation. Never click blindly.

Quick Reference

CommandPurpose
osctrl contextGet screen size, mouse position, active window
osctrl mouse move <x> <y>Move cursor
osctrl mouse clickLeft click
osctrl keyboard type <text>Type text
osctrl keyboard hotkey <keys...>Key combination (ctrl c, alt f4)
osctrl screen capture --output <path>Screenshot
osctrl window focus <title>Focus window

Workflow

1. osctrl context              # Get state
2. Validate coordinates        # Within screen bounds
3. osctrl window focus <app>   # Ensure correct window
4. osctrl mouse move <x> <y>   # Position cursor
5. osctrl mouse click          # Execute action
6. osctrl screen capture       # Verify result

See Also

Full instructions available in docs/ai-instructions/ for:

  • Claude Code (CLAUDE.md)
  • Cursor (.cursorrules)
  • OpenAI Codex
  • Gemini CLI

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

AI review pending.

Metadata

Licenseunknown
Version-
Updated1/15/2026
Publisher01000001-01001110

Tags

github-actionsllm