कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

desktop-guardian

s3rous द्वारा

Coding Agents & IDEs
377clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

macOS GUI automation and desktop control for OpenClaw, powered by Hammerspoon.

विवरण

यह स्किल क्या करती है

Desktop Guardian gives OpenClaw agents full access to the macOS GUI via Hammerspoon. It can query windows, close tabs, click dialog buttons, and send keypresses to any app. An always-on monitor watches for system dialogs, permission prompts, and unauthorized apps, auto-dismissing safe ones and alerting when human input is needed.

Unlike AppleScript or headless shell automation, it monitors desktop state continuously and intercepts macOS permission prompts before they stall an agent mid-task, with configurable safety guardrails that prevent clicking destructive buttons.

इसे कब इस्तेमाल करें

  • Auto-dismissing 'app downloaded from internet' popups during software installs
  • Closing excess Chrome tabs when a browser window limit is exceeded
  • Detecting and quitting apps not on the approved whitelist
  • Alerting when a security prompt requires manual approval
  • Clicking OK on system dialogs without switching focus from another task

उदाहरण वर्कफ़्लो

इनपुट

User asks: Close all Chrome tabs not related to my current project and tell me what was closed

एजेंट
  1. 1

    Connects to Chrome via Chrome DevTools Protocol on port 9222

  2. 2

    Retrieves all open tabs with their URLs and titles

  3. 3

    Compares each tab against allowed domains defined in policy.yaml

  4. 4

    Closes non-matching tabs using CDP commands

  5. 5

    Logs each closed tab to the audit trail and returns a summary

आउटपुट

Closed 4 tabs (reddit.com, youtube.com, twitter.com, news.ycombinator.com); audit log updated

आवश्यकताएँ

  • macOS Accessibility permission granted to Hammerspoon in System Settings

इंस्टॉलेशन

clawhub install s3rous/desktop-guardian

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक