argent-macos-app-interact

argent-macos-app-interact is a skill for Claude Code, Codex from software-mansion/argent. It costs 53 tokens per session (1,518 once invoked), scanned A, original, Apache-2.0.

A procedure for controlling a native macOS application through argent, including AppKit, SwiftUI, and React Native macOS apps. It does not cover iOS devices or Electron and Chromium apps.

In plain words
What is it for?
Use it to build, start, restart, and interact with a native Mac app through argent.
Why use it?
It prevents developers from using the wrong device type or launching an app outside argent's required setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build, start, restart, and interact with a native Mac app through argent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/software-mansion/argent/argent-macos-app-interact
About the project

Argent is a toolkit that lets an AI assistant control and inspect iOS, Android, TV, Electron, and Chromium applications through simulators, emulators, physical devices, or desktop connections. It is for developers who want an agent to interact with interfaces, reproduce issues, test features, debug applications, or run profiling tasks. The catalogue add-ons expose Argent's device-control and development workflows to coding agents.

software-mansion/argent · 3,269 stars · on GitHub · argent.swmansion.com

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 software-mansion/argent --skill argent-macos-app-interact
Clone the repo
git clone --depth 1 https://github.com/software-mansion/argent

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 argent-macos-app-interact

README.md
[![agentmods](https://agentmods.dev/badge/skills/software-mansion/argent/argent-macos-app-interact/github.svg)](https://agentmods.dev/skills/software-mansion/argent/argent-macos-app-interact)
Your own site
<a href="https://agentmods.dev/skills/software-mansion/argent/argent-macos-app-interact"><img src="https://agentmods.dev/badge/skills/software-mansion/argent/argent-macos-app-interact/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 argent-macos-app-interact

Your own site · 80×15
<a href="https://agentmods.dev/skills/software-mansion/argent/argent-macos-app-interact"><img src="https://agentmods.dev/badge/skills/software-mansion/argent/argent-macos-app-interact.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,518 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. Third-party audits
  • Socket pass 25 Nov 2026
  • Snyk pass 27 Nov 2026
How audits are shown
Origin original 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.00053 $0.01518
Opus 5.5 $0.00021 $0.00607
Sonnet 5.5 $0.00011 $0.00304
Haiku 4.5 $0.00005 $0.00152

Measured 2d ago against content hash efc476ab05b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

argent-macos-app-interact 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 2d ago.

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.

packages/skills/skills/argent-macos-app-interact/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

argent-device-interact still applies for everything not listed here (run-sequence, await-ui-element, secrets).

Contract

  • Needs the macos-apps flag, which is on by default. When a tool says it is off, tell the user to run the command it names. Do not change the flag yourself.
  • One app is one device. list-devices shows only apps argent started that still run, also those of other sessions: never pick one unless the user named that app or this session started it.
  • Start an app with boot-device {macosAppPath: "<abs path>.app"}, never with open or Xcode. Use launch-app only for an app argent already started: with no recorded path it takes whichever copy Spotlight finds.
  • Build the .app without starting it: xcodebuild ... build, then take the bundle from BUILT_PRODUCTS_DIR (xcodebuild -showBuildSettings). Xcode Run and react-native run-macos start a copy without the argent library: boot-device then fails with already running ... without the argent library. Retry with force: true, but ask the user first when they may have work open in that copy.
  • Never pass force when the error names another build path; report it.
  • After a code change: rebuild, then restart-app.
  • A start result with a note that the app showed no window: taps and screenshots need one. Tell the user, and read the log file it names.
  • On a hardened-runtime refusal, report it to the user. Do not sign files or change code signing.
  • Never activate the app or drive it with osascript, open or other system tools.
  • At the end: stop-all-simulator-servers {devices: ["macos-app-<bundle id>"]} closes argent's connection; the app keeps running.

Per-tool notes

  • Swipe or drag: gesture-drag. Long press: gesture-drag with the same start and end point. Scroll: gesture-scroll.
  • Zoom or rotate: gesture-pinch and gesture-rotate fail; use the app's own controls or shortcuts.
  • After a right-click (gesture-tap with button: "right"), the returned tree lists the menu items; a plain gesture-tap on one chooses it (the menu can stay in the tree for a moment while it closes). keyboard escape closes the menu; enter chooses nothing after a right-click, so tap the item.
  • For a Command-click or Shift-click, pass modifiers in the gesture-tap call. Check the returned tree for the expected selection.
  • No hover: a tooltip is out of reach.
  • open-url: the URL goes to the running app. A custom scheme must be one the app declares; http and https go to the app, not the browser; a file: URL opens that document in the app.
  • A SwiftUI DisclosureGroup opens only at its chevron, near the left end of its frame: a tap at the centre passes and does nothing. Tap along the left end in steps of about 0.008 until its value changes.
  • menu-bar for any menu command. An item listed [disabled] cannot be chosen right now: an edit command (Copy, Select All) needs the text field clicked first; while an alert is open only its own commands work, so answer the alert first. When a menu of the app is open, choose fails: send keyboard {key: "escape"}, then choose again.
  • Open and save panels: never click in the file list, which describe cannot read. Use file-panel, also for the Delete or Don't Save prompt of an edited new document.

Read the full file on GitHub · 59 lines

Files

What ships with it

1 file 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. 2d ago Changed · -31 tokens per session efc476ab05b7
  2. 4d ago Changed daa98452c159
  3. 6d ago Changed ca1dee0a8bc4
  4. 9d ago Changed · +10 lines · +3 tokens per session 706f5267087d
  5. 11d ago Changed · +4 lines 9425d7be90dd
  6. 17d ago Changed 902a5d256dff
  7. 19d ago First seen · 45 lines · 81 tokens per session scan A a08db86d9dca

Subscribe to this mod's changes

argent-macos-app-interact is a skill published in the GitHub repository software-mansion/argent (3,269 stars, last pushed today), licensed Apache-2.0. It adds 53 tokens to every session and 1,518 once invoked, about $0.0002 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-11-11.

Related

argent-macos-app-interact compared with skills from other repositories

argent-macos-app-interact next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
argent-macos-app-interactsoftware-mansion/argentSkill3.3ktodayApache-2.0A53Claude Code, Codex
truesheet-usagelodev09/react-native-true-sheetSkill2.1ktodayMITA171Claude Code, Codex
react-nativeericrisco/rsc-harnessSkill6824d agoMITA90Claude Code, Codex
uniwinduni-stack/uniwindSkill1.8k4d agoMITA130Claude Code, Codex
Detox Mobile TestingPramodDutta/qaskillsSkill25227d agoMITA48Claude Code, Codex
migrate-nativewind-to-uniwinduni-stack/uniwindSkill1.8k4d agoMITC82Claude Code, Codex
react-native-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A62Claude Code