Agent Skills
› keychat-io/keychat-app
› run
run
GitHub在设备或模拟器上运行 Keychat Flutter 应用。支持指定设备 ID,自动处理设备选择逻辑,并允许通过 -t 参数指定不同的入口文件以适配生产或多开发环境。
Trigger Scenarios
启动 Keychat 应用
在特定设备上调试应用
切换应用的开发/生产环境入口
Install
npx skills add keychat-io/keychat-app --skill run -g -y
SKILL.md
Frontmatter
{
"name": "run",
"description": "Run the Keychat app on a device or simulator",
"allowed-tools": "Bash(flutter *)",
"argument-hint": "[device-id]",
"disable-model-invocation": true
}
Run the Keychat app on a device or simulator.
Arguments
$ARGUMENTS- Optional: device ID to run on
Workflow
-
First list available devices:
flutter devices -
If
$ARGUMENTSis provided, run on that device:cd packages/app && flutter run -d $ARGUMENTS -
If no device specified:
- If only one device is available, use it
- If multiple devices, show the list and ask user to specify
Alternative entry points
The app has multiple entry points for different environments:
lib/main.dart- Productionlib/main_dev1.dart- Development 1lib/main_dev2.dart- Development 2lib/main_dev3.dart- Development 3
To run with a specific entry point:
cd packages/app && flutter run -d <device> -t lib/main_dev1.dart
Version History
- 294d00d Current 2026-07-05 10:51


