linux-performance-analysis SKILL.md skillA
linux-performance-analysis from jimyag/dotfiles is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add jimyag/dotfiles/linux-performance-analysis@git:20260905.751659ePins git:20260905.751659e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- jimyag/dotfiles
- Path
skills/linux-performance-analysis/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260905.751659e, committed Sep 5, 2026
- First version recorded
- Aug 10, 2026
- Size
- 3,970 bytes
- Repository stars
- 11
- License
- MIT
诊断 Linux 主机或容器的缓慢、高负载、资源压力及网络性能异常,定位瓶颈与触发进程;不用于普通命令语法查询。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Linux 性能分析 ## 目标 用低侵入方式定位 Linux 性能瓶颈。 先看系统整体压力,再下钻到 CPU、内存、I/O、网络和具体进程,最后明确瓶颈子系统、内核态/应用态归因,以及主要触发进程。 ## 何时使用 - Linux 主机运行缓慢、卡顿、过载、延迟高 - 平均负载高、CPU 使用率异常、CPU 主频异常降低、I/O 等待高 - 内存紧张、频繁交换内存、OOM、主缺页异常 - 磁盘读写慢、文件系统满、inode 耗尽、进程阻塞在 I/O - 丢包、重传、连接堆积、超时、网络吞吐或延迟异常 - 用户只提供了命令输出,需要基于现有证据判断瓶颈 ## 何时不要使用 - 问题不是 Linux 主机或容器运行时性能问题 - 用户只是在问某个命令的语法,不需要做诊断 - 已经明确是业务代码逻辑缺陷,应优先用系统化排查 ## 安全级别 默认使用最低侵入方式,尤其是生产环境。 - L1:默认,只读、低开销观察,例如 `uptime`、`top`、`vmstat`、`iostat`、`ss` - L2:短时间采样,有明确时长和目标,例如 `pidstat 1 3` - L3:附加进程、追踪、抓包、eBPF、主动压测,例如 `perf`、`strace`、`tcpdump`、`iperf3` 执行 L3 前必须先确认: 1. 主机是否生产环境 2. 采样时间窗口 3. 预期风险或开销 4. 明确的持续时间、数据包数量或样本上限 ## 基本流程 1. 明确症状、时间窗口、影响范围 2. 复用用户已有输出;不足时先补轻量基线 3. 横向检查 CPU、内存、I/O、网络,避免只盯第一个异常指标 4. 对可疑子系统从系统级下钻到进程、线程、设备、套接字 5. 判断主要瓶颈在内核态还是应用态 6. 给出证据、结论、下一条最能减少不确定性的命令 ## 基线 优先从这些只读命令开始: ```bash uname -a uptime top -b -n 1 vmstat 1 5 pidstat 1 3 ``` 如果某个方向已经明显异常,再读取对应参考: - CPU:[references/cpu.md](references/cpu.md) - 内存:[references/memory.md](references/memory.md) - I/O:[references/io.md](references/io.md) - 网络:[references/network.md](references/network.md) - 报告模板:[references/report-template.md](references/report-template.md) ## 判断规则 …
Read the whole file at its exact version.
How to install
mdr add jimyag/dotfiles/linux-performance-analysis@sha256:0f8200d1006faa07The line at the top of this page pins the label git:20260905.751659e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_fv6eiuuon3xmtxui)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 10, 2026 and Sep 5, 2026, about one every 26 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260905.751659e latest | 2026-09-05 | 751659e | 3,970 B | A | view · diff |
| git:20260810.2f916d1 | 2026-08-10 | 2f916d1 | 4,049 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3970 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
jimyag/dotfiles · 11 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_fv6eiuuon3xmtxui GET https://markdownregistry.com/api/v1/resolve?ref=jimyag/dotfiles/linux-performance-analysis GET https://markdownregistry.com/api/v1/blob/0f8200d1006faa076a348a6e521b422f38172e8e395184672d8572a9259b3820
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.