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 AI-Shell-Team/aish --skill sosreport-analyzergit clone --depth 1 https://github.com/AI-Shell-Team/aishWrote 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/ai-shell-team/aish/sosreport-analyzer)<a href="https://agentmods.dev/skills/ai-shell-team/aish/sosreport-analyzer"><img src="https://agentmods.dev/badge/skills/ai-shell-team/aish/sosreport-analyzer/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/ai-shell-team/aish/sosreport-analyzer"><img src="https://agentmods.dev/badge/skills/ai-shell-team/aish/sosreport-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 5 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 329 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high YARA Match · line 331 YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
- medium analysis-evasion · line 1 Suspicious Unicode normalization or mixed-script contentFix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
- medium Privilege Escalation · line 721 Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
- medium Privilege Escalation · line 724 Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
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.00030 | $0.04928 |
| Opus 5.5 | $0.00012 | $0.01971 |
| Sonnet 5.5 | $0.00006 | $0.00986 |
| Haiku 4.5 | $0.00003 | $0.00493 |
Grade B, and why
sosreport-analyzer scanned grade B with 1 finding 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 3mo 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt install sysstat smartmontools How it starts
The opening of the file, as written. The whole thing — 741 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SOS Report Analyzer Skill
📋 功能概述
自动收集 Linux 系统的配置、日志、性能数据,并进行智能分析和问题诊断。
核心能力:
- ✅ 跨发行版兼容(Debian/Ubuntu/RHEL/CentOS/Fedora)
- ✅ 系统信息收集(硬件、内核、发行版)
- ✅ 日志聚合与分析(systemd、syslog、应用日志)
- ✅ 网络配置诊断(接口、路由、防火墙、DNS)
- ✅ 存储状态检查(磁盘、LVM、文件系统、挂载点)
- ✅ 服务状态监控(systemd units、进程树)
- ✅ 性能数据采集(CPU、内存、I/O、网络)
- ✅ 安全配置审计(SELinux/AppArmor、防火墙、审计日志)
- ✅ 智能问题检测与建议
🎯 使用场景
场景1:生产环境故障排查
用户: 生产服务器响应缓慢,帮我做个系统诊断
助手: 我将使用 sosreport-analyzer 收集系统数据...
[执行数据收集]
[分析报告]
发现问题:
1. CPU iowait 高达 45%,磁盘 /dev/sda 存在性能瓶颈
2. 内存使用 92%,swap 频繁使用
3. systemd-journald 服务占用 2GB 日志空间
场景2:系统健康检查
用户: 定期巡检,生成系统健康报告
助手: 正在收集系统状态...
[生成 HTML/Markdown 报告]
场景3:迁移前评估
用户: 准备将 deepin 迁移到 UOS,先做个系统扫描
助手: 扫描兼容性问题...
[检测内核模块、配置文件、软件包兼容性]
📊 数据收集模块
1. 系统基础信息(System Overview)
收集内容:
# 发行版信息
- /etc/os-release
- lsb_release -a
- uname -a
# 硬件信息
- lscpu (CPU 架构、核心数、NUMA 拓扑)
- lsmem (内存配置、分布)
- dmidecode (BIOS、主板、硬件序列号)
- lspci (PCI 设备)
- lsusb (USB 设备)
- lsblk (块设备)
# 虚拟化检测
- systemd-detect-virt
- virt-what
分析重点:
- CPU 型号、频率、漏洞缓解状态
- 内存容量、NUMA 节点分布
- 虚拟化平台识别(KVM、VMware、AWS、Azure)
2. 内核与启动(Kernel & Boot)
收集内容:
# 内核信息
- uname -r
- cat /proc/cmdline
- cat /proc/version
- lsmod (已加载模块)
- dmesg (启动日志)
# 启动配置
- /boot/grub*/grub.cfg
- /etc/default/grub
- systemctl list-jobs
- systemd-analyze blame (启动时间分析)
分析重点:
- 内核 taint 状态(污染模块)
- 启动参数异常(如 nomodeset、quiet)
- 启动性能瓶颈服务
3. 日志聚合(Logging)
收集内容:
# Systemd Journal
- journalctl --no-pager --since "7 days ago" -p err
- journalctl --disk-usage
- journalctl -u <critical-services> --since "24 hours ago"
# 传统日志(如果存在)
- /var/log/messages (RHEL)
- /var/log/syslog (Debian/Ubuntu)
- /var/log/auth.log
- /var/log/secure
- /var/log/audit/audit.log
# 应用日志
- /var/log/nginx/
- /var/log/apache2/
- /var/log/mysql/
智能分析:
- 错误日志聚合(ERROR、CRITICAL、FATAL)
- 异常模式识别(OOM killer、segfault、I/O errors)
- 重复错误统计(Top 10 错误消息)
- 时间线关联分析
What ships with it
7 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.
- 3mo ago First seen · 741 lines · 30 tokens per session scan B 1f08b5c1437f
sosreport-analyzer is a skill published in the GitHub repository AI-Shell-Team/aish (590 stars, last pushed 4d ago), licensed Apache-2.0. It adds 30 tokens to every session and 4,928 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
sosreport-analyzer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sosreport-analyzerAI-Shell-Team/aish | Skill | 590 | 4d ago | Apache-2.0 | B | 30 | Claude Code, Codex |
| wispr-flow-debugsfc-gh-eraigosa/dotfiles | Skill | 57 | today | Apache-2.0 | A | 87 | Claude Code, Codex |
| flarefreekmurze/dotfiles | Skill | 1.0k | 5d ago | none | A | 78 | Claude Code, Codex |
| web-perffreekmurze/dotfiles | Skill | 1.0k | 5d ago | none | A | 26 | Claude Code, Codex |
| audit-architecturefreekmurze/dotfiles | Skill | 1.0k | 5d ago | none | A | 119 | Claude Code, Codex |
| markdownlint-triageAndrewDongminYoo/cc-agents-kit | Skill | 3 | 2d ago | Apache-2.0 | A | 33 | Claude Code |
| completion-script-generatorcuriositech/windags-skills | Skill | 21 | 3d ago | none | B | 50 | Claude Code |