Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

server-log-analysis-en服务器日志分析 en

Agent Skill

server-log-analysis-en 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,611

周安装

227

GitHub Stars

公开资料未说明

下载量

1,762
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:server-log-analysis-en(服务器日志分析 en)
来源仓库:https://github.com/hgvgfgvh/server-log-analysis-en
安装命令:
openclaw skills install server-log-analysis-en
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install server-log-analysis-en

简介

远程读取服务器日志片段并下载至本地进行分析。server-log-analysis-en 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 通过 config.yaml 动态识别服务元数据与日志路径。
  • 仅提取相关时段日志,减少传输开销与处理负担。
  • 依赖 SSH 连接,需预先配置密钥认证与防火墙放行。
  • 输出格式为纯文本,便于后续用 grep、awk 等工具加工。

SKILL.md

name
server-log-analysis
description
Connect to remote servers over SSH, read sibling config.yaml to understand service metadata and log locations, download only required log snippets to local temp for analysis, and diagnose issues from evidence. Use when users ask to troubleshoot remote service logs, investigate backend exceptions, or perform SSH-based log diagnostics.

Server Log Analysis

Purpose

Use this Skill to investigate service issues when logs are stored on remote servers.

This Skill assumes:

  • The agent can connect to servers via SSH or equivalent remote execution tooling.
  • config.yaml in this Skill directory defines service metadata, log paths, and business context.
  • Before deep analysis, relevant log snippets should be copied to local temp/ first.

Required Reading

  • Read config.yaml first.
  • Read reference.md when field details or command patterns are needed.

Core Workflow

  1. Read config.yaml.
  2. Map the user issue to one or more configured services.
  3. Define the smallest necessary investigation scope:

- target service - target host - relevant time window - candidate log files

  1. Connect to the target server via SSH or available remote tools.
  2. Perform remote checks before downloading:

- file existence and file size - last modified time - whether keyword filtering or tail output is sufficient

  1. Download only minimal required log snippets to configured local temp/.
  2. Analyze local copies for errors, timing correlation, repeated failures, and likely root cause.
  3. Output concise diagnosis with conclusions, evidence, uncertainty, and follow-up actions.

Investigation Rules

  • Prioritize service definitions and business context in config.yaml; do not guess.
  • Prefer remote filtering before full download:

- narrow time window first - then filter by keywords - use tail first for recent incidents

  • Download full logs only when snippets are insufficient.
  • Local filenames should clearly include service, host, and time range.
  • Unless explicitly requested, do not fetch sensitive files, binaries, or unrelated large archives.
  • For cross-service issues, analyze primary service first, then expand to dependencies.

Service Selection

When user intent is ambiguous:

  1. Use service aliases, keywords, and description in config.yaml.
  2. Pick the service with the highest semantic match.
  3. If still unclear, ask the user which service to inspect before remote connection.

Remote Pre-Check Checklist

Before downloading logs, confirm:

  • host configuration matches target service
  • configured log files exist
  • which log file was updated most recently
  • whether rolling logs must be included
  • whether issue is recent or historical

Common remote checks include:

  • file metadata checks
  • recent log tail checks
  • quick keyword search
  • time-window extraction
  • process/service status when needed

Local Download Rules

Store downloaded logs under configured local_temp_dir.

Recommended filename format:

<service>__<host>__<log_name>__<time_hint>.log

Priority order:

  1. recent tail logs
  2. keyword-filtered snippets
  3. explicit time-window snippets
  4. full file as last resort

Analysis Focus

Focus on:

  • startup failures
  • repeated exceptions
  • timeout and connection issues
  • resource pressure signals
  • failures in DB/cache/message queue/DNS/HTTP upstream dependencies
  • config errors exposed by stack traces or startup logs
  • timestamp alignment across related services

The response should include:

  • issue summary
  • key evidence
  • preliminary cause
  • confidence level
  • next verification steps

Security Constraints

  • Treat config.yaml as operations metadata; do not store plaintext secrets.
  • Prefer environment variables, key files, or external secret managers for SSH credentials.
  • Unless explicitly requested, do not modify remote files or restart services.
  • Unless requested, do not auto-delete downloaded logs.

Exception Handling

If remote access fails:

  1. Clearly state which step failed.
  2. State target host and service.
  3. Ask user for correct SSH access method, network path, or credentials.

If configured log path does not exist:

  1. Clearly identify missing path.
  2. Check whether alternate paths are configured for the same service.
  3. Ask user whether deployment paths changed.

Quick Execution Order

Always follow this order:

  1. Read config.yaml.
  2. Identify service and host.
  3. Perform remote log pre-checks.
  4. Copy minimal required logs to temp/.
  5. Analyze locally.
  6. Summarize conclusions with evidence.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.89%
按下载量换算1,654

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills