Rechercher

PythonReactSEOPDF
OpenClaw

clawdscan

Diagnose Clawdbot/OpenClaw health — session bloat, zombies, stale files, AND skill dependency validation. Zero dependencies, single Python file.

cheenu1092-oss0 installations selon la source☆ 0 Étoiles du dépôtv0.3.0

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install cheenu1092-oss/clawdscan

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

ClawdScan — Session Health Analyzer

🔍 Diagnose bloat, find zombies, reclaim disk space

ClawdScan is a zero-dependency Python CLI that analyzes Clawdbot/OpenClaw session JSONL files to identify bloated sessions, zombies, stale files, and provides actionable cleanup recommendations.

Features

  • Session Health Analysis - Detect bloated sessions, high message counts, disk usage patterns
  • Zombie Detection - Find sessions created but never used
  • Stale Session Identification - Identify sessions inactive for configurable periods
  • Tool Usage Analytics - Track which tools are being used and how frequently
  • Model Usage Patterns - Monitor model switching and usage trends
  • Disk Space Management - Breakdown of storage usage by agent and session
  • Automatic Cleanup - Safe archive and deletion of problematic sessions
  • Trend Tracking - Historical analysis of session health over time
  • Heartbeat Integration - Automated monitoring and alerts

Installation

As Clawdbot Skill
clawdbot skill install clawdscan
Standalone
chmod +x clawdscan.py
./clawdscan.py --help

Quick Start

# Full health scan
clawdscan scan

# Top 10 largest sessions
clawdscan top -n 10

# Clean up zombie sessions
clawdscan clean --zombies --execute

# View recent trends
clawdscan history --days 7

Commands

scan - Full Health Scan

Comprehensive analysis of all Clawdbot sessions.

clawdscan scan [--json output.json]

# Examples
clawdscan scan                    # Console output
clawdscan scan --json report.json # Save as JSON

Output includes:

  • Total sessions and disk usage
  • Bloated sessions (>1MB or >300 messages)
  • Zombie sessions (created but unused)
  • Stale sessions (inactive >7 days)
  • Top sessions by size and messages
  • Cleanup recommendations
top - Top Sessions

Show largest sessions by size or message count.

clawdscan top [-n COUNT] [--sort {size|messages}]

# Exam...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/cheenu1092-oss/clawdscan
Version
0.3.0
Commit
27ac0629b8c9d37f2b61e66bbc1b1c7d40492c7e
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

README

ClawdScan - Clawdbot Session Health Analyzer 🔍

A comprehensive diagnostic tool for Clawdbot sessions. Analyze JSONL session files to identify performance issues, bloated sessions, zombie processes, and get actionable cleanup recommendations.

Features

  • 🔍 Session Health Analysis - Detect bloated sessions, high message counts, disk usage patterns
  • 💀 Zombie Detection - Find sessions created but never used
  • 🗓️ Stale Session Identification - Identify sessions inactive for configurable periods
  • 📊 Tool Usage Analytics - Track which tools are being used and how frequently
  • 🤖 Model Usage Patterns - Monitor model switching and usage trends
  • 💾 Disk Space Management - Breakdown of storage usage by agent and session
  • 🧹 Automatic Cleanup - Safe archive and deletion of problematic sessions
  • 📈 Trend Tracking - Historical analysis of session health over time
  • 💓 Heartbeat Integration - Automated monitoring and alerts

Quick Start

# Install as Clawdbot skill
clawdbot skill install clawdscan

# Or run standalone
chmod +x clawdscan.py
./clawdscan.py scan

Example Output

🔍 ClawdScan v0.1.0 — Clawdbot Session Health Analysis
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📊 Overview
  Total Sessions: 42
  Total Size: 23.4 MB
  Agents: main(38), dj(4)

⚠️  Issues Found
  🔥 Bloated: 3 sessions (>1MB or >300 msgs)
  💀 Zombies: 2 sessions (created but unused)  
  🗓️  Stale: 7 sessions (inactive >7 days)

🔝 Top Sessions by Size
  1. main-20240108-143022  4.2 MB  (1,247 msgs)
  2. main-20240107-091534  2.8 MB  (892 msgs)
  3. dj-20240105-220145    1.9 MB  (734 msgs)

💡 Recommendations
  • Archive 2 zombie s...

Contenu extrait

SKILL.md
# ClawdScan — Session Health Analyzer

> 🔍 Diagnose bloat, find zombies, reclaim disk space

ClawdScan is a zero-dependency Python CLI that analyzes Clawdbot/OpenClaw session JSONL files to identify bloated sessions, zombies, stale files, and provides actionable cleanup recommendations.

## Features

- **Session Health Analysis** - Detect bloated sessions, high message counts, disk usage patterns
- **Zombie Detection** - Find sessions created but never used
- **Stale Session Identification** - Identify sessions inactive for configurable periods  
- **Tool Usage Analytics** - Track which tools are being used and how frequently
- **Model Usage Patterns** - Monitor model switching and usage trends
- **Disk Space Management** - Breakdown of storage usage by agent and session
- **Automatic Cleanup** - Safe archive and deletion of problematic sessions
- **Trend Tracking** - Historical analysis of session health over time
- **Heartbeat Integration** - Automated monitoring and alerts

## Installation

### As Clawdbot Skill
```bash
clawdbot skill install clawdscan
```

### Standalone
```bash
chmod +x clawdscan.py
./clawdscan.py --help
```

## Quick Start

```bash
# Full health scan
clawdscan scan

# Top 10 largest sessions
clawdscan top -n 10

# Clean up zombie sessions
clawdscan clean --zombies --execute

# View recent trends
clawdscan history --days 7
```

## Commands

### `scan` - Full Health Scan
Comprehensive analysis of all Clawdbot sessions.

```bash
clawdscan scan [--json output.json]

# Examples
clawdscan scan                    # Console output
clawdscan scan --json report.json # Save as JSON
```

**Output includes:**
- Total sessions and disk usage
- Bloated sessions (>1MB or >300 messages)
- Zombie sessions (created but unused)
- Stale sessions (inactive >7 days)
- Top sessions by size and messages
- Cleanup recommendations

### `top` - Top Sessions
Show largest sessions by size or message count.

```bash
clawdscan top [-n COUNT] [--sort {size|messages}]

# Exam...
README
<p align="center">
  <img src="assets/logo.png" alt="clawdscan logo" width="200" />
</p>

<p align="center">[![ClawHub](https://img.shields.io/badge/ClawHub-clawdscan-teal)](https://clawhub.ai/skills/clawdscan)</p>
<p align="center">**Install via ClawHub:** `clawhub install clawdscan`</p>

# ClawdScan - Clawdbot Session Health Analyzer 🔍

A comprehensive diagnostic tool for Clawdbot sessions. Analyze JSONL session files to identify performance issues, bloated sessions, zombie processes, and get actionable cleanup recommendations.

## Features

- 🔍 **Session Health Analysis** - Detect bloated sessions, high message counts, disk usage patterns
- 💀 **Zombie Detection** - Find sessions created but never used  
- 🗓️ **Stale Session Identification** - Identify sessions inactive for configurable periods
- 📊 **Tool Usage Analytics** - Track which tools are being used and how frequently
- 🤖 **Model Usage Patterns** - Monitor model switching and usage trends
- 💾 **Disk Space Management** - Breakdown of storage usage by agent and session
- 🧹 **Automatic Cleanup** - Safe archive and deletion of problematic sessions
- 📈 **Trend Tracking** - Historical analysis of session health over time
- 💓 **Heartbeat Integration** - Automated monitoring and alerts

## Quick Start

```bash
# Install as Clawdbot skill
clawdbot skill install clawdscan

# Or run standalone
chmod +x clawdscan.py
./clawdscan.py scan
```

## Example Output

```
🔍 ClawdScan v0.1.0 — Clawdbot Session Health Analysis
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📊 Overview
  Total Sessions: 42
  Total Size: 23.4 MB
  Agents: main(38), dj(4)

⚠️  Issues Found
  🔥 Bloated: 3 sessions (>1MB or >300 msgs)
  💀 Zombies: 2 sessions (created but unused)  
  🗓️  Stale: 7 sessions (inactive >7 days)

🔝 Top Sessions by Size
  1. main-20240108-143022  4.2 MB  (1,247 msgs)
  2. main-20240107-091534  2.8 MB  (892 msgs)
  3. dj-20240105-220145    1.9 MB  (734 msgs)

💡 Recommendations
  • Archive 2 zombie s...

Skills associés

OpenClaw

xint

0xnyk

X Intelligence CLI — search, monitor, analyze, and engage on X/Twitter. TypeScript + Bun. AI agent skill.

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

flightclaw

jackculpan

Track flight prices from Google Flights with this OpenClaw skill. Search routes, monitor prices, and get alerts when prices drop.

OpenClaw

openclaw-trading-assistant

openclaw-trade

openclaw trading assistant| openclaw trading skill | nof1.ai & openclaw [moltbot] collaboration | We get the best practices from alpha arena trading seasons and bring it to clawdbot All top AI agents, realtime...