Agent skill · Audited from source
Ha Mac Control
skill · shiwenwen/hope-agentMIT licenceAudited 12 Oct 2026 · source f50447283b3f
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit f50447283b3f and found no filesystem, network or shell access and no hard-coded secrets. What it does: Hope Agent native macOS desktop control — the standard `mac_control` status / diagnostics / apps / dock / spaces / snapshot / visual / windows / menu / clipboard / dialog loop, target-first action rules,…
Cite
Cite this page
ModelsAtlas. “Ha Mac Control (shiwenwen/hope-agent)”. Retrieved 12 Oct 2026. https://modelsatlas.com/skills/shiwenwen/ha-mac-control
Trust audit
Audit 0.4.1 · source read 12 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha f50447283b3f · 12 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishershiwenwen GitHub userOwner of the repository this skill is read from
- Source foldershiwenwen/hope-agent/skills/ha-mac-controlThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdictf50447283b3fA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Hope Agent native macOS desktop control — the standard `mac_control` status / diagnostics / apps / dock / spaces / snapshot / visual / windows / menu / clipboard / dialog loop, target-first action rules,…
--- name: ha-mac-control description: "Hope Agent native macOS desktop control — the standard `mac_control` status / diagnostics / apps / dock / spaces / snapshot / visual / windows / menu / clipboard / dialog loop, target-first action rules, no-blind-coordinate policy, and recovery for stale AX/window/menu/dialog state. Load whenever using `mac_control`, or when the user asks to control local Mac apps, Dock, Spaces, click/type/menu/window/dialog/clipboard, automate Finder/TextEdit/System Settings, visually locate UI, or says 控制 Mac, macOS 自动化, 点按钮, 打开应用, Dock, Space, 关闭窗口, 菜单点击, 视觉定位." version: 1.0.0 author: Hope Agent license: MIT allowed-tools: [mac_control, ask_user_question] status: active --- # Hope Agent Mac Control `mac_control` operates the user's macOS desktop from the authorized Hope Agent app process. macOS UI state is volatile: apps steal focus, AX IDs expire, sheets attach to windows, and multiple windows often share similar titles. Use a fresh observation before every meaningful action. ## Standard Loop Use this loop unless the user explicitly asks for a single read-only query: ``` 1. mac_control(action="status") 2. mac_control(action="apps", op="frontmost" | "search" | "installed") 3. observe: snapshot / visual.observe / elements.find / windows.list / dock.list / spaces.list / menu.list / menu.popover / dialog.inspect 4. act: apps.activate/launch, dock.launch, spaces.switch, windows.*, act.*, menu.click, dialog.* 5. verify: wait, snapshot, windows.list, or dialog.inspect ``` For a concrete app workflow: ``` apps.launch bundleId=... apps.frontmost # verify focus if the next step depends on menus/input snapshot, elements.find, or windows.list # get fresh window/element ids act/menu/windows/clipboard/dialog # one action burst wait or snapshot # verify the expected change ``` ## Targeting Rules - Prefer `bundleId` over `appName` for mutations. Use `apps.search` / `apps.installed` when the app name is uncertain, then retry with `bundleId`. - `appNameMatch` defaults to `exact`. Use `contains` only for read-only discovery or when the user clearly gave a partial name. - Prefer `windowId` from the latest `windows.list` or `snapshot` for window mutations. - `target.windowTitleMatch` defaults to `exact`. Use `contains` only after listing windows and confirming a partial title is intentional. - Prefer `elementId` from the latest `snapshot` / `visual.observe` / `elements.find` for precise clicks and set-value actions, and pass the matching `target.snapshotId` with it. `snapshotId + elementId` lets the runtime verify the original AX fingerprint and re-resolve stale `el_N` ids instead of blindly trusting a new traversal. - Use `elements.find` when a full snapshot is too noisy or when an action target is ambiguous. It is read-only and returns scored candidates with reasons; retry mutations with `target.elementId` from the chosen candidate plus the result `snapshotId`. - If two windows, dialogs, text fields, or buttons match, do not guess. Use a more specific target or ask the user. - Element mutations reject equally ranked AX candidates instead of choosing the first match. When this happens, take a fresh `snapshot` and retry with `elementId`, `target.windowTitle`, `target.role`, or more specific `target.text`. ## Actions ### Apps - Use `apps.frontmost` to know what macOS will receive menu and keyboard actions. - Use `apps.activate bundleId=...` before operating an app that is not frontmost. - Use `apps.search` or `apps.installed` when launch/activate by name fails. - `apps.quit` is destructive. Verify the target app and prefer `bundleId`. ### Dock and Spaces - Use `dock.list` before `dock.launch`; prefer `dockItemId` or `bundleId` over a loose app name. - Use `dock.menu` to open a Dock item's context menu and inspect `menuItems`; use `dock.select_menu` with `menuItem` when possible, or `menuIndex` only when titles are unavailable. If both are present, `menuItem` is treated as the intended target. - `dock.hide` and `dock.show` change the user's Dock autohide setting and restart Dock, so be explicit before approval. - Use `spaces.list` before `spaces.switch` when targeting a numbered Space. `spaceIndex` is 1-based. - `spaces.switch direction="left"|"right"` / `spaceIndex` / `spaceId` pass exactly one selector. Direction and adjacent targets use Mission Control Control+Left/Right first; non-adjacent exact targets may fall back to Control+number or SkyLight/CGS. Verify with `spaces.list` or a fresh screenshot after switching. - `spaces.move_window` moves one explicit window to `spaceIndex` / `spaceId` through SkyLight/CGS. Resolve the window first with `windows.list windowScope="all"` and prefer `windowId`; if post-move verification warns, use `spaces.list` or a fresh screenshot to confirm. ### Windows - Use `windows.list` before `windows.close`, `move`, `resize`, or `minimize` unless the user supplied an exact `windowId`. - `windowScope` defaults to `frontmost`. Use `windows.list windowScope="all"` to discover background app windows before activating or focusing them. - Prefer all-scope ids like `win_<pid>_<index>` for cross-app window mutations; they are safer than generic titles. - For `windows.close`, avoid generic titles like `Untitled` / `未命名` when multiple similar windows exist. Use `windowId`. - Hope Agent's own window cannot be mutated through the Accessibility worker; if the target is Hope Agent itself, explain the limitation. ### Screenshots - Use `snapshot includeScreenshot=true` when visual context matters. - Default screenshots capture the primary display. Use `displayId` from `snapshot.displays` when the user points at a specific monitor. - For a focused-window image, use `snapshot includeScreenshot=true screenshotTarget="window"`. Pass `windowId` from the latest snapshot/list when several windows are possible. - Window screenshot matching uses the current AX window state; if it fails, take a fresh snapshot a
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit f504472
git clone https://github.com/shiwenwen/hope-agent git -C hope-agent checkout f50447283b3f
The author documents no install command, so this uses the repository directly. Our verdict covers commit f50447283b3f only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
f50447283b3f
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/shiwenwen/ha-mac-control/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
shiwenwen/hope-agent
🦭 A cross-device desktop AI agent with memory, autonomous goals, dynamic workflows, and headless deployment | 会记忆、能持续推进目标、会动态编排多 Agent 的跨端桌面 AI 助手,也可服务化常驻 NAS / 云端
shiwenwen/hope-agent
Use when the user asks to draft, polish, translate, or reply to an email. Produces a clean draft with subject line, greeting, body, and sign-off, plus a pre-send self-check.
shiwenwen/hope-agent
Use when the user mentions 飞书 / Feishu / Lark workspace operations: docx (云文档) read/write, bitable (多维表格) records / views / dashboards, drive (云盘) upload/download, wiki (知识库) link resolution, approval (审批) instance…
shiwenwen/hope-agent
Hope Agent browser automation — the standard `status → tabs → snapshot → act` loop, stale-ref recovery rules, and what to do when login / 2FA / captcha / camera-prompt / dialog blocks progress. Load this skill whenever…
shiwenwen/hope-agent
Find and recommend third-party skills when the user asks for a capability missing from the active catalog, such as 'find a skill for X' or 'is there a skill that does X'. Check existing skills first. Hand a selected…
shiwenwen/hope-agent
Self-service diagnostics — query Hope Agent's local SQLite databases (logs / sessions / background jobs) directly via the `exec` tool to investigate problems, analyze usage, and locate root causes. Trigger on: user…
Add this badge to your README
[](https://modelsatlas.com/skills/shiwenwen/ha-mac-control/)
<a href="https://modelsatlas.com/skills/shiwenwen/ha-mac-control/"><img src="https://modelsatlas.com/skills/shiwenwen/ha-mac-control/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Ha Mac Control
What does the Ha Mac Control skill do?
Is Ha Mac Control safe to install?
What can Ha Mac Control access on my machine?
Which assistants does Ha Mac Control work with?
How current is this page?
Sources
- github.com/shiwenwen/hope-agent/tree/main/skills/ha-mac-control — the audited source at commit f50447283b3f and every finding aboveObserved · 12 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Ha Mac Control skill do?
- Is Ha Mac Control safe to install?
- What can Ha Mac Control access on my machine?