Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add grasscaograss/AwesomeWeldoneSkills --skill read-diag-capturesgit clone --depth 1 https://github.com/grasscaograss/AwesomeWeldoneSkillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/grasscaograss/awesomeweldoneskills/read-diag-captures)<a href="https://agentmods.dev/skills/grasscaograss/awesomeweldoneskills/read-diag-captures"><img src="https://agentmods.dev/badge/skills/grasscaograss/awesomeweldoneskills/read-diag-captures/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/grasscaograss/awesomeweldoneskills/read-diag-captures"><img src="https://agentmods.dev/badge/skills/grasscaograss/awesomeweldoneskills/read-diag-captures.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00250 | $0.02601 |
| Opus 5 | $0.00125 | $0.01300 |
| Sonnet 5 | $0.00050 | $0.00520 |
| Haiku 4.5 | $0.00025 | $0.00260 |
Grade A, and why
read-diag-captures scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
读取诊断采集产物
读取并解读 .NET 动态诊断工具链(dotnet-trace/dotnet-dump/dotnet-counters)抓取的采集产物。与 add-diag-instrumentation 配对:那个 skill 埋 EventSource 事件、跑采集命令产出文件,本 skill 定位这些文件、把事件 ID 翻译成业务含义、按文件类型给出解读方法。
与 weldone-project-logs 的分工:那个读 Serilog 文本日志(一直在记、[INF]/[ERR] 那种),本 skill 读 EventSource 结构化事件产物(默认不记、运行时动态开抓、带类型化参数)。
捕获目录约定(核心)
诊断采集产物落在当前项目目录下与 Logs/ 并列的 Diagnostics/ 子目录:
%APPDATA%\Roboticplus\Weldone\1.0.x\ ← 配置根目录(%APPDATA% = C:\Users\<当前用户>\AppData\Roaming)
├── ProjectConfig.json ← 读 ProjectFolder 字段定当前项目
└── <ProjectFolder>\ ← 当前项目子目录(如 KukaTest、JuLi)
├── Logs\logs-YYYYMMDD[_HHMMSS].log ← Serilog 文本日志(weldone-project-logs)
├── Debug\ ← 规划中间结果 JSON(weld-plan-debug)
├── ProductionData\ ← 生产数据快照
└── Diagnostics\ ← 本 skill 的目标(新增约定)
├── *.nettrace ← dotnet-trace 事件流(二进制)
├── *.speedscope.json ← nettrace 转换产物(明文,可直接读)
├── *.dmp ← dotnet-dump 进程内存快照(含敏感数据)
└── *.csv ← dotnet-counters 指标表
关键原则:
-
配置根目录永远是
%APPDATA%\Roboticplus\Weldone\1.0.x。禁止在任何输出或脚本里写死mini-pc之类的用户名。 -
哪个项目是"当前项目"由
ProjectConfig.json的ProjectFolder字段决定,不要假设;总是先读它。 -
Diagnostics/目录约定由本 skill 确立,尚未在代码中强制创建。从未用过dotnet-trace/dotnet-dump时此目录不存在是正常的。建议采集时用--output指向此目录,让产物统一落点:# 示例(实际采集走 add-diag-instrumentation 的流程,本 skill 只负责读结果) dotnet-trace collect -p <PID> --providers Robim-WeldPlanning --duration 00:00:30 \ --output "%APPDATA%\Roboticplus\Weldone\1.0.x\<ProjectFolder>\Diagnostics\trace.nettrace"
执行流程
1. 定位目录与采集文件清单
优先跑脚本(确定性、token 高效,与 weldone-project-logs 同一套路径规则):
python "<skill>/scripts/resolve_diag.py" --list
输出:配置根目录、当前项目名、项目目录、诊断目录,以及 Diagnostics/ 下采集文件按修改时间倒序的清单(含文件大小、修改时间、按扩展名分类的类型标签,并对 0KB 文件标注提示)。
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 111 lines · 250 tokens per session scan A 3eadf1873e97
read-diag-captures is a skill published in the GitHub repository grasscaograss/AwesomeWeldoneSkills (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 250 tokens to every session and 2,601 once invoked, about $0.0013 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
debug-optimize-lcp
Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…
systematic-debugging
Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.
diagnose
Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.
repro-admin
Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.
log-error-digest
Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…
byted-util-volcengine-detect-retry
An orchestration workflow for Volcengine Cloud Detect, a service that checks websites or network endpoints from test locations.