Behavior Tracker

Other

Automatically record and analyze user behavior patterns from conversations

Install

openclaw skills install @chefroger/behavior-tracker

behavior-tracker

Automatically record and analyze user behavior patterns

Features

  1. Proactive Recording - Extract key info after each conversation
  2. Periodic Analysis - Daily/weekly auto analyze behavior patterns
  3. Pattern Recognition - Discover interests, active hours, learning habits
  4. Report Generation - Generate visual reports

Trigger Conditions

  • Auto call after each important conversation
  • Cron: Daily 18:00 analysis
  • User request: "analyze my behavior"

Analysis Dimensions

DimensionDescription
topicRecently discussed tech/projects
active_hoursHigh-frequency conversation time periods
communication_styleTask-based/discussion-based/Q&A
learning_modeTheory-oriented/practice-oriented
project_focusLong-term projects of interest

File Structure

behavior-tracker/
├── SKILL.md              # This file
├── scripts/
│   ├── analyzer.py       # Core analysis logic
│   ├── recorder.py       # Manual conversation recorder
│   └── heartbeat_tracker.py  # Lightweight heartbeat tracker
└── references/
    └── .gitkeep

Usage

# Manual analysis run
python3 scripts/analyzer.py

# Record current conversation
python3 scripts/recorder.py --topic "AI Agent" --project "The Machine"

# Run lightweight tracker (for heartbeat)
python3 scripts/heartbeat_tracker.py

Cron Configuration

# Auto analysis daily at 18:00
0 18 * * * python3 ~/.../behavior-tracker/scripts/analyzer.py

Dependencies

  • Python 3.10+
  • No external dependencies (pure stdlib)