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 agentmods add skills/ai-shell-team/aish/sosreport-analyzernpx 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.svg" alt="Measured on agentmods" 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.00030 | $0.04928 |
| Opus 5 | $0.00015 | $0.02464 |
| Sonnet 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 6d 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.
- 6d 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 (528 stars, last pushed yesterday), licensed Apache-2.0. It adds 30 tokens to every session and 4,928 once invoked, about $0.0002 per session on Opus 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.
Other skills, from other repositories
completion-script-generator
Generates shell completion scripts for CLI tools. Parses command structure from help output, commander/yargs configs, or manual specification. Produces completions for bash, zsh, and fish that follow each shell's conventions.
taskgo
Maintains a private Git-backed personal project and task control repository using concise current Markdown, derived Git history, ADRs, and status synchronization. Use when tracking tasks, updating project status (STATUS.md), managing ADRs, synchronizing tracker state, delegating tasks to external agents, or generating…
wear-widget
Workflows, checklists, and scripts for reverse-engineering, analyzing, and extracting Wear OS and Android widgets (Glance, AppWidget, ProtoLayout Tiles). Covers manifest declarations, XML configurations, preview asset extraction, and AVD rendering. Use when analyzing APK widget features, extracting widget…
mbo-plan
Plan a new objective end-to-end in this repo's docs/mbo Management-By-Objective system — turn a GitHub issue or a gss draft-PR worktree into consistent design/spec/plan artifacts and track it in docs/mbo/index.md. Use this whenever the user wants to START planning or designing a new feature, skill, CLI, or service…
jetpack
Looks up AndroidX and Jetpack library facts that change between releases: current artifact versions (ALPHA, BETA, RC, STABLE, SNAPSHOT, build IDs), Maven coordinates for classes/packages, direct dependencies, and published source code. Use when looking up AndroidX/Jetpack library versions, finding Maven coordinates…
emumanager
Manages Android SDKs, system images, emulators, and Android Virtual Devices (AVDs). Provides workflows for bootstrapping the SDK, downloading images, and creating, starting, or stopping AVDs across mobile, Wear OS, TV, and Automotive form factors. Use when setting up Android SDK tools, launching or debugging…