Serial monitor

From LeoKemp223/embed-ai-tool · View interactive version

Serial monitor is an AI agent skill from the GitHub repository LeoKemp223/embed-ai-tool. 当需要识别正确串口、调用自带脚本抓取日志,并分析嵌入式固件运行状态时使用。

How to use this skill

Skill file

串口监视

适用场景

必要输入

自动探测

执行步骤

  1. 先阅读 references/usage.md,确认本次是列表、抓取、等待字符串、持续监视,还是“先监听后复位”。
  2. 运行自带脚本 scripts/serial_monitor.py。列出串口时使用 --list,自动选择端口时使用 --auto。
  3. 普通抓取使用 --duration,等待特定输出使用 --wait,持续监视使用 --monitor --timestamp。
  4. 若担心错过早期启动日志,使用 --wait-reset;只有在 OpenOCD 配置已经明确时,才启用 --auto-reset。
  5. 读取脚本输出的分析结果,而不是只转述原始串口文本;重点关注错误、警告、启动标记和关键外设关键词。
  6. 将选中的串口、波特率、命令和日志结论写回 Project Profile,并在需要时交给下游 skill。

失败分流

平台说明

输出约定

交接关系

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.