用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/johnalbertini14-glitch/openclaw-skills --skill device-control命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use this skill to create a Polymarket wallet for your agent and trade on prediction markets. Browse markets, place bets, manage positions — all without exposing private keys.
ClawSec suite manager with embedded advisory-feed monitoring, cryptographic signature verification, approval-gated malicious-skill response, and guided setup for additional security skills.
Automated daily security audits for OpenClaw agents with email reporting. Runs deep audits and sends formatted reports.
基于 SOC 职业分类
正在显示 SKILL.md
| name | device-control |
| description | Expose safe device actions (volume, brightness, open/close apps) for personal automation. |
| metadata | {"openclaw":{"emoji":"🎛️","requires":{"bins":["node"]},"version":"1.1.0"}} |
Control device volume, brightness, and applications via command line. Supports Linux, macOS, Windows, and WSL.
All inputs are validated and sanitized to prevent command injection:
Execute a device control action.
action (string, required): One of set_volume, change_volume, set_brightness, open_app, close_app.value (string/number, optional): The value for the action (0-100 for volume/brightness, delta for change_volume).app (string, optional): The application name or path (required for open/close actions).Usage:
# Set volume to 50%
node skills/device-control/ctl.js --action set_volume --value 50
# Change volume by +10 or -10
node skills/device-control/ctl.js --action change_volume --value 10
node skills/device-control/ctl.js --action change_volume --value -10
# Set brightness to 75%
node skills/device-control/ctl.js --action set_brightness --value 75
# Open an application
node skills/device-control/ctl.js --action open_app --app "firefox"
node skills/device-control/ctl.js --action open_app --app "Visual Studio Code"
# Close an application
node skills/device-control/ctl.js --action close_app --app "firefox"
| Action | Linux | macOS | Windows | WSL |
|---|---|---|---|---|
| set_volume | ✅ (pactl/amixer) | ✅ (osascript) | ✅ (nircmd) | ✅ (nircmd) |
| change_volume | ✅ | ✅ | ❌ | ❌ |
| set_brightness | ✅ (brightnessctl) | ⚠️ (requires brightness CLI) | ✅ (WMI) | ✅ (WMI) |
| open_app | ✅ | ✅ | ✅ | ✅ |
| close_app | ✅ (pkill) | ✅ (pkill) | ✅ (taskkill) | ✅ (taskkill) |
pactl (PulseAudio) or amixer (ALSA), brightnessctl (optional, for brightness)brightness CLI tool (optional, for brightness)nircmd.exe for volume control (download from nirsoft.net)