跳到正文
TakoAPI
返回技能列表

iyeque-device-control

由 iyeque 提供

Browser & Automation
556下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: set volume to 30% and open Firefox

智能体
  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

输出

Volume set to 30% and Firefox opened

前置要求

  • 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

安装

clawhub install iyeque/iyeque-device-control

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接