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

clinic-visit-prep

帮助患者整理就诊前问题、既往记录、检查清单与时间线,不提供诊断。;use for healthcare, intake, prep workflows;do not use for 给诊断结论, 替代医生意见.

Archived SourceRecently Updated
Automation

changelog-curator

从变更记录、提交摘要或发布说明中整理对外 changelog,并区分用户价值与内部改动。;use for changelog, release-notes, docs workflows;do not use for 捏造未发布功能, 替代正式合规审批.

Archived SourceRecently Updated
Automation

klaviyo

Klaviyo API integration with managed OAuth. Access profiles, lists, segments, campaigns, flows, events, metrics, templates, catalogs, and webhooks. Use this skill when users want to manage email marketing, customer data, or integrate with Klaviyo workflows. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).

Archived SourceRecently Updated
Automation

lifelog

生活记录自动化系统。自动识别消息中的日期(今天/昨天/前天/具体日期),使用 SubAgent 智能判断,记录到 Notion 对应日期,支持补录标记。 适用于:(1) 用户分享日常生活点滴时自动记录;(2) 定时自动汇总分析并填充情绪、事件、位置、人员字段

Archived SourceRecently Updated