← 返回
未分类 Key

Session Log Analyzer

Analyze agent session logs and generate PDF reports with Notion sync
分析智能体会话日志,生成PDF报告并同步至Notion
terrycarter1985
未分类 clawhub v99.1.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 515
下载
💾 0
安装
1
版本
#latest

概述

Session Log Analyzer

Analyze agent session logs and generate PDF reports with optional Notion sync.

Features

  • Parse JSONL session logs and compute statistics
  • Generate PDF analysis reports with skill usage breakdown and error summaries
  • Sync generated reports to a Notion database

Usage

Generate Report

PYTHONPATH=./lib python3 scripts/analyze_logs.py

Sync to Notion

Set environment variables first:

export NOTION_API_KEY="your-integration-token"
export NOTION_REPORTS_DB_ID="your-database-id"
PYTHONPATH=./lib python3 scripts/sync_to_notion.py

Report Contents

  • Total sessions count
  • Skill invocation statistics (success/failure rates)
  • Duration totals
  • Per-skill usage breakdown
  • Recent errors listing

Configuration

VariableRequiredDescription
---------
NOTION_API_KEYFor syncNotion integration token
NOTION_REPORTS_DB_IDFor syncTarget Notion database ID

Notes

  • Input logs must be in JSONL format with event, session_id, skill_used, success, and duration fields
  • PDF output is saved to pdfs/session_analysis_report.pdf
  • Notion sync uploads the first 2000 characters of extracted report text

版本历史

共 1 个版本

  • v99.1.0 当前
    2026-05-07 06:33 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Stock Alert Workflow

terrycarter1985
使用 Yahoo Finance 数据分析股票和加密货币,支持投资组合管理(创建、添加、移除资产),以及按市值排名前 20 的加密货币分析。
★ 0 📥 574

Stock Price Alert

terrycarter1985
股价异动实时提醒,支持行情接口、邮件和Sonos语音播报
★ 0 📥 683

Python Support

terrycarter1985
OpenClaw代理的Python语言支持,提供环境配置、依赖管理、代码检查、测试及Python代码执行最佳实践。
★ 0 📥 658