본문으로 건너뛰기
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 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크