Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

iyeque-device-control

bởi iyeque

Browser & Automation
556Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Expose safe device actions (volume, brightness, open/close apps) for personal automation.

Mô tả

Kỹ năng này làm gì

Exposes device control actions — volume, brightness, app launch, and app close — as a command-line tool. Works across Linux, macOS, Windows, and WSL. All inputs are sanitized to block command injection.

Wraps platform-specific commands (osascript, pactl, nircmd, WMI) behind a single consistent interface so cross-platform automation scripts don't need OS detection logic.

Khi nào nên dùng

  • Mute audio before joining a video call
  • Dim screen brightness at night
  • Open a specific app from an automation script
  • Close a crashed application without touching the GUI
  • Adjust volume incrementally during a presentation

Quy trình ví dụ

ĐẦU VÀO

User asks: set volume to 30% and open Firefox

AGENT
  1. 1

    Call device_control with action set_volume and value 30

  2. 2

    Confirm volume change succeeded

  3. 3

    Call device_control with action open_app and app firefox

  4. 4

    Confirm Firefox launched

ĐẦU RA

Volume set to 30% and Firefox opened

Yêu cầu

  • nircmd.exe for volume control on Windows/WSL (download from nirsoft.net)
  • brightnessctl installed on Linux for brightness control
  • brightness CLI tool on macOS for brightness control

Cài đặt

clawhub install iyeque/iyeque-device-control

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết