GOD is a control room for observing and directing societies of language-model agents running in simulated worlds. It lets researchers inspect replays, question individual agents, alter future events, reset simulations, and export experiments for reuse. The catalogue entries are skills and agents for operating and investigating these simulations.
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.
npx skills add XiaoLuoLYG/GOD --skill computer-use-macosgit clone --depth 1 https://github.com/XiaoLuoLYG/GODWrote 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.
[](https://agentmods.dev/skills/xiaoluolyg/god/computer-use-macos)<a href="https://agentmods.dev/skills/xiaoluolyg/god/computer-use-macos"><img src="https://agentmods.dev/badge/skills/xiaoluolyg/god/computer-use-macos/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.
<a href="https://agentmods.dev/skills/xiaoluolyg/god/computer-use-macos"><img src="https://agentmods.dev/badge/skills/xiaoluolyg/god/computer-use-macos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.04074 |
| Opus 5.5 | $0.00021 | $0.01630 |
| Sonnet 5.5 | $0.00011 | $0.00815 |
| Haiku 4.5 | $0.00005 | $0.00407 |
Grade A, and why
computer-use-macos 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 18d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- computer-use-windows — 94% identical, 20 lines differ
How it starts
The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Computer Use — macOS
macOS environment
App selectors accept observed IDs, application names, bundle IDs such as com.apple.calculator, and app paths. super is Command; typical shortcuts include super+s and super+o.
Reading and capturing a window do not activate the app. Apps may activate themselves during launch or UI actions.
Application menus can also be read for freshly observed windowless apps. Window captures may expose an overview of related windows; use each window’s own capture for coordinates.
If the user stops sharing a window, pause and ask before resuming.
Call computer_use({"title": title, "code": code}) with Python and top-level await. Use a short title in the user's language describing the intended action.
The environment provides computer, print(*values) and printImage(png). Variables persist between calls. Await operations sequentially. Reads present text; actions present receipts only. Use print() for other values and printImage() for screenshots. The final expression is not printed automatically.
Session cleanup
Call the separate MCP tool computer_use_reset({}) when finished using the computer, or when a fresh Python environment is needed. Do not put this call inside Python or call it between normal task steps. It clears variables, imports, timers, App/Element handles and observation baselines, and waits for this session’s native capture streams to stop. Recreate handles and read again afterwards. It leaves apps, documents, files, saved packages and completed actions intact; it does not undo anything or erase conversation history.
API surface
from __future__ import annotations
from typing import Literal, TypedDict
class Computer:
# A handle; its first read observes or launches the app.
def app(self, selector: str) -> App: ...
async def listApps(self) -> list[AppInfo]: ...
# Desktop window catalogue and PNG; does not launch apps or require AX.
async def read(self, options: DesktopReadOptions = {}) -> Observation: ...
# Desktop input requires exclusive mode and desktop PNG coordinates.
async def click(self, x: float, y: float, options: ClickOptions = {}) -> ActionResult: ...
async def scroll(self, x: float, y: float, direction: ScrollDirection, pages: float = 1) -> ActionResult: ...
async def drag(self, options: DragOptions) -> ActionResult: ...
async def typeText(self, text: str) -> ActionResult: ...
async def pressKey(self, key: str) -> ActionResult: ...
class App:
# Fixed working window and blocking dialogs; {"full": True} forces full presentation.
async def read(self, options: ReadOptions = {}) -> Observation: ...
def window(self, ref: str) -> App: ... # Fixed separate view; no activation.
def element(self, ref: str) -> Element: ... # Observed decimal ref, e.g. "42".
def find(self, path: ElementPath, options: FindOptions = {}) -> Element: ...
async def click(self, x: float, y: float, options: ClickOptions = {}) -> ActionResult: ...
async def scroll(self, x: float, y: float, direction: ScrollDirection, pages: float = 1) -> ActionResult: ...
async def drag(self, options: DragOptions) -> ActionResult: ...
# Current responder; use Element for a known input target.
async def typeText(self, text: str) -> ActionResult: ...
async def paste(self, text: str) -> ActionResult: ...
async def pressKey(self, key: str) -> ActionResult: ...
class Element:
async def read(self, options: ElementReadOptions = {}) -> Observation: ... # Live subtree.
async def readText(self, options: ReadTextOptions = {}) -> TextPage: ...
async def click(self, options: ClickOptions = {}) -> ActionResult: ...
async def openMenu(self) -> ActionResult: ... # Declared menu, not the primary action.
async def performAction(self, action: str) -> ActionResult: ... # Exact Secondary Actions label/name.
async def scroll(self, direction: ScrollDirection, pages: float = 1) -> ActionResult: ...
async def focus(self) -> ActionResult: ...
async def typeText(self, text: str, options: TypeTextOptions = {}) -> ActionResult: ...
async def paste(self, text: str) -> ActionResult: ...
# Window/dialog elements address that window's current responder.
async def pressKey(self, key: str) -> ActionResult: ...
# Read-only result attributes; they also support dictionary key access.
class Observation:
text: str # Full compact view of this bounded observation, never a diff.
details: str # Captured native facts, actions and relations; no new UI read.
screenshot: bytearray | None
overview: bytearray | None # Multi-window context, not App input coordinates.
class AppInfo:
id: str
displayName: str
isRunning: bool
class ActionResult:
status: Literal["dispatched", "verified"]
detail: str
class TextPage:
text: str
offset: int # UTF-16 code units.
total: int
next: int | None
class ComputerUseError(Exception):
code: Literal["stale_target", "snapshot_expired", "ambiguous_target", "blocked_by_modal",
"element_not_found", "observation_incomplete", "input_unavailable",
"mode_unsupported", "desktop_unavailable", "invalid_request",
"execution_failed", "execution_unknown"]
effect: Literal["none", "possible", "partial"]
target: str
detail: str
next: str
# Options are dictionaries. All fields are optional except DragOptions.
DesktopReadOptions = TypedDict("DesktopReadOptions", {"full": bool}, total=False)
ReadOptions = TypedDict("ReadOptions", {"full": bool, "menuPath": list[str]}, total=False)
FindOptions = TypedDict("FindOptions", {"timeoutMs": int}, total=False)
ElementReadOptions = TypedDict("ElementReadOptions", {"offset": int, "cursor": str}, total=False) # Use one, as printed by read.
ReadTextOptions = TypedDict("ReadTextOptions", {"offset": int, "length": int}, total=False)
TypeTextOptions = TypedDict("TypeTextOptions", {"replace": bool}, total=False)
ClickOptions = TypedDict("ClickOptions", {"button": Literal["left", "right", "middle"],
"count": Literal[1, 2]}, total=False) # Default left, 1.
DragOptions = TypedDict("DragOptions", {"fromX": float, "fromY": float, "toX": float, "toY": float})
ElementMatch = TypedDict("ElementMatch", {"role": str, "name": str, "identifier": str}, total=False)
ElementPath = list[str | ElementMatch]
ScrollDirection = Literal["up", "down", "left", "right"]
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.
- 18d ago First seen · 196 lines · 53 tokens per session scan A ac7e0ba80ff8
computer-use-macos is a skill published in the GitHub repository XiaoLuoLYG/GOD (1,294 stars, last pushed 6d ago), licensed Apache-2.0. It adds 53 tokens to every session and 4,074 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-13.
computer-use-macos compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| computer-use-macosXiaoLuoLYG/GOD | Skill | 1.3k | 6d ago | Apache-2.0 | A | 53 | Claude Code, Codex |
| e2atokencanopy/e2a | Skill | 201 | today | Apache-2.0 | A | 64 | Claude Code |
| hr-assistantzj-unicom-ai/UniEmployee | Skill | 887 | 10d ago | MIT | A | 45 | Claude Code, Codex |
| taskuary-setupldbumble/taskuary | Skill | 155 | today | MIT | A | 58 | Claude Code, Codex |
| yesmem-cap-buildercarsteneu/yesmem | Skill | 47 | 14d ago | Apache-2.0 | A | 81 | Claude Code, Codex |
| meeting-copilotyohey-w/kagemusha | Skill | 16 | 2d ago | MIT | A | 309 | Claude Code, Codex |
| meeting-boardyohey-w/kagemusha | Skill | 16 | 2d ago | MIT | A | 453 | Claude Code, Codex |