argent-macos-app-interact
Drive a native Mac app (AppKit, SwiftUI, react-native-macos, Mac Catalyst) through argent
Install / Use
npx skills add software-mansion/argent --skill argent-macos-app-interactInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
LegalSupported Platforms
Our assessment of argent-macos-app-interact
argent-macos-app-interact scores 81/100 on our quality scale, 178th of 213 Legal skills we index.
Its SKILL.md is 6.3 KB long, split into 7 sections and no code examples: a thorough specification that gives an agent plenty to work with.
With 3,226 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 4 days ago, so argent-macos-app-interact is actively maintained.
- Our last check on 2026-11-28 found the source still online.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-11-27. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
argent-macos-app-interact compared with similar skills
All 4 of these similar skills score higher than argent-macos-app-interact; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| argent-macos-app-interact (this skill)by software-mansion | 81 | 3.2k | 4d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 2mo ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 2mo ago | SKILL.md |
| prospectingby coreyhaines31 | 100 | 62.2k | 8d ago | SKILL.md |
| ad-creativeby coreyhaines31 | 100 | 62.2k | 8d ago | SKILL.md |
Frequently asked questions
- How do I install argent-macos-app-interact?
- Run
npx skills add software-mansion/argent --skill argent-macos-app-interact. The install tabs above show the steps for each supported agent. - Which AI agents does argent-macos-app-interact work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is argent-macos-app-interact safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is argent-macos-app-interact still maintained?
- The repository was last updated 4 days ago, so argent-macos-app-interact is actively maintained.
Skill content
View source on GitHubname: argent-macos-app-interact description: Drive a native Mac app (AppKit, SwiftUI, react-native-macos, Mac Catalyst) through argent. Use when a list-devices entry has platform "macos", or the user names a Mac app, a macOS app or a native desktop app. Never for an iOS simulator, an iPhone, or an Electron or Chromium app (platform "chromium").
argent-device-interact still applies for everything not listed here (run-sequence, await-ui-element, secrets).
Contract
- Needs the
macos-appsflag, 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-devicesshows 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 withopenor Xcode. Uselaunch-apponly for an app argent already started: with no recorded path it takes whichever copy Spotlight finds. - Build the
.appwithout starting it:xcodebuild ... build, then take the bundle fromBUILT_PRODUCTS_DIR(xcodebuild -showBuildSettings). Xcode Run andreact-native run-macosstart a copy without the argent library:boot-devicethen fails withalready running ... without the argent library. Retry withforce: true, but ask the user first when they may have work open in that copy. - Never pass
forcewhen the error names another build path; report it. - After a code change: rebuild, then
restart-app. - A start result with a
notethat 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,openor 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-dragwith the same start and end point. Scroll:gesture-scroll. - Zoom or rotate:
gesture-pinchandgesture-rotatefail; use the app's own controls or shortcuts. - After a right-click (
gesture-tapwithbutton: "right"), the returned tree lists the menu items; a plaingesture-tapon one chooses it (the menu can stay in the tree for a moment while it closes).keyboardescapecloses the menu;enterchooses nothing after a right-click, so tap the item. - For a Command-click or Shift-click, pass
modifiersin thegesture-tapcall. 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;httpandhttpsgo to the app, not the browser; afile:URL opens that document in the app.- A SwiftUI
DisclosureGroupopens 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 itsvaluechanges. menu-barfor 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,choosefails: sendkeyboard {key: "escape"}, then choose again.- Open and save panels: never click in the file list, which
describecannot read. Usefile-panel, also for the Delete or Don't Save prompt of an edited new document.
Tree
- Identifiers: AppKit and UIKit
accessibilityIdentifier, SwiftUI.accessibilityIdentifier(), webdata-testid(elseid), React NativetestID(also on a plainVieworTextin react-native-macos). - Hint
The Mac is lockedorfallback walk: clicks and typing still work, elements can be missing (an open context menu among them), and ahiddencheck cannot pass. Ask the user to unlock when a target is missing. - An action that fails or has no effect: a minimized window takes no input. Restore it by choosing it in the Window menu with
menu-bar; without such an item, ask the user.
Mac Catalyst (kind catalyst)
- Build with
xcodebuild -scheme <scheme> -destination 'platform=macOS,variant=Mac Catalyst' build. Add-workspace <name>.xcworkspacefor a workspace (React Native, CocoaPods), or-project <name>.xcodeprojto select a project. Without-scheme, xcodebuild ignores the destination and builds for iOS. A Debug build is in DerivedData underBuild/Products/Debug-maccatalyst/, notDebug-iphonesimulator/. Pass that.apptoboot-device. If it reports "Designed for iPad", ask for the Mac Catalyst build or suggest testing on an iOS simulator. - Use
describeto find UIKit controls and their frames. AppKit view-tree tools are unavailable. - Switch to the intended window with
menu-barand the Window menu. Tap the target field before typing, since keyboard focus can be in another window and SwiftUI Tab order can differ from the visible order. - Tap alert buttons directly. Return depends on a default action, and Escape can leave a UIKit text-field alert open.
- Find toolbar menu buttons by label if Optimize Interface for Mac leaves them without identifiers.
- If typing, paste, or scrolling reports success without changing the app, check whether the installed native library supports Mac Catalyst input.
Profiling
Use argent-native-profiler for native profiling or argent-react-native-profiler to capture React performance on a react-native-macos or Mac Catalyst React Native app. Instruments can pause the app during leak checks, delaying actions and inspection. After MACOS_APP_RPC_TIMEOUT, use describe before retrying because the action may already have taken effect.
E2E tests
Read references/e2e.md before recording or writing a test for a Mac app.
React Native
For React Native Debug builds on macOS, including Mac Catalyst, start Metro before boot-device (see argent-react-native-app-workflow). Use describe for UI targets. For JavaScript debugging and network capture, load argent-metro-debugger and follow React Native Mac apps and Inspect network requests.
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
prospecting
62.2kWhen the user wants to find and qualify prospects for outbound, or asks who to target first, which signal to prioritize, or where to spot buyers with the problem: buying signals, enrichment, verification, account research.
ad-creative
62.2kWhen the user wants to write or judge ad creative, or asks which ad, hook, or angle to run or kill: headlines, primary text, and variations for Google, Meta, LinkedIn, and TikTok, fresh angles when creative fatigues. Test hypotheses name the metric, comparison, and expected direction.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
