返回顶部
t

trace-debuger链路调试器

End-to-end trace debugging from trace_id. Fetch Jaeger trace and Elasticsearch logs, analyze possible bugs (optionally with local repository context), and generate a fixed-structure Markdown report for CI or tickets.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.2.1
安全检测
已通过
407
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

trace-debuger

Trace Debuger

使用此技能生成一个独立的 Markdown 追踪调试报告。

输入参数

  • - traceid(必填)
  • jaegerurl(可选,默认值 http://127.0.0.1:16686)
  • esurl(可选,默认值 http://127.0.0.1:9200)
  • repopath(可选,绝对路径,默认值 /Users/noodles/Desktop/code/go-components/examples/tracer)
  • outputpath(可选,默认值 ./tracedebugreport{traceid}.md)
  • esindex(可选,默认值 filebeat-tracer-*)
  • es_size(可选,默认值 2000)

运行方式

bash
python3 skills/tracedebuger/scripts/tracedebuger.py \
--trace-id \
[--jaeger-url http://127.0.0.1:16686] \
[--es-url http://127.0.0.1:9200] \
[--repo-path /Users/noodles/Desktop/code/go-components/examples/tracer] \
[--output-path ./tracedebugreportID>.md]

输出内容

  • - 将 Markdown 报告写入 outputpath
  • 必须在完成任务前,通过同一会话的聊天窗口将生成的 Markdown 报告作为文件附件发送给用户
  • 必须仅用一条聊天消息发送报告:将 Markdown 文件作为附件,并在同一条消息的标题/正文中放入严格的摘要块。
  • 【markdown报告文件】 是一个占位符,必须替换为实际上传的 Markdown 文件名(例如:tracedebugreport.md)。
  • 在标题/正文中严格使用以下格式:

text
<真实markdown报告文件名>
trace_id: xxxx
status: xxx
jaeger_url: xxx
es_url: xxx
代码仓库路径:仓库路径
关键结论摘要:xxxx

  • - 向标准输出打印固定的摘要行:

text
traceid: id>
status: SUCCESS/FAIL
jaegerurl: url>
esurl: url>
代码仓库路径:
关键结论摘要:

注意事项

  • - 保持日志按时间戳升序排列。
  • 获取 ES 日志后,在仓库根目录下运行 Codex(通过 codex exec 自动执行,相当于 TUI 粘贴工作流),使用以下提示词:
- 这是我的日志,请根据日志结合代码帮我排查分析bug,输出bug原因及解决方案,必须保持固定的格式。
  • - 如果提供了仓库路径,需包含代码上下文提示和疑似 bug 区域的文件匹配信息。
  • 如果未提供仓库路径,则仅基于日志和跨度信息提出 bug 假设。
  • 在聊天工作流中完成分析后:通过聊天窗口将生成的 Markdown 报告 作为文件附件 发送给用户,并在 同一条消息 的标题/正文中附带严格的摘要块(仅单条消息)。
  • 第一行必须是真实的 Markdown 文件名(而非占位符文本)。
  • 最后,删除本地的 Markdown 文件。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 trace-debuger-1776271168 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 trace-debuger-1776271168 技能

通过命令行安装

skillhub install trace-debuger-1776271168

下载

⬇ 下载 trace-debuger v0.2.1(免费)

文件大小: 7.75 KB | 发布时间: 2026-4-16 17:58

v0.2.1 最新 2026-4-16 17:58
Enforce single-message delivery: markdown report as file attachment + strict summary format with real filename.

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large