{"skill":{"slug":"display-controller","displayName":"DisplayControllerSkill","summary":"Display control tool. Use this skill when users inquire about monitor information, adjust brightness/contrast, check monitor status, and turn off/on the monitor. Supports sub command mode and can manage multiple displays.","description":"---\nname: display-controller\ndescription: 显示器控制工具。当用户询问显示器信息、调整亮度/对比度、查询显示器状态、关闭/打开显示器时使用此技能。支持子命令模式，可管理多个显示器。\n---\n\n# 显示器控制工具 (DisplayControl)\n\n完整的显示器管理和控制工具，支持获取信息、调整设置等功能。\n\n\n## 使用说明\n\n在运行此技能前，请确保已下载所需的控制台工具。\n\nAI 应执行以下操作DisplayControlSkill.exe不存在要下载，存在不下载（仅一次）：\n- 如果 `scripts/DisplayControlSkill.exe` 不存在，运行 `scripts/setup.ps1`（Windows）或等效脚本，从 https://github.com/society2012/DisplayControlTool/releases/download/tag002/DisplayControlSkill.exe 下载该工具。\n- 后续调用该 EXE 获取 JSON 输出。\n\n\n## 使用方法（子命令模式）\n\n### 基本语法\n\n```bash\n# 使用 exec 工具调用\nexec: scripts/DisplayControlSkill.exe <command> [options]\n```\n\n### 支持的命令\n\n| 命令 | 参数 | 说明 |\n|------|------|------|\n| `get_monitor_base_info` | `<index>` | 获取显示器的基本信息 |\n| `set_monitor_power_mode` | `<index> <mode>` | 设置显示器的电源模式 |\n| `get_monitor_power_mode` | `<index>` | 获取显示器的电源模式 |\n| `set_monitor_power_off` | `<index>` | 关闭显示器 |\n| `set_monitor_power_on` | `<index>` | 打开显示器 |\n| `get_monitor_sn` | `<index>` | 获取显示器的sn |\n| `get_monitor_mt` | `<index>` | 获取显示器的制作商标识符|\n| `get_monitor_fw_version` | `<index>` | 获取显示器的固件版本号 |\n| `get_monitor_sync_technology_name` | `<index>` | 获取显示器的同步技术名称 |\n| `get_monitor_panel_size` | `<index>` | 获取显示器的尺寸 |\n| `get_monitor_resolution` | `<index>` | 获取显示器的分辨率 |\n| `get_monitor_manufacturer` | `<index>` | 获取显示器的制作商 |\n| `get_monitor_count` | `<index>` | 获取连接显示器的个数 |\n| `get_monitor_feature_count` | `<index>` | 获取显示器支持的功能个数 |\n| `get_monitor_feature_list` | `<index>` | 获取显示器支持的功能列表 |\n| `get_monitor_feature_by_index` | `<index> <featureIndex>` | 获取显示器的某个功能详情 |\n| `get_monitor_name` | `<index>` | 获取显示器的名称 |\n| `get_monitor_brightness` | `<index>` | 获取显示器的亮度 |\n| `set_monitor_brightness` | `<index> <value>` | 设置显示器的亮度（0-100） |\n| `get_monitor_max_freq` | `<index>` | 获取显示器的最大刷新率 |\n| `help` | 无 | 其他command查看帮助信息 |\n\n### 命令示例\n\n```bash\n# 获取显示器数量\nexec: scripts/DisplayControlSkill.exe get_monitor_count\n\n# 获取指定显示器支持的功能列表\nexec: scripts/DisplayControlSkill.exe get_monitor_base_info 0\n\n# 获取第 1 个显示器（索引 0）的详细信息\nexec: scripts/DisplayControlSkill.exe get_monitor_base_info 0\n\n# 设置亮度\nexec: scripts/DisplayControlSkill.exe set_monitor_brightness 0 80\n\n# 设置电源模式 (0=On, 1=Standby, 2=Suspend, 3=PowerDown)\nexec: scripts/DisplayControlSkill.exe set_monitor_power_mode 0 1\n```\n\n## 输出格式（JSON）\n\n### 成功响应示例\n\n**count 命令:**\n```json\n{\n  \"success\": true,\n  \"message\": \"Success\",\n  \"command\": \"get_monitor_count\",\n  \"data\": 1,\n  \"timestamp\": \"2026-04-24 15:14:38\"\n}\n```\n\n### 错误响应示例\n\n```json\n{\n  \"success\": false,\n  \"command\": \"get_monitor_count\",\n  \"data\": 0,\n  \"timestamp\": \"2026-04-24 15:14:38\"\n}\n```\n\n## 使用场景\n\n| 用户问题 | 对应命令 |\n|----------|----------|\n| \"我连接了几台显示器？\" | `get_monitor_count` |\n| \"显示器支持哪些功能\" | `get_monitor_feature_list 0` |\n| \"显示器的基本信息是什么\" | `get_monitor_base_info 0` |\n| \"当前亮度是多少？\" | `get_monitor_brightness 0` |\n| \"把亮度调到 80\" | `set_monitor_brightness 0 80` |\n\n## 参数说明\n\n### 显示器索引 (index)\n- 从 0 开始计数\n- `0` = 第 1 个显示器\n- `1` = 第 2 个显示器\n- 以此类推\n\n### 功能index (featureIndex)\n- 范围：0-200\n- 自动裁剪超出范围的值\n\n### 亮度/对比度 (value)\n- 范围：0-100\n- 自动裁剪超出范围的值\n\n### 电源模式 (mode)\n| 值 | 模式 | 说明 |\n|----|------|------|\n| 0 | On | 开启 |\n| 1 | Standby | 待机 |\n| 2 | Suspend | 挂起 |\n| 3 | PowerDown | 关机 |\n","tags":{"latest":"1.0.3"},"stats":{"comments":0,"downloads":456,"installsAllTime":1,"installsCurrent":1,"stars":1,"versions":4},"createdAt":1778312565551,"updatedAt":1780638026629},"latestVersion":{"version":"1.0.3","createdAt":1778485329144,"changelog":"- Skill renamed from \"monitor-control\" to \"display-controller\".\n- Added scripts/setup.ps1 for automated download of DisplayControlSkill.exe if not present.\n- Now requires running the setup script to retrieve the executable on first use, ensuring one-time setup.\n- Clarified usage instructions to check for and download DisplayControlSkill.exe as needed.\n-dotnet10 runtime:https://dotnet.microsoft.com/zh-cn/download/dotnet/10.0","license":"MIT-0"},"metadata":null,"owner":{"handle":"society2012","userId":"s170dxff8xz01xjmhf6xh1a2x586d9c3","displayName":"society2012","image":"https://avatars.githubusercontent.com/u/6984006?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1780090780477}}