✨
简介
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 ge...
通过你的 Agent 添加
安装目录:trace-debuger/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
Claude Code~/.claude/skills/trace-debuger/
Codex CLI~/.codex/skills/trace-debuger/
DeepSeek Harness~/.agents/skills/trace-debuger/
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: trace-debuger
description: 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.
Trace Debuger
Use this skill to generate a self-contained Markdown trace debug report.
Inputs
trace_id (required)
jaeger_url (optional, default http://127.0.0.1:16686)
es_url (optional, default http://127.0.0.1:9200)
repo_path (optional, absolute path, default /Users/noodles/Desktop/code/go-components/examples/tracer)
output_path (optional, default ./trace_debug_report_{trace_id}.md)
es_index (optional, default filebeat-tracer-*)
es_size (optional, default 2000)
Run
python3 skills/trace_debuger/scripts/trace_debuger.py \
--trace-id <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 ./trace_debug_report_<TRACE_ID>.md]
Output
- Writes Markdown report to
output_path
- Prints fixed summary lines to stdout:
trace_id: <trace_id>
status: SUCCESS/FAIL
jaeger_url: <jaeger_url>
es_url: <es_url>
代码仓库路径:<repo_path|N/A>
关键结论摘要:<summary>
Notes
- Keep logs sorted by timestamp ascending.
- After fetching ES logs, run Codex in repository root (automated via
codex exec equivalent to TUI paste workflow) with this prompt:
这是我的日志,请根据日志结合代码帮我排查分析bug,输出bug原因及解决方案,必须保持固定的格式。
- If repository is provided, include code-context hints and file matches for suspected bug areas.
- If repository is not provided, base bug hypotheses on logs + spans only.
- After analysis in chat workflow: send the generated Markdown file to the user through the chat window, then delete the local Markdown file.
trace_id (required)jaeger_url (optional, default http://127.0.0.1:16686)es_url (optional, default http://127.0.0.1:9200)repo_path (optional, absolute path, default /Users/noodles/Desktop/code/go-components/examples/tracer)output_path (optional, default ./trace_debug_report_{trace_id}.md)es_index (optional, default filebeat-tracer-*)es_size (optional, default 2000)python3 skills/trace_debuger/scripts/trace_debuger.py \
--trace-id <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 ./trace_debug_report_<TRACE_ID>.md]
Output
- Writes Markdown report to
output_path
- Prints fixed summary lines to stdout:
trace_id: <trace_id>
status: SUCCESS/FAIL
jaeger_url: <jaeger_url>
es_url: <es_url>
代码仓库路径:<repo_path|N/A>
关键结论摘要:<summary>
Notes
- Keep logs sorted by timestamp ascending.
- After fetching ES logs, run Codex in repository root (automated via
codex exec equivalent to TUI paste workflow) with this prompt:
这是我的日志,请根据日志结合代码帮我排查分析bug,输出bug原因及解决方案,必须保持固定的格式。
- If repository is provided, include code-context hints and file matches for suspected bug areas.
- If repository is not provided, base bug hypotheses on logs + spans only.
- After analysis in chat workflow: send the generated Markdown file to the user through the chat window, then delete the local Markdown file.
output_pathtrace_id: <trace_id>
status: SUCCESS/FAIL
jaeger_url: <jaeger_url>
es_url: <es_url>
代码仓库路径:<repo_path|N/A>
关键结论摘要:<summary>
- Keep logs sorted by timestamp ascending.
- After fetching ES logs, run Codex in repository root (automated via
codex execequivalent to TUI paste workflow) with this prompt:这是我的日志,请根据日志结合代码帮我排查分析bug,输出bug原因及解决方案,必须保持固定的格式。
- If repository is provided, include code-context hints and file matches for suspected bug areas.
- If repository is not provided, base bug hypotheses on logs + spans only.
- After analysis in chat workflow: send the generated Markdown file to the user through the chat window, then delete the local Markdown file.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。
标签
同类 Skill
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
Self-Improving + Proactive Agent
Self-Improving + Proactive Agent
下载 177.1k
✨
Gog
Gog
下载 165k