← 返回 Skills 市场
honestqiao

Log Anomaly Detector

作者 HonestQiao · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
633
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install log-anomaly-detector
功能描述
智能实时分析日志文件,识别错误、警告、安全威胁和性能问题,并提供异常检测与优化建议。
使用说明 (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": [
    "错误数量过多,建议设置告警",
    "检测到多次登录失败,建议检查安全"
  ]
}
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install log-anomaly-detector
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /log-anomaly-detector 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Log Anomaly Detector: - 实时分析日志文件,检测异常、错误、性能瓶颈及安全威胁 - 支持错误、警告和性能问题的自动识别 - 提供智能建议以优化故障响应和安全 - 预设触发关键词,方便快速启动分析
元数据
Slug log-anomaly-detector
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Log Anomaly Detector 是什么?

智能实时分析日志文件,识别错误、警告、安全威胁和性能问题,并提供异常检测与优化建议。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 633 次。

如何安装 Log Anomaly Detector?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install log-anomaly-detector」即可一键安装,无需额外配置。

Log Anomaly Detector 是免费的吗?

是的,Log Anomaly Detector 完全免费(开源免费),可自由下载、安装和使用。

Log Anomaly Detector 支持哪些平台?

Log Anomaly Detector 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Log Anomaly Detector?

由 HonestQiao(@honestqiao)开发并维护,当前版本 v1.0.0。

💬 留言讨论