osxquery

Use OSXQuery as a computer-use tool when an agent must interact with desktop UIs, browser/web workflows, or UI-driven test flows used to validate other systems. When browser interaction is required, use the user's default browser unless the user explicitly asks for a specific browser.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "osxquery" with this command: npx skills add moulik-budhiraja/osx-query/moulik-budhiraja-osx-query-osxquery

OSXQuery

Purpose

Use OSXQuery as a computer-use tool when an agent must interact with desktop UIs, browser/web workflows, or UI-driven test flows used to validate other systems. When browser interaction is required, use the user's default browser unless the user explicitly asks for a specific browser.

Additional Guidance

Keep supporting tool use to a minimum while working through an OSXQuery task. If the user asks you to investigate or operate a UI with OSXQuery, rely on this skill and the osx CLI as the primary workflow instead of mixing in other research or automation tools. Use other tools only when they provide brief supporting context that directly informs the next OSXQuery step. Do not substitute broader web research for UI inspection through OSXQuery.

Do not use other UI automation methods alongside OSXQuery. Avoid AppleScript, browser automation frameworks, or similar tools that can interfere with the osx workflow and make results less reliable.

Mandatory Pre-Read (Do Not Skip)

Read both documents in full before executing any osx command:

  • OSXQuery Query Usage

  • OSXQuery Actions Usage

If either file is missing at these relative paths, stop and locate them first. Do not execute osx until both are read completely. Treat those two usage docs as the source of truth for all command syntax, workflow sequencing, and troubleshooting details.

Screenshot-First Policy (Required)

Screenshot verification is mandatory for OSXQuery workflows with meaningful state transitions. Do not continue action execution when required screenshots are missing.

Capture screenshots at these checkpoints:

  • Before the first action in any new page/view/dialog context.

  • After every action that is expected to change UI state meaningfully.

  • Both before and after non-undoable, high-impact, or destructive actions (delete, submit, close, overwrite, send).

  • Before acting when selector results are ambiguous or multiple candidates look similar.

Screenshot file handling:

  • Use the macOS screencapture CLI to take required screenshots.

  • Save screenshots to temporary directories by default (for example, under /tmp ).

  • Clean up screenshot files after verification is complete.

  • Keep screenshots only when the user explicitly asks to retain them.

Execution blockers:

  • If screenshot evidence does not clearly confirm the intended target, stop and re-query before acting.

  • If post-action screenshots do not match expected outcomes, stop, reassess, and do not chain further actions blindly.

Query Output Guidance

Prefer compact tree output first when tree structure is useful:

  • Use --tree by default to show only matched nodes.

  • In compact tree output, ├●─ / └●─ mean unmatched intermediate nodes were collapsed.

Treat full tree output as an escalation path, not a default:

  • Use --tree-full only when the compact view is insufficient and you are stuck on ancestor/containment ambiguity.

  • Do not reach for --tree-full just to browse. It adds a lot of unmatched wrapper noise and should be reserved for cases where the extra context is necessary to unblock targeting or verification.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Scalekit-Agent-Auth

Use this skill whenever the user asks for information from, or wants to take an action in, a third-party tool or service. This includes — but is not limited...

Registry SourceRecently Updated
Automation

ComfyUI Controller

支持批量生成10-100个修仙视频和图片,集成LTX2多版本模型与自动化浏览器及工作流管理功能。

Registry SourceRecently Updated
Automation

Cyber Horn

Turn text into spoken Feishu (Lark) voice messages. Use when the agent should speak in a Feishu group, send voice alerts or announcements, or reply with a pl...

Registry SourceRecently Updated
Automation

Arithym

Exact arithmetic for AI agents — zero hallucination math via 62 tools covering integer arithmetic, fractions, units, calculus, and financial calculations. Us...

Registry SourceRecently Updated
1050Profile unavailable