Skip to content
Agentmart
Submit a tool

macro-agent

Desktop macro control with image recognition.

Skill by ignaciosua

IndexedMIT★ 1
Write a review

Chalk Labs

Need help deploying macro-agent?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ignaciosua-macro-agent

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Desktop macro control with image recognition. Commands: find, search, click-on, click, move-to, write, press, hotkey, scroll, drag, screenshot, region-capture, seq-create/add/run/list/delete. ALWAYS uses template matching (image search), NEVER fixed coordinates. Use 'region-capture' to capture new elements.

Use cases: writing, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/macro-agent

What's inside

Skill name
macro-agent
Description
Desktop macro control with image recognition. Commands: find, search, click-on, click, move-to, write, press, hotkey, scroll, drag, screenshot, region-capture, seq-create/add/run/list/delete. ALWAYS uses template matching (image search), NEVER fixed coordinates. Use 'region-capture' to capture new elements.
License
MIT
Instructions
176 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (93)

  • SKILL.md
  • 123_20260115_125057.png · data/captures/
  • Abril_gaspar_hija_whatsapp_web_20260116_084957.png · data/captures/
  • ask_google_gemini_input_20260116_161523.png · data/captures/
  • ask_google_gemini_input_text_20260116_164737.png · data/captures/
  • brave_icon_open_118_1061.png · data/captures/
  • chatgpt_icon_tab_20260120_224431.png · data/captures/
  • chatgpt_input_ask_anything_20260120_224747.png · data/captures/
  • chatgpt_send_question_message_action_20260120_224916.png · data/captures/
  • chrome_icon_239_1059.png · data/captures/
  • conspiraciones_vergas_grupo_web_whatsapp_20260116_090255.png · data/captures/
  • current_screen.png · data/captures/
  • debug.png · data/captures/
  • debug_gemini_menu.png · data/captures/
  • escribir_mensaje_whatsapp_800_1001.png · data/captures/
  • estado_actual.png · data/captures/
  • firefox_icon_bottom_panel_deactivated_198_1059.png · data/captures/
  • google_gemini_hamburguer_menu_20260116_161344.png · data/captures/
  • google_gemini_send_message_icon_action_20260116_161625.png · data/captures/
  • google_gemini_tab_brave_20260116_161237.png · data/captures/
  • google_gemini_tab_brave_20260116_164312.png · data/captures/
  • google_gemini_temporal_chat_icon_20260116_161419.png · data/captures/
  • grupo_amigos_x_20260116_102049.png · data/captures/
  • home_icon_button_action_20260120_225325.png · data/captures/
  • home_icon_button_action_20260120_230520.png · data/captures/
  • pantalla_actual.png · data/captures/
  • post_message_button_publish_20260120_225158.png · data/captures/
  • post_message_button_publish_20260120_232534.png · data/captures/
  • search_bar_youtube_input_text_20260120_225522.png · data/captures/
  • send_whatsapp_message_1879_1003.png · data/captures/
  • skillrunnerinput.png · data/captures/
  • test_base64.png · data/captures/
  • user_screenshot.png · data/captures/
  • vscode_copilot_input.png · data/captures/
  • vscode_icon_active_window_159_1062.png · data/captures/
  • vscode_input_copilot_20260115_153100.png · data/captures/
  • vscode_input_copilot_20260115_161212.png · data/captures/
  • web_whatsapp_icon_20260115_131447.png · data/captures/
  • web_whatsapp_icon_with_messages_1478_20.png · data/captures/
  • web_whattsapp_icon_browser_1477_20.png · data/captures/
  • whatsapp_current.png · data/captures/
  • whatsapp_marco_primo_218_656.png · data/captures/
  • whatsapp_ross_173_353.png · data/captures/
  • x_postear_big_left_bar_20260121_072340.png · data/captures/
  • x_social_network_textinput_20260120_225026.png · data/captures/
  • x_social_network_textinput_20260120_230825.png · data/captures/
  • x_social_network_textinput_20260121_072615.png · data/captures/
  • x_tab_icon_browser_20260120_224527.png · data/captures/
  • x_tab_icon_browser_20260120_230441.png · data/captures/
  • youtube_search_bar_icon_action_button_20260121_075524.png · data/captures/
  • youtube_tab_icon_browser_20260120_224614.png · data/captures/
  • elements.json · data/
  • question_state.json · data/
  • gemini.csv · data/questions/
  • brave_chrome_brave.json · data/sequences/
  • chatgpt_send_message.json · data/sequences/
  • gemini_temporal_chat.json · data/sequences/
  • message_marco_jarvis.json · data/sequences/
  • post_to_x.json · data/sequences/
  • test_message_ross.json · data/sequences/
  • …and 33 more

SKILL.md (first lines)

# Macro Agent

Desktop automation and UI control skill with **image recognition**.

## 🚨 CRITICAL: How to Handle User Requests

**BEFORE doing ANY action, ALWAYS check if a sequence exists for it:**

1. **FIRST** run `seq-list` to see available sequences
2. **LOOK** for sequences that match the user's intent (e.g., `whatsapp_send_marco` for "send message to Marco")
3. **IF sequence exists**: Use `seq-run <sequence_name>` then add your custom actions (write message, press enter)
4. **IF NO sequence exists**: Then use individual commands

### Common Workflow: Send Message to Contact

When user says "send message to X" or "envía mensaje a X":

```
1. seq-list                          # Check available sequences
2. seq-run whatsapp_send_<contact>   # Run the messaging sequence  
3. write "<message>"                 # Type the message
4. press enter                       # Send it
```

**NEVER** use `hotkey super` or manual navigation when a sequence exists!

### Available Sequences (check with seq-list)

The user has pre-configured sequences for common tasks. Always check them first!
- `whatsapp_send_ross` - Opens WhatsApp and selects Ross contact
- `whatsapp_send_marco` - Opens WhatsApp and selects Marco contact
- Other sequences may exist - always run `seq-list` first!

## 🎯 How Element Detection Works

When using `click-on` or `move-to`, the agent **ALWAYS** uses image recognition:
1. Searches for element image on screen (template matching)
2. If not found → **FAILS** (no fallback to coordinates)

This ensures elements are found dynamically based on their actual position.

**Output includes `method` field:**
- `image` = Found by template matching ✅
- `not_found` = Image not visible on screen ❌

**If element not found:** You need to capture it first with `region-capture`.

## ⚠️ Important

**NO "navigate" command exists**. To navigate:
1. `find <name>` - Search for element info
2. `click-on <name>` - Click using image recognition (ALWAYS)

## Usage

```bash
python ~/.copilot/skills/macro-agent/macro_agent.py <command> [args]
```

## Commands Reference

| Action | Command | Example |
|--------|---------|---------|
| Search element | `find <name>` | `find brave` |
| Search text | `search <text>` | `search save` |
| Click element | `click-on <name>` | `click-on brave` |
| Click coords | `click X Y` | `click 500 300` |
| Move to element | `move-to <name>` | `move-to button` |
| Move to coords | `move X Y` | `move 500 300` |
| Write text | `write <text>` | `write "hello"` |
| Press key | `press <key>` | `press enter` |
| Hotkey | `hotkey <keys>` | `hotkey ctrl c` |
| Scroll | `scroll N` | `scroll -3` |
| Screenshot | `screenshot <name>` | `screenshot test` |
| Region capture | `region-capture` | `region-capture` |

## Sequence Commands

| Command | Description |
|---------|-------------|
| `seq-create <name>` | Create new sequence |
| `seq-add <name> "<action>"` | Add action to sequence |
| `seq-show <name>` | View sequence |
| `seq-run <name>` | Execute sequence |
| `seq-list` | List all sequences |
| `seq-delete <name>` | Delete sequence |

## Output

JSON with:
- `success`: true/false
- `action`: Command executed
- `target`: Element name (if applicable)
- `coordinates`: {x, y} position
- `message`: Result description

## Data Locations

- **Elements**: `~/.copilot/skills/macro-agent/data/elements.json` (elemento definitions)
- **Captures**: `~/.copilot/skills/macro-agent/data/captures/` (template images)
- **Sequences**: `~/.copilot/skills/macro-agent/data/sequences/` (action sequences)

## Examples

### Find and Click App
```bash
python ~/.copilot/skills/macro-agent/macro_agent.py find chrome
python ~/.copilot/skills/macro-agent/macro_agent.py click-on chrome
```

### Type and Submit
```bash
python ~/.copilot/skills/macro-agent/macro_agent.py write "search query"
python ~/.copilot/skills/macro-agent/macro_agent.py press enter
```

### Keyboard Shortcut
```bash
python ~/.copilot/skills/macro-agent/macro_agent.py hotkey ctrl shift s

From ignaciosua/copilot-skills-repo, MIT.

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Jan 23, 2026 (9 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ignaciosua

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get macro-agent running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying macro-agent?

CallGet help
Cite this page

macro-agent skill. Agent Mart. https://agentmart.dev/skills/ignaciosua-macro-agent (last updated 2026-10-24)