← 返回 Skills 市场
server-log-analyzer
作者
chengaojian
· GitHub ↗
· v1.0.0
· MIT-0
95
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install server-log-analyzer
功能描述
Analyzes server log files to detect problems, extract performance metrics, and provide troubleshooting insights. Triggers: "analyze logs", "log analysis", "c...
安全使用建议
This skill appears coherent for local log analysis: it only needs the log file you point it at and uses the Python standard library. Before installing or running it: 1) Review the complete scripts/log_analyzer.py (the provided excerpt was truncated) to confirm there are truly no network calls, subprocess.exec usage, or file writes beyond the output/report. 2) Do not feed sensitive logs (containing PII, secrets, tokens) unless you trust the skill or run it in an isolated environment, since parsed output could contain sensitive data (tracebacks may include file paths and error messages). 3) If you plan to run this in production, run it first on a sample non-sensitive log and/or in a sandbox. If you want, provide the full untruncated script and I'll re-check for any hidden network, exec, or file-exfiltration behaviors to increase confidence.
功能分析
Type: OpenClaw Skill
Name: server-log-analyzer
Version: 1.0.0
The server-log-analyzer skill is a standard utility for parsing and summarizing server logs and Python tracebacks. The primary logic in scripts/log_analyzer.py uses regular expressions to extract performance metrics and error patterns without any dangerous system calls, network activity, or data exfiltration. The SKILL.md and documentation are consistent with the tool's functionality and do not contain any prompt injection attempts or malicious instructions.
能力评估
Purpose & Capability
Name/description (server log analysis, exception tracking, performance metrics) align with the included code (scripts/log_analyzer.py) and the documentation. No unrelated binaries, env vars, or config paths are requested.
Instruction Scope
SKILL.md instructs only to run the provided Python script against a log file. The script reads and parses the supplied log file, extracts tracebacks and paths, and builds a report. It does not (in the inspected portions) access other system files, environment variables, or external endpoints. Note: the ExceptionTracker records file paths found in tracebacks (it filters paths that contain '/home/javanep/' or '/home/' and filters out library paths like 'paddle' and 'phi'), which is project-specific behavior but not in itself malicious.
Install Mechanism
No install spec — instruction-only plus a contained Python script that uses only the standard library. No downloads, package managers, or archive extraction were requested.
Credentials
The skill requires no credentials, no environment variables, and no config paths. The requested resources are proportional to the stated functionality.
Persistence & Privilege
always is false and the skill does not attempt to modify other skills or system-wide settings in the provided materials. No persistence or elevated privileges are requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install server-log-analyzer - 安装完成后,直接呼叫该 Skill 的名称或使用
/server-log-analyzer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of server-log-analyzer:
- Analyzes server log files to detect problems, extract performance metrics, and provide troubleshooting insights.
- Supports logs in format: `[YYYY/MM/DD HH:MM:SS] module.path LEVEL line_number: message`.
- Provides log statistics (INFO, WARNING, ERROR counts, module stats, time range).
- Detects common server issues by severity and known patterns.
- Extracts and summarizes Python exceptions, highlighting user code.
- Calculates performance metrics like TPS and batch processing times, with thresholds for warnings and critical conditions.
- Outputs structured sections: summary, exceptions, performance, issues, and module stats.
- Offers command-line usage with optional JSON output.
元数据
常见问题
server-log-analyzer 是什么?
Analyzes server log files to detect problems, extract performance metrics, and provide troubleshooting insights. Triggers: "analyze logs", "log analysis", "c... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 95 次。
如何安装 server-log-analyzer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install server-log-analyzer」即可一键安装,无需额外配置。
server-log-analyzer 是免费的吗?
是的,server-log-analyzer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
server-log-analyzer 支持哪些平台?
server-log-analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 server-log-analyzer?
由 chengaojian(@chengaojian)开发并维护,当前版本 v1.0.0。
推荐 Skills