mac-use

mac-use is a skill for Claude Code, Codex from polyuiislab/infiAgent. It costs 34 tokens per session (2,427 once invoked), scanned A, original, GPL-3.0.

A way to control Mac desktop applications through their visible screens. It can use screenshots and simulated mouse, scrolling, and keyboard actions.

In plain words
What is it for?
Use it to click buttons, scroll through windows, type into apps, and interact with Mac software on screen.
Why use it?
It helps automate or complete tasks in graphical Mac applications that do not have a simpler text-based interface.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to click buttons, scroll through windows, type into apps, and interact with Mac software on screen.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/polyuiislab/infiagent/mac-use
About the project

infiAgent is an agent framework for building long-running AI agents from configuration files. It supports hierarchical or flat agent setups, persistent workspace memory, resumable execution, and on-demand use of Agent Skills. The catalogue entries provide skills for agents built with this framework.

polyuiislab/infiAgent · 1,188 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add polyuiislab/infiAgent --skill mac-use
Clone the repo
git clone --depth 1 https://github.com/polyuiislab/infiAgent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mac-use

README.md
[![agentmods](https://agentmods.dev/badge/skills/polyuiislab/infiagent/mac-use/github.svg)](https://agentmods.dev/skills/polyuiislab/infiagent/mac-use)
Your own site
<a href="https://agentmods.dev/skills/polyuiislab/infiagent/mac-use"><img src="https://agentmods.dev/badge/skills/polyuiislab/infiagent/mac-use/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mac-use

Your own site · 80×15
<a href="https://agentmods.dev/skills/polyuiislab/infiagent/mac-use"><img src="https://agentmods.dev/badge/skills/polyuiislab/infiagent/mac-use.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,427 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.02427
Opus 5.5 $0.00014 $0.00971
Sonnet 5.5 $0.00007 $0.00485
Haiku 4.5 $0.00003 $0.00243

Measured 1mo ago against content hash 9c3e734f6167, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mac-use scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/mac_use.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mac-use/SKILL.md · 225 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 225 lines · 34 tokens per session scan A 9c3e734f6167

Subscribe to this mod's changes

mac-use is a skill published in the GitHub repository polyuiislab/infiAgent (1,188 stars, last pushed 3mo ago), licensed GPL-3.0. It adds 34 tokens to every session and 2,427 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

playwright

Use when the task requires capturing or automating a real browser from the terminal.

openai/openai-agents-python · 19 tokens

dingtalk_channel_connect

Use a headed browser to automatically complete DingTalk channel integration for QwenPaw. Applicable when the user mentions DingTalk, developer console, Client ID, Client Secret, bot, Stream mode, binding or configuring a channel. Supports pausing when a login page is detected and resuming after the user logs in.

agentscope-ai/QwenPaw · 69 tokens

browser_cdp

Browser connection controls for finding local debugging ports, attaching to an already running Chrome browser, or sharing one browser between tools.

agentscope-ai/QwenPaw · 85 tokens

browser_visible

Use this skill when the user needs to control the browser launch mode for browser. By default browser is managed by Playwright and opens no debugging port (pass an explicit cdpport to let another local tool attach); headed controls whether the window is visible, and privatemode is kept for backward compatibility and…

agentscope-ai/QwenPaw · 75 tokens

browser

Drive a live browser with async Python against QwenPaw's builtin Browser SDK. The full reference is below; re-load this browser skill after context compaction.

agentscope-ai/QwenPaw · 35 tokens

hive.slack-notifications-setup

Set up a Slack notification channel (Sentinel) for a colony by driving the browser — reuse or create the "Hive Sentinel" Slack app from a JSON manifest, install it, capture the bot + app tokens, create/select the channel via the Slack API, and turn Sentinel on so the colony can ping the user on Slack and accept…

aden-hive/hive · 136 tokens