← Back to Skills Marketplace
server-log-analyzer
by
chengaojian
· GitHub ↗
· v1.0.0
· MIT-0
95
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install server-log-analyzer
Description
Analyzes server log files to detect problems, extract performance metrics, and provide troubleshooting insights. Triggers: "analyze logs", "log analysis", "c...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install server-log-analyzer - After installation, invoke the skill by name or use
/server-log-analyzer - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is server-log-analyzer?
Analyzes server log files to detect problems, extract performance metrics, and provide troubleshooting insights. Triggers: "analyze logs", "log analysis", "c... It is an AI Agent Skill for Claude Code / OpenClaw, with 95 downloads so far.
How do I install server-log-analyzer?
Run "/install server-log-analyzer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is server-log-analyzer free?
Yes, server-log-analyzer is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does server-log-analyzer support?
server-log-analyzer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created server-log-analyzer?
It is built and maintained by chengaojian (@chengaojian); the current version is v1.0.0.
More Skills