← All skills
Tencent SkillHub · Data Analysis

weixin-xlog-analyzer

解析和分析微信Xlog日志文件,提取关键信息并生成诊断报告;当用户需要分析微信日志、排查故障或统计日志数据时使用

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

解析和分析微信Xlog日志文件,提取关键信息并生成诊断报告;当用户需要分析微信日志、排查故障或统计日志数据时使用

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, scripts/log_analyzer.py, scripts/xlog_parser.py, references/xlog_format.md, references/analysis_guide.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 8 sections Open source page

任务目标

本Skill用于:分析微信Xlog调试日志文件,提取关键信息并辅助问题诊断 能力包含:日志解析、错误提取、统计分析、问题诊断报告生成 触发条件:用户需要分析微信日志、排查故障、统计日志数据或定位问题时

前置准备

Xlog文件准备:用户需提供微信Xlog文件(如已加密,需先使用外部工具解密) 外部解密工具:如需解密Xlog,用户需自行准备QXLog等解密工具(本Skill不包含解密功能) 依赖说明:scripts脚本仅使用Python标准库,无需额外安装依赖包

操作步骤

标准流程: 准备阶段 确认Xlog文件路径(相对路径或绝对路径) 如文件为加密格式,使用外部工具解密得到明文日志 日志解析 调用 scripts/xlog_parser.py <log_file_path> 解析日志文件 脚本会返回结构化的日志数据(JSON格式) 统计分析 调用 scripts/log_analyzer.py <parsed_data_file> 进行统计分析 脚本会返回统计结果(各级别日志数量、错误信息、模块分布等) 问题诊断 根据统计结果和日志内容,智能体分析问题模式 参考 references/analysis_guide.md 中的分析要点 生成诊断报告和改进建议 可选分支: 当仅需提取错误信息:在步骤2后,使用正则表达式过滤ERROR级别日志 当仅需统计特定模块:在步骤3中指定模块名称进行过滤统计

资源索引

必要脚本: scripts/xlog_parser.py:解析日志文件,提取时间戳、级别、模块、消息等结构化数据 scripts/log_analyzer.py:统计分析日志数据,生成统计报告 领域参考: references/xlog_format.md:Xlog文件格式说明和常见日志模式 references/analysis_guide.md:日志分析方法论和诊断要点

注意事项

Xlog文件可能为加密格式,解密需要外部工具支持 日志解析依赖特定的格式模式,如遇格式变化可能需要调整正则表达式 统计分析基于日志级别和模块标签,确保日志输出包含这些信息 大文件处理时注意内存使用,建议分批处理

示例1:基本日志分析

# 解析日志文件 python scripts/xlog_parser.py ./input/xlog.txt -o ./parsed_data.json # 统计分析 python scripts/log_analyzer.py ./parsed_data.json -o ./analysis_result.json

示例2:仅提取错误信息

# 解析日志文件并过滤ERROR级别 python scripts/xlog_parser.py ./input/xlog.txt --level ERROR -o ./errors.json

示例3:特定模块分析

# 统计特定模块的日志 python scripts/log_analyzer.py ./parsed_data.json --module Network -o ./network_analysis.json

Category context

Data access, storage, extraction, analysis, reporting, and insight generation.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
3 Docs2 Scripts
  • SKILL.md Primary doc
  • references/analysis_guide.md Docs
  • references/xlog_format.md Docs
  • scripts/log_analyzer.py Scripts
  • scripts/xlog_parser.py Scripts