cli-anything-eez-studio
它能做什么
这个技能让你的智能体处理 EEZ Studio 项目文件,包括屏幕布局和仪器命令列表。适合开发触摸面板或实验室仪器界面的嵌入式开发者。
适用场景
- ✓当你想在 EEZ Studio 项目的 LVGL 屏幕上添加标签或按钮的时候。
- ✓当你想为仪器添加 SCPI 命令定义的时候。
- ✓当你想从 EEZ 项目构建 LVGL 模拟器的时候。
技能链接
https://github.com/HKUDS/CLI-Anything/blob/main/eez-studio/agent-harness/cli_anything/eez_studio/skills/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我在 EEZ 面板项目中添加一个运行按钮和一个就绪标签。”
每周 5 个新技能,1 分钟读完。
工作原理
这个技能通过命令行步骤编辑原生的 .eez-project 文件,使你的智能体能够添加控件和命令。后端构建步骤使用真实的 EEZ Studio 源代码树。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
cli-anything-eez-studio
Use this skill when you need to automate EEZ Studio projects, LVGL UI scaffolding, SCPI instrument command metadata, or backend LVGL simulator builds.
Install
cd eez-studio/agent-harness
pip install -e .
Backend commands require the real EEZ Studio source tree:
git clone https://github.com/eez-open/studio.git
cd studio
npm install
npm run build
export EEZ_STUDIO_SOURCE=/absolute/path/to/studio
Core Usage
Always use --json for agent-readable output.
cli-anything-eez-studio --json project new -o panel.eez-project --name Panel
cli-anything-eez-studio --json --project panel.eez-project lvgl add-label --text "Ready"
cli-anything-eez-studio --json --project panel.eez-project lvgl add-button --text "Run"
cli-anything-eez-studio --json --project panel.eez-project project widgets
SCPI Commands
cli-anything-eez-studio --json --project panel.eez-project scpi subsystem-add SOURCE
cli-anything-eez-studio --json --project panel.eez-project scpi command-add SOURCE :VOLTage?
cli-anything-eez-studio --json --project panel.eez-project scpi parameter-add SOURCE :VOLTage? channel --type nr1 --optional
Backend Commands
cli-anything-eez-studio --json backend status
cli-anything-eez-studio --json --project panel.eez-project lvgl ensure-destination
cli-anything-eez-studio --json --project panel.eez-project lvgl backend-inspect
cli-anything-eez-studio --json --project panel.eez-project lvgl simulator-build build/sim
lvgl backend-inspect and lvgl simulator-build call EEZ Studio's built Node modules. They should fail loudly if the backend is missing.
State
Use session undo, session redo, and session status during REPL or scripted sessions. One-shot commands with --project auto-save project mutations unless --dry-run is provided.
常见问题
我需要 EEZ Studio 的源代码吗?
只有后端构建命令需要,这些命令要求有真实的 EEZ Studio 源代码树。
什么是 SCPI?
SCPI 是一套用于控制实验室仪器的标准文本命令。
输出结果容易阅读吗?
容易,使用 JSON 选项的输出便于你的智能体读取。
详情
作者的原始描述
Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.
repo: HKUDS/CLI-Anything
热度
- GitHub 星标
- 58k
- 排名
- #3202
- 许可证
- Apache-2.0
- 更新时间
- 2026/9/21
评论
- …
同一仓库的更多技能
cli-anything-3mf
58k帮你的智能体检查和修复 3D 打印文件,包括查找圆孔、调整孔径、修复网格,以及比较两个文件。
cli-anything-qgis
58k帮你的智能体在终端中打开、编辑和导出 QGIS 地图项目,包括图层、要素、打印布局和处理工具。
cli-anything-adguardhome
58k帮你的智能体管理 AdGuard Home,这是一款全网络广告拦截器,可管理过滤规则、DNS 重写、客户端和查询日志。
cli-anything-anygen
58k帮你的智能体借助 AnyGen 服务,根据文字提示生成幻灯片、文档、网站和图表。