skills/log-analyzer/SKILL.md
日志分析器。智能日志分析。多源日志聚合、异常模式识别、根因分析与告警规则配置 Keywords: 日志分析, log analysis, 异常检测, 运维监控.
npx skillsauth add alter123-zz/RaccoonClaw log-analyzerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
智能日志分析。多源日志聚合、异常模式识别、根因分析与告警规则配置 适用于分析应用错误日志等场景。
适用场景:
不适用场景:
触发关键词: 日志分析, log analysis, 异常检测, 运维监控
pip install pandas regex
⚠️ 首次使用前请确认依赖已安装,否则脚本将无法运行。
多源聚合——应用/系统/网络日志统一分析
模式识别——异常频率/错误聚类/趋势检测
告警配置——自定义规则与通知渠道
| 命令 | 说明 | 用法 |
|------|------|------|
| analyze | 分析日志 | python3 scripts/log_analyzer_tool.py analyze [参数] |
| pattern | 模式识别 | python3 scripts/log_analyzer_tool.py pattern [参数] |
| alert | 配置告警 | python3 scripts/log_analyzer_tool.py alert [参数] |
目标:分析应用日志
为什么这一步重要:这是整个工作流的数据采集/初始化阶段,确保后续步骤基于准确的输入。
执行:
python3 scripts/log_analyzer_tool.py analyze --file app.log --level error --last 1h
检查点:确认输出包含预期数据,无报错信息。
目标:识别异常模式
为什么这一步重要:核心处理阶段,将原始数据转化为有价值的输出。
执行:
python3 scripts/log_analyzer_tool.py pattern --file app.log --detect anomaly
检查点:确认生成结果格式正确,内容完整。
目标:设置错误告警
为什么这一步重要:最终输出阶段,将处理结果以可用的形式呈现。
执行:
python3 scripts/log_analyzer_tool.py alert --rule 'error_rate > 5%' --notify slack
检查点:确认最终输出符合预期格式和质量标准。
pip install pandas regex# 📊 日志分析器报告
**生成时间**: YYYY-MM-DD HH:MM
## 核心发现
1. [关键发现1]
2. [关键发现2]
3. [关键发现3]
## 数据概览
| 指标 | 数值 | 趋势 | 评级 |
|------|------|------|------|
| 指标A | XXX | ↑ | ⭐⭐⭐⭐ |
| 指标B | YYY | → | ⭐⭐⭐ |
## 详细分析
[基于实际数据的多维度分析内容]
## 行动建议
| 优先级 | 建议 | 预期效果 |
|--------|------|----------|
| 🔴 高 | [具体建议] | [量化预期] |
| 🟡 中 | [具体建议] | [量化预期] |
pip install pandas regexdevelopment
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
tools
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
tools
天气顾问。智能天气顾问。实时天气查询、未来7天预报、穿衣建议与出行活动推荐 Keywords: 天气查询, weather, 穿衣建议, 出行提醒.