← Back to Skills Marketplace
Log Anomaly Detector
by
HonestQiao
· GitHub ↗
· v1.0.0
633
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install log-anomaly-detector
Description
智能实时分析日志文件,识别错误、警告、安全威胁和性能问题,并提供异常检测与优化建议。
README (SKILL.md)
Log Anomaly Detector
智能分析日志文件,检测异常模式、错误趋势和性能问题。
功能
- 实时日志分析
- 错误模式识别 (ERROR, FATAL, Exception)
- 警告检测 (WARN, Warning)
- 性能瓶颈识别 (slow, timeout, latency)
- 安全威胁检测 (unauthorized, forbidden, injection)
- 智能建议生成
触发词
- "分析日志"
- "日志异常"
- "日志错误"
- "log analysis"
- "error detection"
实现逻辑
分析日志文件,识别以下模式:
- 错误频率统计
- 异常时间序列
- 性能下降趋势
- 安全告警
输出示例
{
"errors": [{"line": "...", "timestamp": "..."}],
"warnings": [...],
"anomalies": [...],
"recommendations": [
"错误数量过多,建议设置告警",
"检测到多次登录失败,建议检查安全"
]
}
Usage Guidance
This skill appears coherent for log analysis and does not request credentials or installs, but exercise normal caution: logs often contain sensitive data (PII, credentials, tokens). Before using, verify how your agent will supply logs — avoid sending raw production logs to third-party services or models. If you intend to run the JavaScript example, note it is incomplete (extractTimestamp undefined) and has a regex /g state bug; fix those issues and sanitize logs to remove secrets before use. If you need higher assurance, ask the maintainer for a complete, signed implementation or run the logic locally in a sandbox with non-sensitive sample logs.
Capability Analysis
Type: OpenClaw Skill
Name: log-anomaly-detector
Version: 1.0.0
The skill is designed to analyze log content provided as an input string, identifying error, warning, performance, and security patterns. The `SKILL.md` and `skill.yaml` files clearly describe this functionality without any prompt injection attempts or instructions for malicious behavior. The JavaScript code operates strictly on the `logs` input parameter and does not attempt to access the file system, network, or execute external commands. While the code snippet in `skill.yaml` references an undefined `extractTimestamp` function, this is a functional bug rather than a security vulnerability or malicious intent, as it does not introduce any exploitable behavior or risky capabilities.
Capability Assessment
Purpose & Capability
Name/description (log anomaly detection) align with the triggers, SKILL.md, and skill.yaml. The skill does not request unrelated binaries, environment variables, or config paths.
Instruction Scope
SKILL.md and skill.yaml describe analyzing log text and pattern-matching for errors, warnings, performance and security keywords — this stays within the stated purpose. The JavaScript pseudo-implementation is embedded in skill.yaml but is incomplete (calls extractTimestamp which is not provided) and has a correctness issue: the regexes use the global flag (/g) while using RegExp.test inside a loop, which can produce intermittent misses because .test with /g is stateful. These are quality/robustness problems, not evidence of malicious behavior. The instructions do not direct reading arbitrary system files or exfiltration.
Install Mechanism
No install spec and no code files to be written or downloaded; instruction-only skills are lower risk from installation perspective.
Credentials
The skill does not request any environment variables, credentials, or config paths — proportional for an analysis-only helper.
Persistence & Privilege
always:false and normal invocation settings. The skill does not request persistent system privileges or modify other skills' settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install log-anomaly-detector - After installation, invoke the skill by name or use
/log-anomaly-detector - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of Log Anomaly Detector:
- 实时分析日志文件,检测异常、错误、性能瓶颈及安全威胁
- 支持错误、警告和性能问题的自动识别
- 提供智能建议以优化故障响应和安全
- 预设触发关键词,方便快速启动分析
Metadata
Frequently Asked Questions
What is Log Anomaly Detector?
智能实时分析日志文件,识别错误、警告、安全威胁和性能问题,并提供异常检测与优化建议。 It is an AI Agent Skill for Claude Code / OpenClaw, with 633 downloads so far.
How do I install Log Anomaly Detector?
Run "/install log-anomaly-detector" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Log Anomaly Detector free?
Yes, Log Anomaly Detector is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Log Anomaly Detector support?
Log Anomaly Detector is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Log Anomaly Detector?
It is built and maintained by HonestQiao (@honestqiao); the current version is v1.0.0.
More Skills