๐ฆ ClawHub
Session Log Analyzer
by @terrycarter1985
Analyze agent session logs and generate PDF reports with Notion sync
TERMINAL
clawhub install session-log-analyzer๐ About This Skill
name: session-log-analyzer description: Analyze agent session logs and generate PDF reports with Notion sync version: 1.2.0 author: ClawdBot tags: [logs, analysis, pdf, notion] requires_bins: [python3] requires_env: [NOTION_API_KEY, NOTION_REPORTS_DB_ID] requires_config: [] changelog: - version: 1.2.0 date: 2026-05-07 changes: "ไฟฎๅคๆฅๅฟๅๆๆฅๅ็ๆๅNotionๅๆญฅ้ฎ้ข" - version: 1.1.0 date: 2026-05-07 changes: "ไฟฎๅคๆฅๅฟๅๆๆฅๅ็ๆๅNotionๅๆญฅ้ฎ้ข" - version: 1.0.0 date: 2026-04-01 changes: "Initial release"
Session Log Analyzer
Analyze agent session logs and generate PDF reports with optional Notion sync.
Features
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
Configuration
| Variable | Required | Description |
|---|---|---|
| NOTION_API_KEY | For sync | Notion integration token |
| NOTION_REPORTS_DB_ID | For sync | Target Notion database ID |
Notes
event, session_id, skill_used, success, and duration fieldspdfs/session_analysis_report.pdf๐ก Examples
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
โ๏ธ Configuration
| Variable | Required | Description |
|---|---|---|
| NOTION_API_KEY | For sync | Notion integration token |
| NOTION_REPORTS_DB_ID | For sync | Target Notion database ID |
๐ Tips & Best Practices
event, session_id, skill_used, success, and duration fieldspdfs/session_analysis_report.pdf