Screen drawing

From X-School-Academy/skill-pilot · View interactive version

Screen drawing is an AI agent skill from the GitHub repository X-School-Academy/skill-pilot. Draw temporary bounding-box overlays on macOS in quick mode or manual mode. Use when you need to highlight screen regions, and run manual drawing in a tmux background session with explicit start/stop control.

How to use this skill

Skill file

AI Builder - Screen Drawing

This skill provides a macOS screen overlay tool for drawing bounding boxes.

When to Use This Skill

Your Roles in This Skill

Role Communication

As an expert in your assigned roles, you must announce your actions before performing them using the following format:

As a {Role} [and {Role}, ...], I will {action description}

This communication pattern ensures transparency and allows for human-in-the-loop oversight at key decision points.

Instructions

Follow these steps in order.

Step 1: Confirm Environment

Step 2: Quick Rectangle (Auto Exit in 5s)

Draw a single bounding box and exit after 5 seconds:

core/bin/mac-screen-drawing --mode quick --bbox '200,180,640,360' --duration 5

Notes:

Step 3: Start Manual Drawing in tmux (Background)

Start a background manual drawing process:

tmux new-session -d -s screen-drawing 'core/bin/mac-screen-drawing --mode manual --state-path .skillpilot/temp/screen-drawing-state.json'

Check session status:

tmux has-session -t screen-drawing && echo running

In manual mode:

Step 4: Stop Manual Drawing on Request

Stop the background manual drawing session:

tmux kill-session -t screen-drawing

Step 5: Optional State Inspection

Read the latest manual rectangle coordinates:

cat .skillpilot/temp/screen-drawing-state.json

Expected Output

Key Principles

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.